Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Error executing ImageMagick - Return value: 1  (Read 4837 times)

0 Members and 1 Guest are viewing this topic.

ideasgirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Error executing ImageMagick - Return value: 1
« on: April 28, 2008, 08:28:01 pm »

Hi, I've check by search this error but anyone seems to have the solution.

I just upgraded from 1.4.16 to 1.4.18 and I can't upload files. I follow the instructions for troubleshooting and this is my error:

The file 'albums/userpics/logo~0.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 1

Cmd line :
convert -quality 85 -antialias -geometry 1x0 'albums/userpics/logo~0.jpg' 'albums/userpics/normal_logo~0.jpg'

The convert program said:
convert: Negative or zero image size `albums/userpics/logo~0.jpg'.

File: /home/***/public_html/gallery/db_input.php - Line: 402

Safemode is off and I'm using ImageMagick.

Let me know if you need more info to solve the issue.
« Last Edit: April 29, 2008, 06:35:59 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Error executing ImageMagick - Return value: 1
« Reply #1 on: April 28, 2008, 08:29:40 pm »

Make sure your image dimension settings are correct in config. They shouldn't be something like 1 or 0.
Logged

ideasgirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Error executing ImageMagick - Return value: 1
« Reply #2 on: April 28, 2008, 09:49:56 pm »

That made the trick!!!  ::) I didn't touch that when upgrading. Also didn't think was necessary to change since was the intermediate with the "1" on it.

Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Error executing ImageMagick - Return value: 1
« Reply #3 on: April 29, 2008, 06:36:41 am »

Your site was most likely hacked, so make sure to follow the sanitization thread carefully - just upgrading is not enough.
Logged

thejflo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 75
    • Juicy Flawless
Re: [Solved]: Error executing ImageMagick - Return value: 1
« Reply #4 on: May 03, 2008, 06:24:49 am »

This was exactly my problem, thank you. Someone put it to 1 when it should of been 400. Will sanitize (again).
Logged

Aidan

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: [Solved]: Error executing ImageMagick - Return value: 1
« Reply #5 on: May 04, 2008, 04:05:05 pm »

Hello,

Firstly, sorry for posting this again, I already told my tale of woe in another post before I saw this one.
I had the same problem, went into config and reset the image dimension settings to 400. But the problem persists.

Where would I find the sanitization thread?

Regards,

Aidan
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Error executing ImageMagick - Return value: 1
« Reply #6 on: May 05, 2008, 07:27:08 am »

Firstly, sorry for posting this again, I already told my tale of woe in another post before I saw this one.
I told you in the other thread that you mustn't hijack someone else's thread. As well, you mustn't cross-post nor double-post. The sanitization thread is "Yikes, I've been hacked! Now what?". Locking
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.