Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Blank screen when there's an error


Reply

11 Posts   5268 Views

Avatar
barryvanveen

1 August 2010 at 10:45pm Community Member, 11 Posts

Hi all,

I just had the same problem, and even though this is an old thread, I just want to add a posible solution. You can always view the apache error log under linux with "tail -f /var/log/apache2/error.log". I'm not sure if there is a similar file/command for mac or windows... This error log will show the error you are looking for, the custom error logging that Aug suggested is not really working for this problem.

Avatar
hp777

5 January 2011 at 1:58pm Community Member, 10 Posts

On the mac open the console utility and select apache_error_log and or php_error.log

Avatar
Optic Blaze

12 September 2012 at 8:47pm Community Member, 162 Posts

Hi there,

Had the same problem on a shared hosting platform where i was not able to edit php.ini.

Solved the problem by adding the following code to the .htaccess file:

php_flag display_errors on

A word of warning though...you might want to comment it out once you have debugged as it is more secure to not display errors in a live environment.