coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: cucuzza on March 31, 2005, 09:43:02 PM

Title: Permissions on the folder on the FTP
Post by: cucuzza on March 31, 2005, 09:43:02 PM
I was normally adding my pictures when i got this error message:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 555 is not allowed to access ./albums/edit owned by uid 48 in /home/virtual/site48/fst/var/www/html/cucuzza/cpg132/upload.php on line 409

Warning: opendir(./albums/edit): failed to open dir: Success in /home/virtual/site48/fst/var/www/html/cucuzza/cpg132/upload.php on line 409


For some reason, I can upload files, one by one, but i still get the above error message. This, however, gets annoying and I would like to upload like my pictures i have been (multiple upload: 5 at a time). I checked the permissions on all of the folders necessary on the FTP and noticed that the /albums/edit has permission code: 666. I tried changing it to 777 or 755, but neither is allowed. It's my server, I don't understand? Can someone help me out?


PHP version: latest (i guess? i don't know how to tell, sorry, i am dumb)
operating system: Windows XP SP2
system settings: I didn't change them from the default settings (except the theme)

link to gallery: www.uticarock.com/cucuzza/cpg132

Thank you.
Title: Re: Permissions on the folder on the FTP
Post by: Casper on April 04, 2005, 01:56:01 AM
re-name the edit folder to something completely different, then create a new edit folder, and chmod that to 777.

Then get the latest copy of picmgmt.inc.php from here (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/include/picmgmt.inc.php?rev=1.9) and replace your existing one with that.
Title: Re: Permissions on the folder on the FTP
Post by: cucuzza on April 04, 2005, 05:38:55 PM
You... fucking... rule! Thank you so much! I thought I was going to have to delete the entire gallery and start over! Any idea of why this happens?
Title: Re: Permissions on the folder on the FTP
Post by: Cisi on April 05, 2005, 11:35:47 PM
Thanx Casper .. i try now ! Lots time iv chmoded 775 edit folder and then .. permission denied again . I hope that overwriting picmgmt.inc.php solve the problem .
Thanx again !
Title: Re: Permissions on the folder on the FTP
Post by: Cisi on April 06, 2005, 04:36:06 PM
Edit : the problem persist . Today paermission to edit folder changed again and so error in upload php page .. don't know what to do . I've recreated edit folder with right permission , but this is a real problem .
Other suggestion ?