Post by Qphoria » Thu Jan 12, 2012 10:14 pm

[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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by JAY6390 » Fri Jan 13, 2012 3:02 am

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

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 5 guests