PDA

View Full Version : 1.5 RC4 "denied" Error - can't figure our the cause


andsever
3rd of July 2005 (Sun), 19:12
Hello,

I successfully installed v. 1.5 RC 4 and I'm able to log in and change things around in the Control panel. However, I can't upload images, and manual process doesn't work either.

*****

When I go the Automatic upload page, at the very top it shows this error:

Warning: unlink(UPLOAD/ee_temp_upload/foo.txt) [function.unlink]: Permission denied in D:\[path]\EDITOR_upload.php on line 122

*****

Then, when trying to upload a file, I get 2 more lines

Warning: unlink(UPLOAD/ee_temp_upload/foo.txt) [function.unlink]: Permission denied in D:\[path]\EDITOR_upload.php on line 122

Warning: move_uploaded_file(UPLOAD/_testfile.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\[path]EDITOR_upload.php on line 473

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Programfiles\php\uploadtemp\php128.tmp' to 'UPLOAD/_testfile.jpg' in D:\[path]\EDITOR_upload.php on line 473

Has anyone encountered this? What's causing it?

Thanks!
Andrew

Pekka
3rd of July 2005 (Sun), 19:14
Please also check that that following folders are still chmod 777:

GALLERY/temp
GALLERY/export
GALLERY/input/temp
GALLERY/input/UPLOAD
GALLERY/input/UPLOAD/test
GALLERY/input/UPLOAD/ee_temp_upload
GALLERY/input/backup/ee_backup_files

andsever
3rd of July 2005 (Sun), 20:24
SmartFTP shows that the entire directory /input/ is set to 777.

I wonder if it's showing 777 by some default as I don't remember it showing anything else, Ever on any other folder either.

Will contact server admins and will post reply if this was the issue/fix.

Thanks for such a prompt reply!! Do you ever sleep? :)

Regards,
Andrew

andsever
3rd of July 2005 (Sun), 22:42
Everything works fine now - site admins set permissions to 777.
It's odd that SmartFTP was showing them at 777 already, very misleading.

Thanks for the help, Pekka!

Regards,
Andrew