Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Can't get imagemagick working on linux server  (Read 9521 times)

0 Members and 1 Guest are viewing this topic.

astro

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Can't get imagemagick working on linux server
« on: April 06, 2005, 10:38:58 pm »

At least I'm pretty positive the problem lies in ImageMagick
My gallery is at this location.. http://astroguy.org/bandpics
I followed this guide to set up imagemagick on my 1and1 server
http://s88567960.onlinehome.us/forums/index.php?showtopic=222

Then in the admin config, it asks to link the location to imagemagick, and I think this is where I'm screwing up
I tried different things:
/homepages/31/d117121540/htdocs/im/bin
moving the im folder to the bandpics folder and using
/im/bin
im/bin
http://astroguy.org/bandpics/im/bin

None of them seem to work.  After I upload a file, it'll say upload successful, then it'll take me to the page to fill in the details.
On the left hand side, where it's supposed to give a preview of the image, I get a redx.  I think this is the sign where imagemagick isn't doing its job.
Then after i fill it out and push ok, it gives an error message: the previous file could not be placed
Any ideas?
« Last Edit: April 08, 2005, 09:40:18 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't get imagemagick working on linux server
« Reply #1 on: April 06, 2005, 11:38:37 pm »

I have no idea if you installed ImageMagick correctly.  Usually you ask your webhost to install it for you.

The path (not a url) to ImageMagick binaries requires a trailing slash.  /url/local/bin/
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

astro

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't get imagemagick working on linux server
« Reply #2 on: April 07, 2005, 03:50:11 am »

Judging from the link, you can't tell if I installed it correctly or not?
http://s88567960.onlinehome.us/forums/index.php?showtopic=222

Do you think it looks like an imagemagick problem?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't get imagemagick working on linux server
« Reply #3 on: April 07, 2005, 04:18:35 am »

According to those directions, after installing ImageMagick the binaries are located at:

/kunden/homepages/yy/dxxxxxxxx/htdocs/im/bin/
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

astro

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't get imagemagick working on linux server
« Reply #4 on: April 07, 2005, 04:32:57 am »

Yes that would be synonymous to
/homepages/31/d117121540/htdocs/im/bin
for my server. 
I used that path and i get the redx for the preview thumbnails
Is the path that coppermine config is asking relative to where it's placed?
example, if i was going to provide a link for it in root, it would be /bandpics/im/bin
but if I was going to provide a link from bandpics it would be /im/bin
So which one do I use?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't get imagemagick working on linux server
« Reply #5 on: April 07, 2005, 04:37:37 am »

That isn't a relative path, it's an absolute path.  That is what all scripts that do image manipulation require.  If you installed ImageMagick according to those directions, use the path the instructions told you to use.  I told you to add a trailing slash to the path.  Did you do that?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

astro

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't get imagemagick working on linux server
« Reply #6 on: April 07, 2005, 05:05:46 am »

Yep I did that to begin with.
Well I just tried using the GD2.x option and it's working now, I thought I had to install that or I wouldn't have bothered with im :x
I guess imagemagick just doesn't want to work..
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't get imagemagick working on linux server
« Reply #7 on: April 07, 2005, 03:24:01 pm »

You can always ask you host for assistance.  This appears to be an installation/configuration issue.  You could Google for a sample php script that does image manipulation with ImageMagick, upload that script to your site, and see if you can get the convert to work.  At least you'd know if ImageMagick works.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: Can't get imagemagick working on linux server
« Reply #8 on: April 07, 2005, 04:13:49 pm »

As Kegobeer stated it should be installed in /usr/local/bin. That is the default location ImageMagick should install to. If you install it in any other directory, you will have to configure apache to run executable binaries from within the installation directory. I would try to install it to the public local bin, then try to execute it from the command line just to make sure your installation works.

Hope this help,

--OmegaGOD
Logged
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

astro

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't get imagemagick working on linux server
« Reply #9 on: April 07, 2005, 11:59:55 pm »

Thanks for all your help!
I still have one problem though.
When I upload a picture that has a width of 3000, the resizing program stops working.  I get a redx, and the picture won't post
I set my max picture width to be 5000, so that shouldn't be an issue. 
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't get imagemagick working on linux server
« Reply #10 on: April 08, 2005, 12:10:59 am »

One question per thread.  Please search for resize problems, and make a new thread if you can't find any helpful posts.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.