[TomatoCart] Solution for Two Issues that May Exist in your Store

In this article, I will describe the solutions to solve the following two issues:

Issue 1: TomatoCart Checkout Page Not Working

When the user go to check out one page, the first Billing address tab never loads.

checkout_error

Reason:

The reason is that your web server will always add the extra information into the from that result in the error happened in the script of check one page.

Solution:

Step 1. Go to modules/services/session to set force cookie usage to true.

Step 2. Go to templates/glass_gray/content/checkout/checkout.php.

  • Remove code snippet: sessionName: ‘<?php echo $osC_Session->getName(); ?>’,
  • Remove code snippet: sessionId: ‘<?php echo $osC_Session->getID(); ?>’,

Step3. Go to includes/javascript/checkout.js.

  • Remove code snippet: data[this.options.sessionName] = this.options.sessionId;

If there is the same issue in your store, please apply above changes for your store. In this way, the checkout one page will work perfectly in your web host.

checkout_normal

Issue 2: Problem with file manager

As accessing the file manager module in the admin panel, there isn’t anything shown in the grid. It’s empty.

Snap - 2014-03-28 11:43:48

 

Reason:

It is caused by the following fatal error on your web server:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/clients/client87/web2040/web/log) is not within the allowed path(s): (/var/www/clients/client87/web2040/web:/var/www/clients/client87/web2040/tmp:/usr/share/php5:/usr/share/php) in /var/www/clients/client87/web2040/web/admin/includes/classes/directory_listing.php on line 130

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/clients/client87/web2040/web/public_html) is not within the allowed path(s): (/var/www/clients/client87/web2040/web:/var/www/clients/client87/web2040/tmp:/usr/share/php5:/usr/share/php) in /var/www/clients/client87/web2040/web/admin/includes/classes/directory_listing.php on line 130

As you can see, there are two extra folds in your TomatoCart root directory:

– Log

– public_html

It’s restricted to access the two folds by your web server. So, the system thrown the fatal error that result in the issue.

Solution:

You just need to ensure the restricted folds are writable by your web server. If you set the permission of the folds in your host cpanel or ftp client. If you don’t know how to change the permission, please contact your host provider to solve the issue for you.

It may be difficult for you to apply above changes for your store if you are not a developer. Don’t worry about it. If you need our technical support or assistance for the upgrade, please don’t hesitate to contact us via support@tomatocart.com. We prefer to provide free technical support service for Arvixe users.

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

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

Author Spotlight

Jack Yin

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 *


9 × = 27

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>