Error Messages You May Encounter in TomatoCart

There is nothing more excited than trying to build your own ecommerce store with TomatoCart FREE. Tens of thousands of people have been installing TomatoCart and customizing it to their own need. Sometimes it can be quite frustrating to get an unexpected error while not being able to find a solution.

Actually, most TomatoCart issues have already got solution there. If you’ve got an error, don’t fret because other TomatoCart user may have had the same problem before and already solved it. The following series of articles will collect common errors reported by TomatoCart users at community forum.

Before finding a solution, you have to understand that an error usually triggers another. This happens. When some part of codes break, the rest codes will probably not work or work improperly. In most cases, it causes a new error, unexpectedly. No need to be confused, the first error is the key.

This article talks about three of the commons errors you may have using TomatoCart, blank page, 500 internal server error and restriction in effect.

Blank page? 500 Internal Server Error?

Blank page is a PHP error when error message isn’t shown because the server is not preset to display that error. 500 Internal Server Error means something has gone wrong but the server cannot specifically state what the problem is.

Both hardly give a clue to what exactly happens, or what files trigger the error. Both pages had better be killed as it affects user visiting experience.

First of all, we need to make the error message displayed. Here is how-to:

  1. Create a php.ini file with codes:

    display_errors = 1;
    error_reporting = E_ALL;
    log_errors = 1;

  2. Upload the php.ini file into the root directory of your web server.

What if your server cannot read the php.ini file? Follow the steps below:

  1. Open includes/application_top.php and find the following codes:

    if (version_compare(PHP_VERSION, ‘5.3.0’) >= 0) {
    error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
    } else {
    error_reporting(E_ALL & ~E_NOTICE);

  2. Add codes below:

    ini_set(‘display_errors’, 1);
    ini_set(‘log_errors’, 1);

  3. When you have fixed the problem, remove the above codes.

With error messages shown in the webpage, it is possible to check what causes the error.

If you need help to correct the error, please feel free to comment or contact me via email I’d love to assist in anything related with TomatoCart technical problems.

Restriction in effect

Have you ever run into the message “SAFE MODE Restriction in effect”? This is a PHP restriction issue, meaning the website server is trying to implement a built-in PHP function but doesn’t have the access. This issue is caused by improper server configuration.

Detailed error message could be:

PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home//public_html/includes/work/configuration.cache) is not within the allowed path(s): (/home3/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home3//public_html/includes/classes/cache.php on line 58

Safe Mode and open_basedir restriction is a server issue. Please ask your host to turn off the restriction.

Or resolve it yourself. Try this:

  1. Create a php.ini file and add code below:safe_mode = Off;
  2. Upload the php.ini file into the root directory of your web server.

If your server cannot read it, put codes below at .htaccess:

php_value safe_mode off

This error could have different error messages while the solution should work to all. Would you be kind enough to leave comments on what various messages you have read (which is greatly welcome)?

Looking for quality TomatoCart Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , | Posted under TomatoCart | RSS 2.0

Author Spotlight

Jack Yin

TomatoCart Developer & Co Founder - Arvixe Web Hosting / TomatoCart Community Liaison

Leave a Reply

Your email address will not be published. Required fields are marked *