Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Got some errors please help


skatos

Recommended Posts

Posted

Hi,

Im sorry for the bad error description in topic.

I made a website for a client some months ago... and i installed him oscommerce and set up his little webshop.

He then begann to fill it up with all his stuff...

Everything worked fine...

Now some months later he called me and asked me to fix some errors which appeared...

I don?t know much about oscommerce or mysql... so pls don?t be angry if this is a nub problem... i just somehow managed to set up the shop :)

so here is the error which comes when i open the shop:

 

Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/hosting/webs/home/i16264911) in /hosting/webs/home/i16264911/html/catalog/includes/functions/sessions.php on line 118

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hosting/webs/home/i16264911/html/catalog/includes/functions/sessions.php:118) in /hosting/webs/home/i16264911/html/catalog/includes/functions/sessions.php on line 67

.

.

So plz... can anyone tell me what to do to get rid of those errors ?

the shop still works fine... but it displays those errors on every page.

what am i to do ?

thx verry much in advance.

greets from vienna

/tim

Posted

First off...

 

in catalog/includes/configure.php

 

set the very last line like this:

 

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

That may solve all the problems. Try that first.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

OK, all the errors are related to the location of the /tmp folder although the open_basedir restriction may cause more problems.

 

Create a tmp folder within your webspace, inside the catalog folder is fine.

 

Then in your admin section, under Configuration -> Sessions set that to be the sessions directory.

 

(You don't really have to name the folder tmp, it could be anything but you may as well.)

 

See how you go.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...