Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SAFE MODE Restriction in effect


3Dawn

Recommended Posts

Posted

I have narrowed my issues to getting a download error but I can't seem to resolve it. Any suggestions are desperately needed! :) :blush:

 

My webserver is UNIX, I have turned on the download redirect. When buyers download a file it is named the expected name. However, it is only 1kb where it should be about 13Mb.

 

If I change the filename to being an htm extension I get the following message inside the downloaded file:

<br />

<b>Warning</b>: symlink(): SAFE MODE Restriction in effect. The script whose uid is 10053 is not allowed to access /home/httpd/vhosts/HIDDEN.com/httpdocs/pub/.zbpbllotpggwyott owned by uid 48 in <b>/home/httpd/vhosts/HIDDEN.com/httpdocs/download.php</b> on line <b>156</b><br />

<br />

<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/solidworkstemplates.com/httpdocs/download.php:156) in <b>/home/httpd/vhosts/solidworkstemplates.com/httpdocs/includes/functions/general.php</b> on line <b>29</b><br />

 

My webhosting company has turned off SAFE MODE and I still get the error. Any suggestions? Comments? :'(

Posted

Why doesn't anyone respond to my questions? I desperately need help and can't seem to find the answer. Please help?!

Posted

Have you tried to google?

 

oscommerce "SAFE MODE Restriction in effect"

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
Have you tried to google?

 

oscommerce "SAFE MODE Restriction in effect"

Yup, the only answer I was able to find was that my webhosting provider needed to make a a change to the configuration on their end. I have had them do that and it didn't make a difference.

 

Thanks for responding.

Posted
I had this exact same error message recently. Turned out to be a path problem (I had set it slightly incorrectly)

 

Hi Jason,

Hmm, that certainly would explain why the result didn't change when my web hosting provider changed the php settings.

 

I can see that it creates a temporary sub-folder in the "pub" directory and this is what isn't being allowed. I've set the pub folder permissions to be read/write by anyone. Does a sub-folder inherit the permissions of its parent folder? If not, any ideas how to do this? (I'll look into this further)

 

Thanks again for the help!

Archived

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

×
×
  • Create New...