waynexu Posted April 5, 2003 Share Posted April 5, 2003 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 More sharing options...
Guest Posted April 5, 2003 Share Posted April 5, 2003 check http://wiki.oscommerce.com/helpErrors also look at some of the other topics there - hopefully they will answer you question Link to comment Share on other sites More sharing options...
Guest Posted April 5, 2003 Share Posted April 5, 2003 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 More sharing options...
toolcrazy Posted April 5, 2003 Share Posted April 5, 2003 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.