Page 1 of 1

[Q] Why do I get a blank white page or ISE 500 on some pages

Posted: Thu Jan 12, 2012 10:14 pm
by Qphoria
[Q] Why do I get a blank white page on some pages?
[Q] Why do I 500 Internal Server Errors?

A:
Blank white pages on php websites typically means php errors that for some reason are not showing because your server isn't setup to display errors.
Here are a few ways to resolve this and see the actual error:
  • Set Display Errors = Yes on the main System->Settings on the Server tab.
  • Set your "Output Compression Level" to 0 in the main System->Settings on the Server tab.
  • Add the following lines to the bottom of your php.ini file:
    display_errors = 1;
    error_reporting = E_ALL;
    log_errors = 1;
If you are still seeing a white page, check for a file called "error_log" in your ftp area usually in the store root (where the store index.php file is).

If you are getting 500 Internal Server Errors (aka ISE 500) then it usually means one of two things.
a. Your htaccess overrides aren't allowed, but you'd know right after a change if this was the case
b. The site is throwing a php error but your site isn't setup to handle it. Following the steps above should resolve ISE 500 errors

Re: [Q] Why do I get a blank white page on some pages

Posted: Fri Jan 13, 2012 3:02 am
by JAY6390
Note that not all servers will read the php.ini file. in this instance, open your index.php file and at the top, below the <?php add

Code: Select all

ini_set('display_errors', 1);
ini_set('log_errors', 1);
error_reporting(E_ALL);
and save