Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Config Failure???


Specialist

Recommended Posts

Posted

Hello.

 

I've got installed oscommerce (without contribs) and it works.

Now i've installed some contribs and i would like to update the shop but now i have a Server error?

 

Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect. The script whose uid is 26460 is not allowed to access /tmp owned by uid 0 in /home/www/htdocs/2nd/shop/includes/header.php on line 17

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

I hope someone can help me... I use the old configure.php files (both).

Posted

is this version 2.2ms2 or earlier

 

in the configure.php files set

define('STORE_SESSIONS', 'mysql');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

In your configuation file(s) change this line.

 

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

 

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

 

This will store sessions in the db and not the /tmp directory

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...