Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sessions directory does not exists


bluestallion

Recommended Posts

Posted

Hi,

 

I'm installing the 2.2CVS version and I got these error messages on the catalog page after completing the step-by-step installation process.

 

Warning: session_start() [function.session-start]: open(/tmpsess_807789a852cecf2b1c524cd990fbb36a, O_RDWR) failed: No such file or directory (2) in F:Domainsspieltoys.com.sgwwwrootcatalogincludesfunctionssessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at F:Domainsspieltoys.com.sgwwwrootcatalogincludesfunctionssessions.php:67) in F:Domainsspieltoys.com.sgwwwrootcatalogincludesfunctionssessions.php on line 67

Warning: Installation directory exists at: F:Domainsspieltoys.com.sgwwwrootcatalog/install. Please remove this directory for security reasons.

Warning: I am able to write to the configuration file: F:Domainsspieltoys.com.sgwwwrootcatalog/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.

 

 

So, how can I rectify the code so the warning messages don't appear?

 

FIY, my server is running on IIS v5 not Apache ... so, the guide does not teach much on Windows server ... any advice, anyone?

 

Thanks.

 

BlueStallion

Posted

make the tmp directory or put session in DB.

 

Also, fix the install & config. warnings too.

 

RTFM.

Posted

You are not going to like the answer: c:tmp You can try to play around the System variables but it gets messy.

Looks like you are using F: for your stuff. Best is to use db for storing the session. It's cleaner.

  • 2 weeks later...
Posted

I know you fixed it, but for anyone else who might be having trouble or looking up in a search (this might save you a few hours).

 

in the following directory

.../includes/configure.php

and

.../admin/includes/configure.php

 

change

'STORE_SESSIONS', ''

to

'STORE_SESSIONS', 'mysql'

in both files near the end of the file.

 

Minnelli

Posted

tnx Minnelli

 

it realy saved hours, it should be in the manuel

yes i know my english is bad, but you understand wath i mean;) if not ask

Archived

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

×
×
  • Create New...