Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEED HELP


Guest

Recommended Posts

Posted

Hi All

 

I Installed the osCommerce at my site http://www.mobilclub.net/market

 

 

But i got 2 warnings i tried to fix theme but failed pls help me

 

Warning: I am able to write to the configuration file: /home/virtual/site9/fst/var/www/html/market/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

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

 

 

Thanks in advance

Posted

in both admin/includes/configure.php and catalog/includes/configure.php locate this line of code

 

define('STORE_SESSIONS', '');

and change it to this

define('STORE_SESSIONS', 'mysql');

that should sort out the

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created
then with an ftp program such as ws_ftp connect to the server and locate in turn admin/includes/configure.php and catalog/includes/configure.php right click on the file and select properties then set the permission to CHMOD 644 if you still get the warning then CHMOD 444

 

permission CHMOD 644 is read write owner read for the others

permission CHMOD 444 is read only for all

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

1- chmod to 644 both your catalog and admin/includes/configure.php files

 

2- in both catalog and admin/includes/configure.php files change this:

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

to this:

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

 

The_Bear

Archived

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

×
×
  • Create New...