coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: zoggy on July 21, 2004, 06:45:38 AM

Title: Cant upload anything, says impossible to move
Post by: zoggy on July 21, 2004, 06:45:38 AM
File Name/URL Error Message
1. yum.jpg Impossible to move.

1.3.1, vb3 intergration.

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_5423ed1d.jpg): failed to open stream: Permission denied in /home/public_html/community/gallery/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpqWZwqb' to './albums/edit/mHTTP_temp_5423ed1d.jpg' in /home/public_html/community/gallery/upload.php on line 1197

in debug mode:
Notice: Undefined variable: forbidden in /home/public_html/community/gallery/bridge/vbulletin30.inc.php on line 305
- line 305 >     if (mysql_num_rows($result)) {
Title: Re: Cant upload anything, says impossible to move
Post by: Joachim Müller on July 21, 2004, 01:01:04 PM
make sure you have a sub-folder named "edit" within the albums dir, make sure you have CHMODed both the albums dir and the "edit" sub-dir as suggested in the documentation that comes with coppermine (755 or 777, depending on your server config).

GauGau
Title: "failed to open stream" even with all folders chmoded to 777...
Post by: alainp on August 05, 2004, 06:43:46 PM
I have a similar error :

Warning: copy(albums/officiel/A4244554_025.jpg): failed to open stream: Permission denied in /home/cpgreive/public_html/album/picEditor.php on line 159


And my folders are all 777 (the program manages to write temp_....jpg in "edit" folder).

Anyone has a recommendation
Title: Re: Cant upload anything, says impossible to move
Post by: Joachim Müller on August 05, 2004, 06:55:50 PM
did you read all the sticky threads (the ones with a pin icon) on this sub-board?

GauGau
Title: Re: Cant upload anything, says impossible to move
Post by: Casper on August 05, 2004, 08:50:15 PM
This sounds like a safe mode issue.  Read up on 'SILLY_SAFE_MODE' in the docs.
Title: Re: Cant upload anything, says impossible to move
Post by: alainp on August 11, 2004, 08:50:51 AM
Thank you for your indications.

I have re-read the sticky threads, but I could not find the answer to my problem. ???

The solutions I found do not seem to apply : my directories CHMOD are to set 777 and SafeMode and safe_mode_gid are set to OFF in PHP.

Could you point out the appropriate post for me ?

Thanks in advance.
Title: Additionnal info : error while rotating image
Post by: alainp on August 11, 2004, 10:07:05 AM
The error I mentionned above occurs when I try to rotate a picture. However, I just noticed that, in spite of what the error message states, the rotated picture is correctly saved !

If anyone knows a way to remove the error message, that would be nice...