I'm trying to add new directories but they aren't showing up when I go to the batch add page. I changed servers about a week ago. I guess the change might have caused this. I already changed the permissions of /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES from 755 to 777 and it still didn't work. I also did what was on the "Batch add - no listing with no errors displayed" topic.
I'm using coppermine 1.3.5
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Ok I did that.
username: test
password: test
URL: http://frank-iero.fanfunction.net/gallery (http://frank-iero.fanfunction.net/gallery)
This is the error I get when trying to upload a pic:
QuoteFailed to create directory albums/userpics/10004 !
File: /home/fanfunct/public_html/frank-iero/gallery/db_input.php - Line: 229
Warning: mkdir(albums/userpics/10004): Permission denied in /home/fanfunct/public_html/frank-iero/gallery/db_input.php on line 228
This means that the script doesn't have the needed permissions within the albums folder. Do as suggested in the docs and set permissions for the albums folder and everything within it accordingly (i.e. CHMOD).
And while you're at it: you're
strongly recommended to upgrade to the most recent stable version (currently cpg1.4.8)
I went and changed the albums folder and all folders under it to 755 and it still didn't work, then I changed them all 777 and I still get the message:
Destination directory albums/userpics/10001/ is not writable by the script !
File: /home/fanfunct/public_html/frank-iero/gallery/db_input.php - Line: 242
The /userpics and /10001 folder should be writable because I have them at 777 just like all the other folders. Is there something else I'm forgetting to do?
Thanks.
Try enabling silly_safe_mode.
Quote from: Nibbler on July 11, 2006, 09:05:33 PM
Try enabling silly_safe_mode.
How do I do that? Sorry, I'm new to all this.
RTFM (http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#safe)
I don't understand how to do that. I'm just going to make a new gallery.
Thanks for the help though.
If your server is running in safe mode and is badly configured, you'll run into the very same issues, so there's little point in turning away and not doing as suggested, as the symtoms will re-appear. If you don't understand what you're suppossed to do, why don't you ask more questions, i.e. post what exactly you don't understand about the silly safe mode settings?