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: Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied  (Read 5889 times)

0 Members and 1 Guest are viewing this topic.

SV650

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

Well my photohosting has been going great, and just out of the blue, never touched a thing...I get this funky error message:

Click Here: http://www.jerzeedevil.com/gallery/upload.php

Does anyone know what could have caused this?

Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /home/labella/public_html/gallery/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /home/labella/public_html/gallery/upload.php on line 453
« Last Edit: November 07, 2004, 10:08:48 am by SV650 »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149

I got this message:
Quote
You don't have permission to perform this operation.

But maybe that's because you don't allow unregistered visitors to upload. What is the message that you see?
Logged

SV650

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

Here it is, thanks for replying so fast, I got people PMing me on my forum complaining, lol.

Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /home/labella/public_html/gallery/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/labella/public_html/gallery/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /home/labella/public_html/gallery/upload.php on line 453
Logged

Joachim Müller

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

did you search this board for the error message "Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied)"? This has been discussed in detail already.

Joachim
Logged

tanfwc

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
    • tanfwc.com

chmod edit folder to 777

open up include/picmgmt.inc.php

find this code
@mkdir($CONFIG['fullpath'].'edit',0666);

Replace with this
//@mkdir($CONFIG['fullpath'].'edit',0666);
@mkdir($CONFIG['fullpath'].'edit',0777);

This should solve your problem.
Logged
tanfwc
[ + ] My HomePage
[ + ] GuestBook
[ + ] Photo Gallery
[ + ] Free Image Hosting

WhiteMew

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 4

chmod edit folder to 777

open up include/picmgmt.inc.php

find this code
@mkdir($CONFIG['fullpath'].'edit',0666);

Replace with this
//@mkdir($CONFIG['fullpath'].'edit',0666);
@mkdir($CONFIG['fullpath'].'edit',0777);

This should solve your problem.


Weird, Did the fix but I cant access or Chmod the edit folder, any suggestions? o.oU
Logged

Casper

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

If it exists, but you cannot chmod or delete it, try renaming it, and then create a new edit folder with the correct permissions.
If you can't dothat, ask your host to chown the file to you.
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
Pages: [1]   Go Up
 

Page created in 0.041 seconds with 20 queries.