PDA

View Full Version : After changing server problem with attachments


viper007
09-01-2008, 11:31 AM
After changing server problem with attachments ..i cant download them ...I am getting the follwing error ...I have cross checked the files there in the folder currently being stored in the filesystem at /home/symbiani/attach

Warning: fopen(/home/symbiani/attach/2/2/0/5/7137.attach) [function.fopen]: failed to open stream: Permission denied in [path]/attachment.php on line 261

Can any 1 help me please

Dismounted
09-01-2008, 11:33 AM
As the error message says - make sure the directory has the correct permissions.

viper007
09-01-2008, 11:36 AM
can u tell me permissions ...
i need 2 change 2

777?

--------------- Added 1220272933 at 1220272933 ---------------

I have restored from old 2 new one shd i manually upload the attachments to new server>

Dismounted
09-01-2008, 11:44 AM
Yes, I believe the directory does require 777 permissions.

viper007
09-01-2008, 11:47 AM
They 777 permissions ...

But still i cant trace out the problem shd i reupload all the attachments?>

Lynne
09-01-2008, 02:37 PM
How about the permissions on the files? Have you checked them?

viper007
09-01-2008, 02:57 PM
Yes ...

I changed to 777

Lynne
09-01-2008, 03:22 PM
Have you verified that the actual attachment it is looking for actually exists?

Also, you may want to ask your host about this error. Perhaps they have something no enabled on the server.

SEOvB
09-01-2008, 05:33 PM
make sure your hosting account has ownership to the files and not the root account.

make sure the attachment path is correct