Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Installation "Pink" message!


halstat

Recommended Posts

Posted

I am getting the following message in "pink" at the top of my newly installed shop:

 

Warning: SAFE MODE Restriction in effect. The script whose uid is 32102 is not allowed to access /tmp owned by uid 0 in /home/statsurg/public_html/catalog/includes/header.php on line 30

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

 

I have created the "tmp" directory in several locations (root,catalog, admin and both includes subfolders and I can't seem to get rid of that "pink" warning message. Any help would be greatly appreciated.

 

I should mention that there was (is) a "tmp" directory in my site "" directory containing web stats etc for my site that was put there by my web-host when my site was set up.

 

Thanks,

Hal

sitesnbytes.com

Posted

Try storing your sessions in the database or change the session.save_path setting in php.ini.

 

If your ISP has set up PHP for you you should tell him that he should RTFM before activating safe mode restrictions. This is a wrong setup.

 

HTH

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Posted

Thanks for your help Jan! I will probably do a new install and try the "store sessions in the database" option first. If that doesn't do the trick, I'll modify the php.ini as you suggested. This osCommerce program is great and so is the crew that makes it go!

 

Best Regards,

Hal

sitesnbytes.com

Posted

No need to reinstall osCommerce if you only want to make this change. You can do it in catalog/includes/confgure.php.

 

HTH

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Posted

Thanks Again for the tip Jan. I already had the files cleaned off the server and the latest snapshot uploaded. The "save sessions to database" did the trick. I am good to go!

 

Thanks Again!

Hal

sitesnbytes.com

Archived

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

×
×
  • Create New...