Jump to content

new server, upload script stops working.. chmod() not permitted


virtuexru

Recommended Posts

Hey everyone,

 

Need some help. Recently moved to a dedicated server from a shared one.

 

I have a private video upload script but it isnt working any longer? Php globals are on. I end up getting this error:

 

Warning: chmod() [function.chmod <http://*****.com/admin/function.chmod> ]: Operation not permitted in /home/v****/public_html/admin/upload_sub.php on line 49

 

I had hostgator move my files, and nothing in the scripts was changed. How do i fix this??

 

Edit:

Changed subject to conform to forum rules.

 

The error is what it is. You're not allowed to do it....so check with your web host provider to see if they allow the command within PHP and secondly, the directory may not allow the PHP script to change it with it only set as 755.

 

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.