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.
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.
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(); ?>’,
- 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.
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.
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:
It’s restricted to access the two folds by your web server. So, the system thrown the fatal error that result in the issue.
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 firstname.lastname@example.org. We prefer to provide free technical support service for Arvixe users.
Looking for quality web hosting? Look no further than Arvixe Web Hosting!