Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions directory does not exist


Hart

Recommended Posts

My hosting site (Serverpro) really messed up my shop. I've been trying to get them to respond, but they won't!

I've been putting things together for three weeks now and everything was working fine until this morning (4/6/03, 1am). For some unknown reason, one of their tech support people (with root admin privileges) reset all the folder ownership at my site to my ID. Now, it looks like the osC process (running as nobody:nobody?) is returning the following error as soon as default.php starts running (loading the header?):

 

Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect. The script whose uid is 32231 is not allowed to access /tmp owned by uid 0 in /home/hnendza/public_html/osCommerce/includes/header.php on line 30

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

This is really depressing because Serverpro recommended osCommerce and has the install on their/my cpanel as the preferred shop software.

 

I'm stuck now because I've already paid them for a year of hosting and by coincidence (?) my 30 day refund guarantee is past.

 

The first warning looks like it is being generated by the server, I think.

Does anyone know where the /tmp sessions directory is supposed to be?

Is it at the root of my site? or somewhere in public_html (web root)??

Can anyone tell me if this is fixable? I'm begging for help... :cry:

Link to comment
Share on other sites

just try this ...in both your configure.php (catalog/includes and admin/includes)

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

HTH

The_Bear

Link to comment
Share on other sites

Thank you, thank you, thank you... :D

Can you tell me what is up with that? Is there a connection to changing ownership? What about the nobody:nobody process?

I have a lot to learn.

Thank you...

oh, and what about the /tmp folder? know anything about that?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...