forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: Einewton on March 31, 2010, 07:21:54 pm

Title: Problem Uploading Images with Batch or manual.
Post by: Einewton on March 31, 2010, 07:21:54 pm
Hi all, I want to post this as I spent hours tracking down, and maybe will help someone save time.

I had problems getting the batchadd or single file upload to work. I had some issues with GD, so i went with ImageMagick and used the default "/usr/bin" path. I went to do the batch add and all i'd get where "X" for the thumbnails where not being generated at all, i went through apache logs and could not see anything helpful... After reading the documentation i found that i could turn on "Debugging" wich is VERY helpful (Thanks for taking the time to add that Coppermine Developers!), and it showed that it was trying to execute "/usr/binconvert" and could not find the program... Using a little logic, I noticed that it's trying to run the program called convert (not binconvert). You'll want to make sure you add a "/" at the end of your path!

/usr/bin/ <-- Use that as your path,  or just make sure that you have a / at the end of your path!

Thanks for this GREAT product Coppermine, you've outdone yourself again!
Title: Re: Problem Uploading Images with Batch or manual.
Post by: Αndré on April 01, 2010, 08:43:18 am
A path ends per definition with a trailing slash. It's also written in the help box/documentation:
Quote from: http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumb_advanced_im_path
Don't forget the trailing "/" to close the path.
;)
Title: Re: Problem Uploading Images with Batch or manual.
Post by: Αndré on April 01, 2010, 11:07:34 am
I've just seen that there has been added a check in r7383 (http://coppermine.svn.sourceforge.net/viewvc/coppermine?view=rev&revision=7383) by Nibbler. :)
Title: Re: Problem Uploading Images with Batch or manual.
Post by: Einewton on April 01, 2010, 11:10:33 pm
You've blown me away with your quickness in making this just that much easier to setup!

Thanks again...

 ;D
Title: Re: Problem Uploading Images with Batch or manual.
Post by: Joachim Müller on April 15, 2010, 08:20:15 am
It's a pitty that this didn't get documented. You got an error message on the config screen with the default value after Nibbler's commit, as the default (blank) didn't have a trailing slash. I have changed the default value in sql/basic.sql in rev 7432 and added some details to the docs.