jump to navigation

Warning: session_save_path(): SAFE MODE Restriction in effect May 4, 2007

Posted by admin in : Simple Issues , add a comment

One of our customers faced this issue

Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is *** is not allowed to access owned by uid ***in /httpd/html/oursite/www/catalog/admin/includes/functions/sessions.php on line 213

Solution :

Fix: Goto Admin / Configuration / Sessions and change the “Sessions Directory” to tmp (no slashes)

If you can’t get into Admin, goto your Database Admin page (usually PhPAdmin app.)
Click on any table on the left hand side.
Click on SQL at the top of the screen
Overtype whatever appears in the SQL window with …
UPDATE configuration SET configuration_value = ‘tmp’ WHERE configuration_key=’SESSION_WRITE_DIRECTORY’

Shipping Module Not storing data ? April 29, 2007

Posted by admin in : Simple Issues , add a comment

The  ”Shipping” module does not SAVE any changes I make to it. I have another shop with a few settings that I wanted to apply to the newly created shop, but it doesn’t work, because it doesn’t remember them at all.

Do you know where the problem can be located?!

SOLUTION :

open your catalog\admin\modules.php locate this code:

CODE
while (list($key, $value) = each($HTTP_POST_VARS[’configuration’])) {

replace it with:CODE
foreach($HTTP_POST_VARS[’configuration’] as $key => $value ) {

Simple !

Setting up Taxes for Ontario, Canada !

Posted by admin in : Simple Issues , add a comment

This is one of our recent customer enquiry for setting up of TAX RATEs for
CANADA Region.

Customer Quotes…

” The taxes properly set so it charges the right amounts to people that are in my province and country, and not to people not applicable to be charged that tax
For Ontario Canada residents :

6% Goods and Services Tax
8% Provincial Sales Tax

For the rest of Canada:
6% Goods and Services Tax

The solution was a simple one. with a module installation.

It CAN work just fine for all the provinces HOWEVER some replacements are necessary. All occurences of PST must be changed to HST if necessary and there are 2 calculations
that need to be changed if your taxes are compounded.

If you want this solution, get in touch with shop@oscommerceindia.com