Community Forums

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

Common problems and solutions

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

Postby Qphoria » Thu Jan 12, 2012 2: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 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 Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18200
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

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

Postby JAY6390 » Thu Jan 12, 2012 7:02 pm

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
ImageImageImage

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links


Image
User avatar
JAY6390
 
Posts: 4634
Joined: Wed May 26, 2010 3:47 pm
Location: United Kingdom


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

Hosted by Arvixe Web Hosting