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: [Solved]: passing imagemagick options  (Read 3380 times)

0 Members and 1 Guest are viewing this topic.

mrmknet

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
[Solved]: passing imagemagick options
« on: May 28, 2009, 09:56:40 pm »

Imagemagick work ok for resizing until I try to pass options to the command line
As I add
Code: [Select]
-interpolate bicubicI get
Quote
ERROR creating : albums/userpics/10001/thumb_file.jpg

How can i correct this?
« Last Edit: May 29, 2009, 10:01:29 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: passing imagemagick options
« Reply #1 on: May 28, 2009, 10:08:29 pm »

Are you sure the version of ImageMagick on the server supports that option?
Logged

mrmknet

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: passing imagemagick options
« Reply #2 on: May 28, 2009, 10:09:24 pm »

yes, and it is ok through the command line
Logged

Nibbler

  • Guest
Re: passing imagemagick options
« Reply #3 on: May 28, 2009, 10:14:51 pm »

Enable debug mode and upload a file via HTTP. That should give you the command line used and the actual error message.
Logged

mrmknet

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: passing imagemagick options
« Reply #4 on: May 28, 2009, 11:26:30 pm »

This is what i got
Quote
/include/picmgmt.inc.php

    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(albums/userpics/10001/thumb_IMG_3089-cropped-sharpen.JPG) [function.unlink]: No such file or directory
    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(albums/userpics/10001/2/thumb_IMG_3141-cropped-sharpen.JPG) [function.unlink]: No such file or directory
Logged

mrmknet

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: passing imagemagick options
« Reply #5 on: May 28, 2009, 11:54:41 pm »

I uninstalled imageagick [which i had installed from source] and installed it from an rpm.
This solved the problem and everything works OK now

Although I do not know why, I decided to share so if someone later have the same problem and reached the topic through a search, he can find a solution

If someone can explain what was wrong with the installation-from-source, it will be appreciated
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: passing imagemagick options
« Reply #6 on: May 29, 2009, 10:01:10 am »

This is what i got
Quote
/include/picmgmt.inc.php

    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(albums/userpics/10001/thumb_IMG_3089-cropped-sharpen.JPG) [function.unlink]: No such file or directory
    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(albums/userpics/10001/2/thumb_IMG_3141-cropped-sharpen.JPG) [function.unlink]: No such file or directory
That's the ouput that shows when enabling notices - nobody asked for that.

The debug_output, that's what Nibbler asked for. You haven't posted it.

If someone can explain what was wrong with the installation-from-source, it will be appreciated
Impossible to say, as you deleted the installation from source. We can't say what was wrong. You probably have seen one of those popular forensics series on tv: you have tampered with evidence and ruined the crime scene, so we can't say what was wrong, and there would be not point. Never ask why. From my experience, building from source never is a bright idea - you should always use a package and only build from source if you have no other option.
Your issue clearly is related to webserver setup, which is something we can not support because it's beyond the scope of this board. We can't recommend self-hosting neither.
Anyway, thanks for returning and resolving your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.