Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: User can upload into their user gallery but not gallery I created for them  (Read 7485 times)

0 Members and 1 Guest are viewing this topic.

himuro

  • Coppermine newbie
  • Offline Offline
  • Posts: 10

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
Logged

Filigree

  • Coppermine newbie
  • Offline Offline
  • Posts: 19

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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231

It all seems to be working now.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10

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

Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -

You /albums/edit directory is gone.  Did you upgrade and forget to create one?
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Filigree

  • Coppermine newbie
  • Offline Offline
  • Posts: 19

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

I believe you can fix this with a cron.
Logged

himuro

  • Coppermine newbie
  • Offline Offline
  • Posts: 10

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

« Last Edit: June 18, 2004, 02:39:17 am by himuro »
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -

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.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

himuro

  • Coppermine newbie
  • Offline Offline
  • Posts: 10

So should I install the old version?
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -

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.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

bryan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • http://www.bryanchung.per.sg

I got this too.

Code: [Select]
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.