Blank page when logging in - 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: Blank page when logging in (/showthread.php?tid=59866) |
Blank page when logging in - El Forum - 12-02-2013 [eluser]cerberus478[/eluser] Hi I'm busy doing a tutorial on HMVC and I've done everything that the tutorial said but when I log in, I go to the "login/validate_credentials" and have a blank page instead of the "site/members_area". I'm using codeiginter 2.1.4 login controller Code: class Login extends MX_Controller { This is the site controller Code: <?php Blank page when logging in - El Forum - 12-02-2013 [eluser]cerberus478[/eluser] I have figured out what was wrong. It wouldn't work because I was missing a } at the end of one of my functions in my membership_model Blank page when logging in - El Forum - 12-02-2013 [eluser]CroNiX[/eluser] Do you have display_errors turned on? That error should be shown to you on a development machine. Blank page when logging in - El Forum - 12-02-2013 [eluser]cerberus478[/eluser] I don't have display_errors turned on. Where in codeigniter is that? Blank page when logging in - El Forum - 12-03-2013 [eluser]Tpojka[/eluser] Code: -application Blank page when logging in - El Forum - 12-03-2013 [eluser]cerberus478[/eluser] greate thanks Blank page when logging in - El Forum - 12-03-2013 [eluser]CroNiX[/eluser] It's not a CI setting, it's a PHP setting. I set it in my ENVIRONMENT section (index.php) so that development environment displays errors and testing and production do not. |