User can upload into their user gallery but not gallery I created for them User can upload into their user gallery but not gallery I created for them
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

User can upload into their user gallery but not gallery I created for them

Started by himuro, June 15, 2004, 10:27:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

himuro

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

Filigree

I was able to upload a picture into said album.  Maybe you have fixed this problem since posting about it?

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

himuro

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


hyperion

You /albums/edit directory is gone.  Did you upgrade and forget to create one?
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Filigree

Someone posted about havng a similar problem, where their "edit" folder would randomly delete itself.

I believe you can fix this with a cron.

himuro

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


hyperion

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.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

himuro


hyperion

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.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

bryan

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

Joachim Müller

...then do as hyperion suggested and post your php version number!

GauGau