Problem Uploading Images with Batch or manual. Problem Uploading Images with Batch or manual.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Problem Uploading Images with Batch or manual.

Started by Einewton, March 31, 2010, 07:21:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Einewton

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!

Αndré

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_pathDon't forget the trailing "/" to close the path.
;)

Αndré

I've just seen that there has been added a check in r7383 by Nibbler. :)

Einewton

You've blown me away with your quickness in making this just that much easier to setup!

Thanks again...

;D

Joachim Müller

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.