Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My worst nightmare errors


Guest

Recommended Posts

Posted

Hi

 

I am new at this! I apreciate all the help that you can give me!

 

In the catalog i have this errors

 

Warning: session_start(): open(/tmp\sess_bc03db8181e0f9d5b5ea0c0877a1ed61, O_RDWR) failed: No such file or directory (2) in D:\home\Default\softshooters.com\htdocs\catalog\includes\functions\sessions.php on line 67

 

Fatal error: Call to undefined function: tep_expire_specials() in D:\home\Default\softshooters.com\htdocs\catalog\includes\application_top.php on line 446

 

Warning: Unknown(): open(/tmp\sess_bc03db8181e0f9d5b5ea0c0877a1ed61, 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

 

 

And in the admin

 

Warning: session_start(): open(/tmp\sess_945f72553a099e239643777f1c42615a, O_RDWR) failed: No such file or directory (2) in D:\home\Default\softshooters.com\htdocs\catalog\admin\includes\functions\sessions.php on line 67

 

Warning: Unknown(): open(/tmp\sess_945f72553a099e239643777f1c42615a, 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 can't make it work :(

 

Please let me also know how can i protect the admin folder on my website with a password.

 

Thank you very much

 

Regards

 

Mateus :thumbsup:

Posted
Warning: session_start(): open(/tmp\sess_945f72553a099e239643777f1c42615a, O_RDWR) failed: No such file or directory (2) in D:\home\Default\softshooters.com\htdocs\catalog\admin\includes\functions\sessions.php on line 67

 

 

I'm going for a stab-in-the-dark, but it looks like you've set up the sessions to use 'Files' instead of 'Database' during the osCommerce setup.

 

Create a directory in the root of your HDD called 'tmp' (c:\tmp). This is used for session variables. Then give access for write and read (maybe even try execute). So for Windows, you need to give the user IUSR_<MACHINENAME> access (the Guest Internet User Account), and in Unix/Lunix you need to set something like 766 (Guest Accounts read/write access)

 

Mike

Posted

The best solution especially on a shared server is to change the following line in both of your configure.php files

 

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 Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Hello my friends,

 

Thank you for your help.

 

Yes I have set up the sessions to use 'Files' instead of 'Database' during the osCommerce setup.

 

The admin problems are solved :lol: however i still have in the catalog this error :huh:

 

Fatal error: Call to undefined function: tep_expire_specials() in D:\home\Default\softshooters.com\htdocs\catalog\includes\application_top.php on line 446

 

I searched in the application_top.php and i have this

 

// auto expire special products

require(DIR_WS_FUNCTIONS . 'specials.php');

tep_expire_specials();

 

Do i have to change the tep_expire_specials(); for something else?

 

Thanks again for your patience.

 

Regards

 

Mateus

Posted

you seem to be missing the file specials.php. I have it on my test machine (which I _just_ installed from scratch). I would suggest you just grab it from the installation package and copy it to /catalog/includes/functions/

Posted

That did the trick!! Thnak you very much! I believe that the store is 100% functional

 

Thank you guys (Zeme, mriksman and ozcsys) ..... your help is very apreciated.

 

Regards

 

Mateus

Archived

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

×
×
  • Create New...