I am getting this error : Error executing ImageMagick - Return value: 1 I am getting this error : Error executing ImageMagick - Return value: 1
 

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

I am getting this error : Error executing ImageMagick - Return value: 1

Started by gpsman, April 06, 2009, 11:41:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gpsman

When I try to upload files to my album I always get this error
Error executing ImageMagick - Return value: 1
My server is Siteground and I have downloaded the coppermine updated software from their cpanel, I suspect that there is something wrong with imagemagick
can you help me please?

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x55 'albums///transardinia1b.BMP' 'albums///thumb_transardinia1b.BMP'


The convert program said:
convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `albums///transardinia1b.BMP'.
convert: MissingAnImageFilename `albums///thumb_transardinia1b.BMP

I pasted here the debug lines:

USER:
------------------
Array
(
    [ID] => 2085cb7e5c9aacdf67f33bd3282aad6b
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => transard
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0.106s)
    [2] => delete from `transard_copp1`.cpg_sessions where time<1239006774 and remember=0; (0s)
    [3] => delete from `transard_copp1`.cpg_sessions where time<1237800774; (0s)
    [4] => select user_id from `transard_copp1`.cpg_sessions where session_id = 'e65b0602513164434e6af609a0ca851d' (0s)
    [5] => select user_id as id, user_password as password from `transard_copp1`.cpg_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `transard_copp1`.cpg_users AS u INNER JOIN `transard_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `transard_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [10] => update `transard_copp1`.cpg_sessions set time='1239010374' where session_id = 'e65b0602513164434e6af609a0ca851d' (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2009-04-06 09:32:54' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='78.15.231.214' OR ip_addr='78.15.231.214' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg_albums WHERE 1 (0s)
    [15] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
    [insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 1
    [pics] => Array
        (
            [0] => i0000
            [1] => i0001
            [2] => i0002
            [3] => i0003
            [4] => i0004
            [5] => i0005
            [6] => i0006
            [7] => i0007
            [8] => i0008
            [9] => i0009
            [10] => i0010
            [11] => i0011
            [12] => i0012
            [13] => i0013
            [14] => i0014
            [15] => i0015
            [16] => i0016
            [17] => i0017
            [18] => i0018
            [19] => i0019
            [20] => i0020
            [21] => i0021
            [22] => i0022
            [23] => i0023
            [24] => i0024
            [25] => i0025
            [26] => i0026
            [27] => i0027
            [28] => i0028
            [29] => i0029
            [30] => i0030
            [31] => i0031
            [32] => i0032
            [33] => i0033
            [34] => i0034
            [35] => i0035
            [36] => i0036
            [37] => i0037
            [38] => i0038
            [39] => i0039
            [40] => i0040
            [41] => i0041
            [42] => i0042
            [43] => i0043
            [44] => i0044
            [45] => i0045
            [46] => i0046
            [47] => i0047
            [48] => i0048
            [49] => i0049
            [50] => i0050
            [51] => i0051
            [52] => i0052
            [53] => i0053
            [54] => i0054
            [55] => i0055
            [56] => i0056
            [57] => i0057
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => L2luZGV4LnBocA==
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => L3RyYW5zYXJkaW5pYTFiLkJNUA==
    [d0001] => 1
    [album_lb_id_i0002] => d0001
    [picfile_i0002] => L3VwbG9hZHMvdDIwMDYvZ2FtYmVfZnMuanBn
    [album_lb_id_i0003] => d0001
    [picfile_i0003] => L3VwbG9hZHMvdDIwMDYvUGFzdG9yZV9mcy5qcGc=
    [album_lb_id_i0004] => d0001
    [picfile_i0004] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDAxX2ZzLkpQRw==
    [album_lb_id_i0005] => d0001
    [picfile_i0005] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDAzX2ZzLkpQRw==
    [album_lb_id_i0006] => d0001
    [picfile_i0006] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDA2X2ZzLkpQRw==
    [album_lb_id_i0007] => d0001
    [picfile_i0007] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDA3X2ZzLkpQRw==
    [album_lb_id_i0008] => d0001
    [picfile_i0008] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDE2X3RtYi5qcGc=
    [album_lb_id_i0009] => d0001
    [picfile_i0009] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDE3X2ZzLkpQRw==
    [album_lb_id_i0010] => d0001
    [picfile_i0010] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDE5X2ZzLkpQRw==
    [album_lb_id_i0011] => d0001
    [picfile_i0011] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDIwX2ZzLkpQRw==
    [album_lb_id_i0012] => d0001
    [picfile_i0012] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDI2X2ZzLkpQRw==
    [album_lb_id_i0013] => d0001
    [picfile_i0013] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDI4X2ZzLkpQRw==
    [album_lb_id_i0014] => d0001
    [picfile_i0014] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDI5X2ZzLkpQRw==
    [album_lb_id_i0015] => d0001
    [picfile_i0015] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDMxX2ZzLkpQRw==
    [album_lb_id_i0016] => d0001
    [picfile_i0016] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDMyX2ZzLkpQRw==
    [album_lb_id_i0017] => d0001
    [picfile_i0017] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDMzX2ZzLkpQRw==
    [album_lb_id_i0018] => d0001
    [picfile_i0018] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDM0X2ZzLkpQRw==
    [album_lb_id_i0019] => d0001
    [picfile_i0019] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDM1X2ZzLkpQRw==
    [album_lb_id_i0020] => d0001
    [picfile_i0020] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDM3X2ZzLkpQRw==
    [album_lb_id_i0021] => d0001
    [picfile_i0021] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDQzX2ZzLkpQRw==
    [album_lb_id_i0022] => d0001
    [picfile_i0022] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDUxX2ZzLkpQRw==
    [album_lb_id_i0023] => d0001
    [picfile_i0023] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDUzX2ZzLkpQRw==
    [album_lb_id_i0024] => d0001
    [picfile_i0024] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDU0X2ZzLkpQRw==
    [album_lb_id_i0025] => d0001
    [picfile_i0025] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDU4X2ZzLkpQRw==
    [album_lb_id_i0026] => d0001
    [picfile_i0026] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDYxX2ZzLkpQRw==
    [album_lb_id_i0027] => d0001
    [picfile_i0027] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDYzX2ZzLkpQRw==
    [album_lb_id_i0028] => d0001
    [picfile_i0028] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDY0X2ZzLkpQRw==
    [album_lb_id_i0029] => d0001
    [picfile_i0029] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDY1X2ZzLkpQRw==
    [album_lb_id_i0030] => d0001
    [picfile_i0030] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDY3X2ZzLkpQRw==
    [album_lb_id_i0031] => d0001
    [picfile_i0031] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDY4X2ZzLkpQRw==
    [album_lb_id_i0032] => d0001
    [picfile_i0032] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDY5X2ZzLkpQRw==
    [album_lb_id_i0033] => d0001
    [picfile_i0033] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDc2X2ZzLkpQRw==
    [album_lb_id_i0034] => d0001
    [picfile_i0034] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDc3X2ZzLkpQRw==
    [album_lb_id_i0035] => d0001
    [picfile_i0035] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDg1X2ZzLkpQRw==
    [album_lb_id_i0036] => d0001
    [picfile_i0036] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDg3X2ZzLkpQRw==
    [album_lb_id_i0037] => d0001
    [picfile_i0037] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDkzX2ZzLkpQRw==
    [album_lb_id_i0038] => d0001
    [picfile_i0038] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMDk4X2ZzLkpQRw==
    [album_lb_id_i0039] => d0001
    [picfile_i0039] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTA1X2ZzLkpQRw==
    [album_lb_id_i0040] => d0001
    [picfile_i0040] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTA2X2ZzLkpQRw==
    [album_lb_id_i0041] => d0001
    [picfile_i0041] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTA3X2ZzLkpQRw==
    [album_lb_id_i0042] => d0001
    [picfile_i0042] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTA4X2ZzLkpQRw==
    [album_lb_id_i0043] => d0001
    [picfile_i0043] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTA5X2ZzLkpQRw==
    [album_lb_id_i0044] => d0001
    [picfile_i0044] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTEyX2ZzLkpQRw==
    [album_lb_id_i0045] => d0001
    [picfile_i0045] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTE1X2ZzLkpQRw==
    [album_lb_id_i0046] => d0001
    [picfile_i0046] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTE2X2ZzLkpQRw==
    [album_lb_id_i0047] => d0001
    [picfile_i0047] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTE5X2ZzLkpQRw==
    [album_lb_id_i0048] => d0001
    [picfile_i0048] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTIwX2ZzLkpQRw==
    [album_lb_id_i0049] => d0001
    [picfile_i0049] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTI0X2ZzLkpQRw==
    [album_lb_id_i0050] => d0001
    [picfile_i0050] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTI1X2ZzLkpQRw==
    [album_lb_id_i0051] => d0001
    [picfile_i0051] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTI2X2ZzLkpQRw==
    [album_lb_id_i0052] => d0001
    [picfile_i0052] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTM5X2ZzLkpQRw==
    [album_lb_id_i0053] => d0001
    [picfile_i0053] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTQyX2ZzLkpQRw==
    [album_lb_id_i0054] => d0001
    [picfile_i0054] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTUzX2ZzLkpQRw==
    [album_lb_id_i0055] => d0001
    [picfile_i0055] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTU1X2ZzLkpQRw==
    [album_lb_id_i0056] => d0001
    [picfile_i0056] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTU2X2ZzLkpQRw==
    [album_lb_id_i0057] => d0001
    [picfile_i0057] => L3VwbG9hZHMvdDIwMDYvVHJhbnNhcmRpbmlhXzIwMDZfMTYwX2ZzLkpQRw==
    [insert] => Insert selected files
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 4.1.22-standard-log
------------------
Coppermine version: 1.4.20(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/php52/pear | .:/usr/local/php52/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 45 | 45
max_input_time | 60 | 60
upload_max_filesize | 24M | 24M
post_max_size | 32M | 32M
==========================
Page generated in 0.155 seconds - 16 queries in 0.106 seconds - Album set : ; Meta set: ;

phill104

Please do not post debug info until requested to do so. It just means extra effort on our part tidying up the thread.

I am assuming you used fantastico to install coppermine, ie using the coppermine installer in the siteground cpanel?

Your best option would be to install the latest version of coppermine via ftp as instructed in the docs. The coppermine team are not fond of auto installers for various reasons.

It also looks like imagemagik might not be installed on your system. Go into the coppermine config panel and switch to GD2 as the method for resizing your images.
It is a mistake to think you can solve any major problems just with potatoes.