Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEW error messages


MatthewMan

Recommended Posts

I somewhat managed to fix the past errors but now even worse errors appeared in every page... at the top this error message showed up

 

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in c:homecatalogincludesfunctionssessions.php on line 4

 

and at the bootom of each page this error message showed up

 

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

 

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

 

 

Also i tried to create an account and this is the hole list of errors it displayed when i clicked DONE

 

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in c:homecatalogincludesfunctionssessions.php on line 4

 

Warning: Failed to Connect in c:homecatalogcreate_account_process.php on line 418

 

Warning: Cannot add header information - headers already sent by (output started at c:homecatalogincludesfunctionssessions.php:4) in c:homecatalogcreate_account_process.php on line 429

 

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

 

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

 

Any help please ?

 

Matthew

Link to comment
Share on other sites

Hi MatthewMan,

 

In the Administration menu, you would find a menu called Cache Directory (under Configuration and Cache), change your files directory there. /tmp would refer to Linux/Unix directory, but since you're using Windows, the path is different, in your case c:whatever.

 

Regards,

Jalil

Please give your rating on OSCommerce at FreebiesCafe.com, a search directory for free scripts, software, services and resources.

Link to comment
Share on other sites

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in c:homecatalogincludesfunctionssessions.php on line 4

 

This is because there is no /tmp directory. Create a c:temp directory and then edit your php.ini file to reflect this.

 

Warning: Failed to Connect in c:homecatalogcreate_account_process.php on line 418

 

This is because you do not have a mail server installed. Install one and configure php.ini correctly.

 

Any help please ?

 

Note: All of these have been asked more than a couple of times before and could of been found by using the search function :)

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

well sorry about that, didn't know....

 

altough the problem was fixed not by editing php.ini but editing application_top.php and added this line

 

define('DIR_FS_CACHE','c:tmp');

 

... but now i do have a huge problem... oscommerce by itself is working ok but i need some edits in it.

 

here it goes....

 

I have a portal which already has a user registration and login and password encryption and i would like that OSC uses the same user table , same cookie to check if the user is logged on etc...

 

This is the encryption my portal uses to store the password in the mysql database

 

$pass2=base64_encode($password);

$insertuser=mysql_query("INSERT INTO users (userid,username,password,firstname,lastname,privliges,email,secretquestion,secr

etanswer,type) VALUES ('$id','$username','$pass2','$firstname','$lastname','1','$email','$question','$answer','$type')");

 

I also pasted the mysql query so you know the table name and fields that my portal uses. I need to do this because i don't want my visitors to have to re-register / re-login to use oscommerce

 

If i would need to add the address etc in the portal's user registration screen i do it but i would prefer it if a user checks out and inputs the address manually.

 

Thanks

Matthew Brincat

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...