Problem with path of ImageMagick Problem with path of ImageMagick
 

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 with path of ImageMagick

Started by FreeMail, February 09, 2004, 11:01:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FreeMail

i encountered this problem:

QuoteThe installer can not find the 'usr/bin/convert/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

my web host provider told me that the path is usr/bin/convert/  , i was able to install Gallery with the same path but have problem installing with Coppermine, any tips?


TIA!

Tarique Sani

SANIsoft PHP applications for E Biz

FreeMail

QuoteThe installer can not find the 'usr/bin/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

Joachim Müller

http://forum.coppermine-gallery.net/index.php?topic=3694 - see carsten's posting. Did you set the permissions appropriately?

GauGau

athein

I have the same problem using the installer. I have used several variations on the path name, i.e., with ending slash /use/X11R6/bin/, without /use/X11R6/bin; with convert named, /use/X11R6/bin/convert, /use/X11R6/bin/convert/ to no avail. I can see the convert file and know exactly where it is located, /use/X11R6/bin/.

Is it a problem with the installer? Maybe i can edit the config file and insert the path name there...

Any ideas? Completed the installer by leaving path blank and defaulting to G2. Would prefer ImageMagick.

Whoops, forgot to add that i have Gallery running on the same server and it's using ImageMagick without a hickup.
Thanks!

Joachim Müller

hm, never heard that happen. Did you set the permissions for the account the webserver runs under to read/execute convert?

GauGau

athein

I checked the permissions on the convert program (I had the same hunch that it was a permission problem), I can't check right this moment, but i remember the permissions being 777 apache, apache.  But why would Gallery run using ImageMagick and not Coppermine? Note, this is not my server but a hosting company. I am tempted to go back to running my own though;-)

If they do not have readable/writable permissions on ImageMagick files, i will suggest this to the hosting company.

athein

In the config area of coppermine, I decided to insert the path to convert, /usr/X11R6/bin/ and select ImageMagick from the dropdown menu instead of G2. I hit submit and it apparently seems to be using the new values. Does that mean it's really using ImageMagick? Is there anyway to check that it's changed from G2? Is it just pretending to use ImageMagick,  :P

FreeMail

Quote from: "gaugau"http://forum.coppermine-gallery.net/index.php?topic=3694 - see carsten's posting. Did you set the permissions appropriately?

GauGau


Thanks for the reply!  Will check with my webhost regarding the permission settings, but we were able to run Gallery and 4image photo gallery with the above mentioned path.

Carsten

I guess you both make too much typos ...

Quote from: "Freemail"The installer can not find the 'usr/bin/' directory you have specified for ImageMagick
It should be  /usr/bin/, don't forget the first slash.

Quote from: "athein"I can see the convert file and know exactly where it is located, /use/X11R6/bin/.
Probably the name of the directory is /usr/, not /use/.

Greetings, Carsten

FreeMail

Thank you for your reply!

QuoteThe installer can not find the '/usr/bin/convert/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

and

QuoteThe installer can not find the '/usr/bin/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

:(

Joachim Müller

Quote from: "athein"In the config area of coppermine, I decided to insert the path to convert, /usr/X11R6/bin/ and select ImageMagick from the dropdown menu instead of G2. I hit submit and it apparently seems to be using the new values. Does that mean it's really using ImageMagick? Is there anyway to check that it's changed from G2? Is it just pretending to use ImageMagick,  :P
For a test, do something only ImageMagick is capable of: insert a gif! (it'll have a ridiculously large size; remember - it's just for testing wether ImageMagick is working). As I'm one of the coppermine team guys I'd probably have to say: "if it's 'IM' coppermine config, it'll be IM", but you never know... :wink:

GauGau

FreeMail

any other tips on this? i'm stuck with installation that i can't continue :(

athein

If you want to use coppermine, just don't put anything in the path to ImageMagick, just leave it blank. The installer will install and voila, you'll have a photo gallery which will either be using G1 or G2 to convert images. My hosting company does not support ImageMagick, so i've relented to having coppermine use G2. Honestly can't tell the difference since i don't use it for gifs, only my digital camera photos. I know i know, but life's just too short for G2 to be a deal breaker for me, but that's just me!


Joachim Müller

Quote from: "athein"If you want to use coppermine, just don't put anything in the path to ImageMagick, just leave it blank. The installer will install and voila, you'll have a photo gallery which will either be using G1 or G2 to convert images. My hosting company does not support ImageMagick, so i've relented to having coppermine use G2. Honestly can't tell the difference since i don't use it for gifs, only my digital camera photos. I know i know, but life's just too short for G2 to be a deal breaker for me, but that's just me!
There's a reason why coppermine supports ImageMagick as well: ImageMagick produces higher quality images and is less ressources-consuming. The drawback is that most recent PHP installs (to be found with most webhosts) have GD lib integrated, but not ImageMagick. Your posting does make sense for most users who are webhosted, however I wanted to make clear that there are reasons to use ImageMagick...

GauGau

soughtmagic

Quote from: "gaugau"hm, never heard that happen. Did you set the permissions for the account the webserver runs under to read/execute convert?

GauGau

And how would I go about this? Is this like chmoding or whatever? Because I chmoded includes&albums to 777 and I still get I dont have permission (the imagemagick path is correct) Any clues?

Joachim Müller

you need to have admin rights on the webserver (or at least shell access) to change the permissions on the ImageMagick folder. If you're webhosted you probably don't have the permission. As your webhost to do this for you.

GauGau