Welcome Guest, Not a member yet? Register   Sign In
blank pages on web server but working fine on localhost !?!
#2

[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)Wink
The problem was that i added ?> at the end of a helper i created :|


Messages In This Thread
blank pages on web server but working fine on localhost !?! - by El Forum - 07-20-2011, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB