Welcome Guest, Not a member yet? Register   Sign In
No error on non-writable logs directory?
#1

[eluser]stefanhapper[/eluser]
Do you agree that this is a bug?

It seems that when the system/logs is not writable all controllers display a blank page (or maybe better to say, no page at all) instead of an error.

I am referring to the Forum thread http://ellislab.com/forums/viewthread/71904/

This should at least be put in the "troubleshooting" section of the user guide.
#2

[eluser]Glen Swinfield[/eluser]
Sounds like this is because a critical php error occurs, but you have php ini display_errors set to 'off' so you see a blank page.

In your index.php file put

ini_set('display_errors', 'On');
error_reporting(E_ALL);

Refresh and see if you get a php error - I suspect you are getting an error for a different reason than you think because. I could be wrong.
#3

[eluser]stefanhapper[/eluser]
Glen, thank you for your suggestion.

I tried what you said, but it didn't work, I still get a blank page.

As soon as I make the logs folder writable again, everything works as it should.




Theme © iAndrew 2016 - Forum software by © MyBB