blank pages on web server but working fine on localhost !?! - 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 pages on web server but working fine on localhost !?! (/showthread.php?tid=43684) |
blank pages on web server but working fine on localhost !?! - El Forum - 07-20-2011 [eluser]Mowgli[/eluser] Hello, I just got into something i can't figure out by myself. I created a simple blog and everything works just fine when testing on localhost. The weird problem appeared when i uploaded the website on a paid server (justhost). Basically once logged in, the only page i can access while still logged in is admin's area. If i click on something else the sessions is apparently being destroyed and i get blank pages on a few pages. I also get blank page if i click logout (i suppose that's because the session was already destroyed ???). When i click logout, a function within the default controller is being called to destroy the session and redirect me to the index page. The thing is i'm not redirected at all. I simply end up with a completely blank page. Any help would be appreciated. Thanks in advance. blank pages on web server but working fine on localhost !?! - El Forum - 07-20-2011 [eluser]Mowgli[/eluser] [quote author="Mowgli" date="1311172678"]Hello, I just got into something i can't figure out by myself. I created a simple blog and everything works just fine when testing on localhost. The weird problem appeared when i uploaded the website on a paid server (justhost). Basically once logged in, the only page i can access while still logged in is admin's area. If i click on something else the sessions is apparently being destroyed and i get blank pages on a few pages. I also get blank page if i click logout (i suppose that's because the session was already destroyed ???). When i click logout, a function within the default controller is being called to destroy the session and redirect me to the index page. The thing is i'm not redirected at all. I simply end up with a completely blank page. Any help would be appreciated. Thanks in advance.[/quote] Never mind, i figured out, i had to turn on error reporting (error_reporting(E_ALL) The problem was that i added ?> at the end of a helper i created :| |