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: Strange things happening...Please Help  (Read 2054 times)

0 Members and 1 Guest are viewing this topic.

ian ditch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Strange things happening...Please Help
« on: March 08, 2005, 12:38:08 am »

Strange thins have started to happen on my site, When i create a new album and then try to upload pictures i get the following at the top of the screen

Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 453


And then if i continue to try to upload a picture it will fail with the following message..

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_481b998c.jpg): failed to open stream: Permission denied in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpSKejuz' to './albums/edit/mHTTP_temp_481b998c.jpg' in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 1197




This has always worked in the past and i have not recently changed anything, the only thing that has changed is that a site visitor has uploaded their picture after creating their own category, but i do not know if this is related


Please help
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Strange things happening...Please Help
« Reply #1 on: March 08, 2005, 03:41:35 am »

have you made sure the "edit" directory exists; and it's chmod'ed properly as per the docs?
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: Strange things happening...Please Help
« Reply #2 on: March 08, 2005, 08:39:33 pm »

I had the same problem a few weeks ago, after a recent upgrade to Coppermine latest version. The way I solved it was simple, I verified the CHMOD of "ALBUMS" and "EDIT" folders. Both should be 777 or 755.

Good luck!  ::)
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

ian ditch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Strange things happening...Please Help
« Reply #3 on: March 09, 2005, 11:33:43 pm »

Cheers for your pointers, Foe some reason the Index.html file disappeared from the edit file, Have uploaded this file back to this folder and all is now working fine
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.