Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error/warning messages


preikarm

Recommended Posts

Posted

how can I fix this error/warning messages:

 

Warning: session_start() [function.session-start]: open(/tmp\sess_930e4f357a5d68f14560a60f0c53b3af, O_RDWR) failed: No such file or directory (2) in C:\apachefriends\xampp\htdocs\catalog\includes\functions\sessions.php on line 67

 

Warning: I am able to write to the configuration file: C:/apachefriends/xampp/htdocs/catalog/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.

 

 

 

where is the /tmp file to be created ???

Posted

in a path which you have permissions to on your local system, preferably in your document root area . . it is up to you since you are running windows

Posted

define('STORE_SESSIONS', 'mysql'); //in both of your configure.php files ends the use of session storage in files.

 

Locate the catalog/includes/configure.php file, right click, and select 'Read Only' this solves that problem.

 

As you are using XAMPP you will also get an error message generated when you try to access the admin (as XAMPP uses php5), locate the file upload.php and where it says:

$this=null

 

change it to

 

//$this= null

 

Vger

Archived

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

×
×
  • Create New...