Problems with Batch-Adding and with Uploads in general Problems with Batch-Adding and with Uploads in general
 

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

Problems with Batch-Adding and with Uploads in general

Started by Cherrii, January 13, 2005, 12:28:11 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Cherrii

I installed Coppermine through Fantastico, and it works great.  I can create all the categories and albums I want, and I can delete them as well.  I got the theme changed and added a couple new accounts.  The problem is that I can't upload or add any files to the gallery.

My Installation Location:  http://www.spifftacular.us/photos/
My PHPInfo:  http://www.spifftacular.us/phpinfo.php - I did this outside Coppermine so others could see it, as I haven't a clue what to look for, and I'm sure this would come in handy.

Okay, so when I tried to add a file to my first album, it would upload fine and prompt me to press "continue".  I would fill out the details and try to finish that file, but it gives me the following error when I try that:

QuoteCritical error
Failed to create directory /albums//userpics/10001 !


Warning: mkdir(/albums//userpics/10001): No such file or directory in /home/cherrii/public_html/photos/upload.php on line 2192

Then I thought I'd try the batch-add option, since I'd gone in to confirm the permissions were 777 on all album directories.  I created a new directory (/albums/flashfiles/), corrected the permissions on that directory, then uploaded my files into it.  But when I got into the Batch-Add function in my gallery, it didn't have any directories listed the way the documentation showed. 

My question is how do I add files to my gallery?  I can't simply upload them without getting an error, and I can't batch-add them either.  I read that it does support .swf files in addition to regular image/video files, so I'm really confused. 

I hope I've been detailed enough to receive assistance.  Thanks.

Cherrii
cherrii@gmail.com

Casper

You have a double slash in the url;

Quote/albums//userpics/10001)

Go into config, and check the ' The album directory' is set correctly.

If that does not work, try getting the latest version of upload.php from the cvs, here.
Replace your existing one with that.
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

Cherrii

That seems to have fixed it.  It's funny though ... I hadn't changed those values when I set everything up.  It had set up with /albums/ and /userpics/, so when I removed the front slashes from both of them, it started working.  Thanks for your help.  :D