Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Blank screen when there's an error

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

Page: 1 2
Go to End
Author Topic: 5180 Views
  • barryvanveen
    Avatar
    Community Member
    11 Posts

    Re: Blank screen when there's an error Link to this post

    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.

  • hp777
    Avatar
    Community Member
    10 Posts

    Re: Blank screen when there's an error Link to this post

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

  • Optic Blaze
    Avatar
    Community Member
    162 Posts

    Re: Blank screen when there's an error Link to this post

    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.

    5180 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.