500 Internal Server Error or Blank White Page

Introduction

The 500 Internal Server Error is a very general HTTP status code meaning something has gone wrong on the server but the server cannot be more specific on what the problem is.
The Blank White Page is the same but, in this case, your server is not setup to display the errors.
The first step you have to do is to try to show the error message so you can understand what are causing this problem.

Showing the errors

Here are the steps you can follow:
  1. Login your administration
  2. Go to System > Settings > Edit yout store
  3. Click on the tab called Server
  4. Set to 0 the Output Compression Level
  5. Check Yes for Display Errors
  6. Click on Save button
  7. Use your favourite programme and open php.ini (in the root of your site)
  8. Add this code
    display_errors = 1;
    error_reporting = E_ALL;
    log_errors = 1;
  9. Save and overwrite to your online installation

Showing the errors: the alternative method

It can happen your server is not setup to read the php.ini
In this case:
  1. Download index.php (n the root of your site) on your local PC
  2. Open this file and add below
    <?php
    	
  3. ini_set('display_errors', 1);
    ini_set('log_errors', 1);
    error_reporting(E_ALL);
    	
  4. Save and overwrite

Note: Do not forget to remove this code once you'll understand and fix the problem.

Help Topics: Support | Last updated 23 Apr 2014

OpenCart Common Errors
other FAQs

  1. 500 Internal Server Error or Blank White Page
  2. Allowed Memory Size Exhausted
  3. Headers already sent
  4. Notice: Undefined index
  5. Notice: Undefined index: count in
  6. Solving vQmod Error 500
  7. vQmod does not work after updating an OpenCart installation
Join our Newsletter!

Please Wait!

Please wait... it will take a second!