Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Install - Safe mode Error


WhiteRaven

Recommended Posts

Posted

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

 

How would I go about fixing this/get around it. I do know PHP coding but would like to be pointed in the right direction.

 

I installed this through my host, all I had to do was name a directory and I was done. Well ... I guess I'm not done based on the error.

 

Thanks for any help,

 

~ Travis :x

Posted

According to my hosts FAQ safe mode is on *for security reasons* and *can not be turned off*. Is there an other way to fix it? There must be ... they wouldn't include it in thier addon scripts if it wasn't going to work correctly.

 

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

 

just ask your host to disable safe mode for your domain - that should fix it...
  • 2 months later...
Posted

No, I never did. I eventually gave up. I was just playing with it at the time and now I'm getting back into it though. Any suggestions?

Posted

God Knows, I've tried most suggestions I've found but no luck yet...

 

I've tried changing the .htaccess file and inputting:

php_value register_globals 1

 

didn't work...

 

If you run the following in a php file there is a setting called safe_mode:

 

<?PHP

phpinfo();

?>

 

In my dev env this is set to off, with the ISP it's set to on...

 

I've been trying to find a php work arround but nothing yet...

Posted

check these forum messages:

 

http://www.oscommerce.com/forums/viewtopic.php?t=44772

 

and

 

http://www.oscommerce.com/forums/viewtopic.php?t=56323

 

No need to repeat this.

 

Tell your host to get of his high horse. It is possable to set it on a per vhost setting (with little problems)

 

register_globals is only a problem if you use these type in a program badly (insecure way) - in very bad programing- that is not done in osC.

Archived

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

×
×
  • Create New...