coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: himuro on June 15, 2004, 10:27:50 AM

Title: User can upload into their user gallery but not gallery I created for them
Post by: himuro on June 15, 2004, 10:27:50 AM
The user's can't upload into the galleries I made. For example I made a catergory named ghost pictures, when they click the gallery and try to upload a picture it says album not created for them to upload into. here is my site can someone look at it please. I went to the groups section and changed it to upload single files.

http://threatonline.com/coppermine/index.php
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: Filigree on June 15, 2004, 12:35:43 PM
I was able to upload a picture into said album.  Maybe you have fixed this problem since posting about it?
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: Casper on June 15, 2004, 03:38:58 PM
It all seems to be working now.
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: himuro on June 16, 2004, 11:14:36 PM
yeah its working now, but check this out, now for some reason I'm getting this message and members can't upload anymore, I did not do anything to make it seem to act this way. Here is error message they are getting for some reason.

Okay this is what I'm getting.

When I click the upload button, this is the text that is on the top of the page. (mind you, the upload page still loads, just with this error message on top)

Warning: opendir(./albums/edit): failed to open dir: No such file or directory in /home/threaton/public_html/coppermine/upload.php on line 406

Then when I ignore this and try to upload an image anyways, I get these errors:

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_64e3730a.jpg): failed to open stream: No such file or directory in /home/threaton/public_html/coppermine/upload.php on line 1193

Warning: move_uploaded_file(): Unable to move '/tmp/phphYHKkE' to './albums/edit/mHTTP_temp_64e3730a.jpg' in /home/threaton/public_html/coppermine/upload.php on line 1193

Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: hyperion on June 16, 2004, 11:46:51 PM
You /albums/edit directory is gone.  Did you upgrade and forget to create one?
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: Filigree on June 17, 2004, 01:50:28 PM
Someone posted about havng a similar problem, where their "edit" folder would randomly delete itself.

I believe you can fix this with a cron.
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: himuro on June 17, 2004, 11:05:57 PM
with a what? cron?  I don't get it, all was fine and all of a sudden its not. I did not upgrade or anything. Just the next day this all happnened. Do I need to redo something?

Ok I had to put the edit file back in, it was not there???

now I get this message

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_14e388f0.jpg): failed to open stream: Permission denied in /home/threaton/public_html/coppermine/upload.php on line 1193

Warning: move_uploaded_file(): Unable to move '/tmp/phpYlkIdB' to './albums/edit/mHTTP_temp_14e388f0.jpg' in /home/threaton/public_html/coppermine/upload.php on line 1193


Now there must be a bug with the gallery cause now the edit folder deleted itself again. What can I do to fix this problem. Please don't tell me to keep uploading the edit folder

Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: hyperion on June 18, 2004, 03:23:15 AM
Well, three people have reported this issue.  There are no available rmdir's in any Coppermine script except install.php.  As such, it is a bit of a mystery, since the unlink command cannot remove a directory.

Since no one on the dev team can replicate the issue, we would need someone to provide data from the server logs from the time of directory's deletion.  It would be even better if the report came from a single user installation.
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: himuro on June 18, 2004, 09:28:16 AM
So should I install the old version?
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: hyperion on June 19, 2004, 02:37:17 AM
You are free to do as you like.  None of the data we have so far gives any real clue about what is happening, so it may be some time before the issue is resolved. It would be helpful if you could tell us your PHP version number.
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: bryan on June 25, 2004, 03:11:06 PM
I got this too.


Warning: move_uploaded_file(./albums/edit/mHTTP_temp_2e1a5802.jpg): failed to open stream: Permission denied in /sites/staff/teens/www/photos/upload.php on line 1193

Warning: move_uploaded_file(): Unable to move '/tmp/phpXsSZTy' to './albums/edit/mHTTP_temp_2e1a5802.jpg' in /sites/staff/teens/www/photos/upload.php on line 1193
Title: Re: User can upload into their user gallery but not gallery I created for them
Post by: Joachim Müller on June 26, 2004, 05:57:57 AM
...then do as hyperion suggested and post your php version number!

GauGau