Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cache blocks errors


waynexu

Recommended Posts

Hi ,

 

I just install oscommerce on my server, everything looks fine. but I get this error at the Cache Control

 

Warning: SAFE MODE Restriction in effect. The script whose uid is 504 is not allowed to access /tmp/ owned by uid 0 in /**********/***/***/cache.php on line 82

 

Fatal error: Call to a member function on a non-object in /**********/***/***/cache.php on line 83

 

 

Thanks

 

Wayne

Link to comment
Share on other sites

also do a search on the forum for SAFE MODE and select search all terms

 

there are many threads on this topic for various situations :)

Link to comment
Share on other sites

Hi ,

 

I just install oscommerce on my server, everything looks fine. but I get this error at the Cache Control  

 

Warning: SAFE MODE Restriction in effect. The script whose uid is 504 is not allowed to access /tmp/ owned by uid 0 in /**********/***/***/cache.php on line 82  

 

Fatal error: Call to a member function on a non-object in /**********/***/***/cache.php on line 83

 

 

Thanks

 

Wayne

 

What safe mode is:

 

Is PHP is restricted to running script only in your home dir. You are getting this error becuase OSC is trying to use the /tmp dir in the servers root. What you need to do is tell osc where your /tmp dir is in your own root dir.

 

Admin->configuration->Cache

In cache directory enter your full servers path to the /tmp dir in your root.

 

Mine is: /usr/local/psa/home/vhosts/*********.com/httpdocs/tmp/ edited of course.

 

You will also need to create a /tmp dir in your root dir and chmod 777 and this should make the error go bye-bye!!

Steve

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...