forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Neon1024 on January 24, 2004, 08:19:23 pm

Title: Batch add too fast ?
Post by: Neon1024 on January 24, 2004, 08:19:23 pm
Hi,

I recently downloaded your great app, and managed to get it working with ease.

However since this is my first gallery style web app, i have quite a few pics to upload as you can imagine.

I can upload and view pictures fine using the web based upload. As topic says the Batch add is the issue.

Seems that the page doesnt actually action any items, ive created a folder called /uploads/ in the album folder and given it 775 permissions, ive placed two jpg files into that folder via ftp as a test.

Open the batch add menu, i can select the files and the album, but when i click add, the pages simply flicks and reports the results page, without any results. Im assuming this isnt correct as it asks you to be patient.

Ive applied the code fix stated in the FAQ, for the "Batch add takes to long" however im unsure if this has effected anything.

Any ideas, greatly appreciated. Also as an aside, i was unable to find any similar problems upon searching the board.

Tech:
http://www.squaresphere.co.uk/coppermine/index.php
Coppermine version: v1.2.1
Apache version: Apache Version Apache/1.3.27 Apache Release 10327100
PHP version: php/4.3.2
Graphics Toolkit: ImageMagick
Operating system: FreeBSD
Web browser/version (if applicable): Avant browser , IE6
Title: Batch add too fast ?
Post by: Casper on January 24, 2004, 08:29:06 pm
The common mistake I often make is forgetting to choose an album to put them in, before hitting the add button.
If that's not the problem, try chmod to 777.
Title: Batch add too fast ?
Post by: Neon1024 on January 24, 2004, 08:48:13 pm
Yeah, ive made sure that ive selected the album, i have also tried setting the permissions to 777 to no avail.

I tried running the page with the debugging mode on but it didnt appear to create any outstanding error type messages.
Title: Batch add too fast ?
Post by: Casper on January 24, 2004, 08:51:16 pm
Try silly_safe_mode, if you are not in it already.
see docs above for how.
Title: Batch add too fast ?
Post by: Neon1024 on January 24, 2004, 09:22:27 pm
Having looked into the PHP environment of the server, safe mode is off.

However, i cannot seem to be able to download the config.inc.php from the server. Should i change the sample file and overwrite the existing one or will this create further problems ?
Title: Batch add too fast ?
Post by: Joachim Müller on January 25, 2004, 09:05:44 am
config.inc.php is not related, since coppermine only stores the mySQL connection data there. As your coppermine gallery is able to connect (it let's you look at the pics instead of showing an ugly error), you musn't fiddle with config.inc.php
Please post a screenshot of the resulting screen of the batch-add. Are there any images in the right column at all?

Just some blind guesses:
Title: Batch add too fast ?
Post by: Neon1024 on January 25, 2004, 11:21:10 am
Ive been experimenting with the permissions of the /albums/upload/ folder to see if i could change anything, ive left it CHMOD775, some of them showed up the folder as 'not writable' on the batch add page, so changed that.

Find the screenshot of the results page here : www.squaresphere.co.uk/images/coppermine_batchadd.jpg

As for the pics themselves, they are screenshots saved in bmp, which ive then used photoshop to save as a jpg file.

Im glad i checked before editing that file, it was reading the 'Online Manual' that pointed me to this, the Safety Issues section says that, you should add a SILLY_SAFE_MODE,1 string to the config.inc.php , however ive not touched the file thankfully.

I had a go at creating another folder, /albums/batchadd/ CHMOD775, also tried CHMOD775 on the image files after ive uploaded them, although the same error occurs.
Title: Batch add too fast ?
Post by: Joachim Müller on January 25, 2004, 02:35:08 pm
hm, I must confess I'm puzzled. Did you try to CHOWN? What does the ownership info say about the "uploads" folder?

GauGau
Title: Batch add too fast ?
Post by: Neon1024 on January 25, 2004, 02:39:26 pm
Im not familiar with CHOWN, how would i go about checking that ?
Title: Batch add too fast ?
Post by: Joachim Müller on January 25, 2004, 02:48:26 pm
if you have shell access, use the command CHOWN (short for "change ownership"). I'm sure your linux box has a man page for this as well, or do a search on google for "chown".
If you don't have shell access, ask your webhost for help.

GauGau
Title: Batch add too fast ?
Post by: Neon1024 on January 26, 2004, 02:02:47 pm
Just thought id close the thread off. Ive done little bits now, and got most of the images up that i wanted so no need for the batch add, although i appreciate the help guys.
Thanks  :)
Title: Batch add too fast ?
Post by: Casper on January 26, 2004, 02:54:57 pm
Hi neon,

If you do find the cause and answer, please post it here to help anyone else with the same problem.