![]() |
500 error when autoload database - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: 500 error when autoload database (/showthread.php?tid=40466) |
500 error when autoload database - El Forum - 04-09-2011 [eluser]Unknown[/eluser] Hi all, I just downloaded CodeIgniter and I was trying to use it first time. I just unzipped it, made the changes needed and the installation worked. But when I changed the config file to autostart database, I get always the 500 error. I searched the forum and looks like more people had the same error. I use the same web server with mysql connections to the same database with no problems at all. IIS 7 PHP Version 5.3.3 Client API version mysqlnd 5.0.7-dev - 091210 - $Revision: 300533 $ Mysql Server version: 5.1.39-community MySQL Community Server (GPL) $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'demo'; $db['default']['password'] = 'password'; $db['default']['database'] = 'demo'; $db['default']['dbdriver'] = 'mysql'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = FALSE; $db['default']['db_debug'] = TRUE; $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ''; $db['default']['char_set'] = 'latin1'; $db['default']['dbcollat'] = 'latin1_general_ci'; $db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; $autoload['libraries'] = array('database'); Can anyone help me out? Hugo 500 error when autoload database - El Forum - 04-09-2011 [eluser]InsiteFX[/eluser] A 500 error is a server error nothing to do with CodeIgniter! Search the forum others have had the same problems with IIS InsiteFX 500 error when autoload database - El Forum - 04-09-2011 [eluser]Unknown[/eluser] Problem solved. I installed lastest version of PHP and mysql and it's already working. |