Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error after "successful" configuration


Pink

Recommended Posts

Posted

After a message stating "The configuration was successful!" on the last page of the installation process, I clicked on the Administration button at the bottom of the page.

 

This lead to the following error messages:

 

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

Fatal error: Cannot re-assign $this in C:\apachefriends\xampp\htdocs\xampp\catalog\admin\includes\classes\upload.php on line 31

Warning: Unknown: open(/tmp\sess_937225e9fe4d8f222376b9aa9ab64478, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

 

I am running Windows 2000 Professional and installed Apache, PHP and MySQL using the program XAMPP.

 

For what it's worth, I installed osCommerce in the C:\apachefriends\xampp\htdocs\xampp directory, as I could not get PHP scripts running in any other subdirectory.

 

Help would be greatly appreciated.

Posted

you are using php version 5 most likely, thus you need to comment out on line 31 of admin/.includes/classes/upload.php $this (// $this)

Posted

Also, in both of your configure.php files you should change the last line to read like so

 

define('STORE_SESSIONS', 'mysql');

 

This will remove the need to create a 'tmp' directory to store sessions (the first error in your post) and store them in the database.

 

Vger

Archived

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

×
×
  • Create New...