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: suddenly, upload problems  (Read 2812 times)

0 Members and 1 Guest are viewing this topic.

zippy1

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
suddenly, upload problems
« on: March 12, 2005, 09:52:14 pm »

Hi,
I've been using Coppermine for a month now and love it. I have a website and a friend has a website both using Coppermine. Both websites are on my server. Suddenly yesterday, both sites were unable to upload jpgs. I was in the middle of uploading when it occurred.

Here is the error message on the upload page and also on the results page:

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_f83ab1c0.jpg): failed to open stream: Permission denied in /var/www/bikini/the_girls/cpg132/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phprCMvMt' to './albums/edit/mHTTP_temp_f83ab1c0.jpg' in /var/www/bikini/the_girls/cpg132/upload.php on line 1197





Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /var/www/bikini/the_girls/cpg132/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /var/www/bikini/the_girls/cpg132/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /var/www/bikini/the_girls/cpg132/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /var/www/bikini/the_girls/cpg132/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /var/www/bikini/the_girls/cpg132/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /var/www/bikini/the_girls/cpg132/upload.php on line 453

Both websites had these errors.
I was able to fix the problem by chmod 755 to the edit file on each site. Why would this suddenly happen to two different sites at the same time? How would the permissions have been changed to both sites at the same time? What can I do to prevent this from happening again? Is something for the bug report?

Thanks,
--zippy
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: suddenly, upload problems
« Reply #1 on: March 14, 2005, 08:09:06 am »

search for the error message you get.

Joachim
Logged

jlerner

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Screaming-Cheetah.com
Re: suddenly, upload problems
« Reply #2 on: March 17, 2005, 10:37:28 pm »

Hi Zip,

Same thing happened to me.  I was right in the middle of an upload when I got those errors. I discovered that the permissions had been changed , and I was locked out of certain folders & files.  I re-set permissions 3 times, and only enjoyed a temporary success.

A side note - my page is hosted on godaddy.com, and I have had a number of problems regarding changed permissions. So far - godaddy tech support has been less than helpfull.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: suddenly, upload problems
« Reply #3 on: March 18, 2005, 10:36:36 am »

there have been several reports about lax support by godaddy: http://forum.coppermine-gallery.net/index.php?action=search2&search=godaddy

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.058 seconds with 15 queries.