coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: heyyoukidd on July 11, 2006, 01:04:58 AM

Title: Problem with batch add
Post by: heyyoukidd on July 11, 2006, 01:04:58 AM
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
Title: Re: Problem with batch add
Post by: Joachim Müller on July 11, 2006, 07:30:06 AM
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Title: Re: Problem with batch add
Post by: heyyoukidd on July 11, 2006, 04:41:35 PM
Ok I did that.
username: test
password: test
URL: http://frank-iero.fanfunction.net/gallery (http://frank-iero.fanfunction.net/gallery)
Title: Re: Problem with batch add
Post by: Joachim Müller on July 11, 2006, 06:40:45 PM
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)
Title: Re: Problem with batch add
Post by: heyyoukidd on July 11, 2006, 07:41:17 PM
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.
Title: Re: Problem with batch add
Post by: Nibbler on July 11, 2006, 09:05:33 PM
Try enabling silly_safe_mode.
Title: Re: Problem with batch add
Post by: heyyoukidd on July 11, 2006, 09:34:11 PM
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.
Title: Re: Problem with batch add
Post by: Joachim Müller on July 11, 2006, 11:39:35 PM
RTFM (http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#safe)
Title: Re: Problem with batch add
Post by: heyyoukidd on July 12, 2006, 12:13:39 AM
I don't understand how to do that. I'm just going to make a new gallery.
Thanks for the help though.
Title: Re: Problem with batch add
Post by: Joachim Müller on July 12, 2006, 04:37:48 AM
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?