Help with white screen - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Help with white screen (/showthread.php?tid=54924) |
Help with white screen - El Forum - 10-01-2012 [eluser]hanji[/eluser] Hello All I recently got asked to do some development for a friend's CodeIgniter application. I thought I would get working locally first, and I'm running into some problems. Basically white screen when trying to access the site. Version of CI is 2.0.2 Version of PHP in my development environment: php-5.3.15 Version of PHP in the production environment: php-5.2.17 Initially, I thought it was a syntax error and the message was being suppressed. In my apache vhost, I made sure the following values were set: Code: php_admin_value safe_mode Off I also have the following value set in the config.php: Code: $config['log_threshold'] = 4; This does log, but no info about any errors: Code: DEBUG - 2012-10-01 19:29:22 --> Config Class Initialized Nothing is being reported in the error_log. Adding breakpoints in the code, the problem starts approximately on line 287 of CodeIgniter.php. Code: $CI = new $class(); I can echo a value before that, but not after. The $class value is 'welcome'. This works perfectly in the production environment, so I'm hoping it's something simple like a PHP directive of some sort or config change. I've seen some mention of issues going from 5.2 to 5.3 in PHP, but mainly with URI chars. Seems like my problem could be before that. Thanks for your help! hanji Help with white screen - El Forum - 10-02-2012 [eluser]hanji[/eluser] I found the problem. I do not have mysqli built into my PHP. I don't understand why this doesn't throw a horrible error! I changed the dbdriver to mysql and it's working. I'll rebuild php with mysqli and see if that truly resolves the problem. Thanks! hanji Help with white screen - El Forum - 10-02-2012 [eluser]hanji[/eluser] I tried to update the original post with [SOLVED], but the forum won't allow it (suspecting any of my edits as spam).. weird. h |