#1 2003-09-08 18:10:53

alekoner
Guest

777 And Still Can't Upload

Due to server restriction I can't chmod my subdir, but the galleries directory is already 777.
I try file upload, but it says "unable to upload file",
in italiano of course impossibile uploadare il file.

Don't know what to do.
my site is **broken link**

give it a try, I've set max weight 1000kb , 1600x1200pixel to be sure I'm not posting too big file.

please help me!
thank you very much.
a.

 

#2 2003-09-08 19:56:08

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13934

Re: 777 And Still Can't Upload

the directory in which you try to upload must be writeable for "others", meaning xx7

Anyway, if it was the real reason, it would show you another errors. I think about something else... in upload.php (release 1.2), replace

Code:

52                         if ( !move_uploaded_file( $HTTP_POST_FILES['picture']['tmp_name'], $temp_name ) )

by

Code:

if ( !copy( $HTTP_POST_FILES['picture']['tmp_name'], $temp_name ) )

and tell me if it works better

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact