Problem with batch add Problem with batch add
 

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]

Main Menu

Problem with batch add

Started by heyyoukidd, July 11, 2006, 01:04:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

heyyoukidd

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

Joachim Müller


heyyoukidd


Joachim Müller

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)

heyyoukidd

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.

Nibbler

Try enabling silly_safe_mode.

heyyoukidd

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.

Joachim Müller


heyyoukidd

I don't understand how to do that. I'm just going to make a new gallery.
Thanks for the help though.

Joachim Müller

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?