Uploading Problems in "ImageMagick" Uploading Problems in "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

Uploading Problems in "ImageMagick"

Started by Ashley1983, January 27, 2005, 07:39:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ashley1983

I am trying to upload my pictures, for the first time, and I am having trouble.  When I go to "Batch Add Files," to add my pictures, none of the thumbnails are showing up and Coppermine doesn't tell me if there is an error/file completed/etc.  The page just sits there stalled.  

When I looked at the "Debug Info", the code says:

Module: gd
------------------
module doesn't exist


However, I config. Coppermine to "ImageMagick" because that is what my web host goes by.  Why does it say "GD"??  Is that what is the problem??  If it isnt, why cant I upload my pictures into the gallery???  Attached is my "Debug Info Code"  Any help would be appricated.  Thanks.




USER:
------------------
Array
(
   [ID] => 64fd666e46d789ca60c7fc1353783edc
   [am] => 1
)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_group] => 1
   [user_active] => YES
   [user_name] => 24fanatics
   [user_password] => ********
   [user_lastvisit] => 2005-01-21 05:43:08
   [user_regdate] => 2005-01-02 07:19:15
   [user_group_list] =>
   [user_email] =>
   [user_website] =>
   [user_location] =>
   [user_interests] =>
   [user_occupation] =>
   [user_actkey] =>
   [user_favpics] =>
   [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
   [groups] => Array
       (
           [1] => 1
       )

)

==========================
Queries:
------------------
Array
(
   [0] => SELECT extension, mime, content FROM cpg132_filetypes;
   [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'f3cd8ca156cae245eb3f903101b4fd99'
   [2] => 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 cpg132_usergroups WHERE group_id in (1)
   [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
   [4] => DELETE FROM cpg132_banned WHERE expiry < 1106806925
   [5] => SELECT * FROM cpg132_banned WHERE ip_addr='24.20.175.103' OR ip_addr='24.20.175.103' OR user_id=1
)

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

==========================
POST :
------------------
Array
(
   [d0000] => 6
   [album_lb_id_i0000] => d0000
   [picfile_i0000] => cHJvbW8vMDEuanBn
   [album_lb_id_i0001] => d0000
   [picfile_i0001] => cHJvbW8vMDIuanBn
   [album_lb_id_i0002] => d0000
   [picfile_i0002] => cHJvbW8vMDMuanBn
   [album_lb_id_i0003] => d0000
   [picfile_i0003] => cHJvbW8vMDQuanBn
   [album_lb_id_i0004] => d0000
   [picfile_i0004] => cHJvbW8vMDUuanBn
   [album_lb_id_i0005] => d0000
   [picfile_i0005] => cHJvbW8vMDYuanBn
   [album_lb_id_i0006] => d0000
   [picfile_i0006] => cHJvbW8vMDcuanBn
   [album_lb_id_i0007] => d0000
   [picfile_i0007] => cHJvbW8vMDguanBn
   [album_lb_id_i0008] => d0000
   [picfile_i0008] => cHJvbW8vMDkuanBn
   [album_lb_id_i0009] => d0000
   [picfile_i0009] => cHJvbW8vMTAuanBn
   [album_lb_id_i0010] => d0000
   [picfile_i0010] => cHJvbW8vMTEuanBn
   [album_lb_id_i0011] => d0000
   [picfile_i0011] => cHJvbW8vMTIuanBn
   [album_lb_id_i0012] => d0000
   [picfile_i0012] => cHJvbW8vMTMuanBn
   [album_lb_id_i0013] => d0000
   [picfile_i0013] => cHJvbW8vMTQuanBn
   [album_lb_id_i0014] => d0000
   [picfile_i0014] => cHJvbW8vMTUuanBn
   [album_lb_id_i0015] => d0000
   [picfile_i0015] => cHJvbW8vMTYuanBn
   [album_lb_id_i0016] => d0000
   [picfile_i0016] => cHJvbW8vMTcuanBn
   [album_lb_id_i0017] => d0000
   [picfile_i0017] => cHJvbW8vMTguanBn
   [album_lb_id_i0018] => d0000
   [picfile_i0018] => cHJvbW8vMTkuanBn
   [album_lb_id_i0019] => d0000
   [picfile_i0019] => cHJvbW8vMjAuanBn
   [album_lb_id_i0020] => d0000
   [picfile_i0020] => cHJvbW8vMjEuanBn
   [album_lb_id_i0021] => d0000
   [picfile_i0021] => cHJvbW8vMjIuanBn
   [album_lb_id_i0022] => d0000
   [picfile_i0022] => cHJvbW8vMjMuanBn
   [album_lb_id_i0023] => d0000
   [picfile_i0023] => cHJvbW8vMjQuanBn
   [album_lb_id_i0024] => d0000
   [picfile_i0024] => cHJvbW8vMjUuanBn
   [album_lb_id_i0025] => d0000
   [picfile_i0025] => cHJvbW8vMjYuanBn
   [pics] => Array
       (
           [0] => i0026
       )

   [album_lb_id_i0026] => d0000
   [picfile_i0026] => cHJvbW8vMjcuanBn
   [insert] => Insert selected files
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.1 - OK
------------------
mySQL version: 3.23.58
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | .;c:\php4\pear | .;c:\php4\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | nobody@localhost | nobody@localhost
sendmail_path | no value | no value
SMTP | 127.0.0.1 | 127.0.0.1
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.102 seconds - 6 queries in 0.022 seconds - Album set :

Abbas Ali

Go to config page in admin mode and select 'ImageMagick' as  'Method for resizing images' and enter the path to imagemagick.

Report back whether this works or not.
Chief Geek at Ranium Systems

Ashley1983

#2
In the "Config" section, it was already listed as "ImageMagick" .  That is why I am confused why it states GD in the debug.

 I talked to my web host co. and they told me that they installed ImageMagick to "C:/progs/ImageMagick" .  So I typed in the address into the "config" section and my thumbnails still wont load up and I cant upload any pictures.


EDIT:::

I changed the "upload form config" to "single file upload only" and uploaded one file and here is the error it gave me:

QuoteThe file 'albums/userpics/10001/01~0.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: -1


Cmd line :
"C:/progs/ImageMagickconvert" -quality 80 -antialias -geometry 100x100 "c:/users/sitedata/ashley24/web/gallery/albums/userpics/10001/01~0.jpg" "c:/users/sitedata/ashley24/web/gallery/albums/userpics/10001/thumb_01~0.jpg"



The convert program said:



File: c:\users\sitedata\ashley24\web\gallery\db_input.php - Line: 304

Joachim Müller

search the board for "Error executing ImageMagick - Return value: -1" - this has been discussed before.

Joachim

Ashley1983

that doesnt explain why my "config" is setup to ImageMagick but the debugging is reading it as "GD"

Joachim Müller

the debug info checks for the existence of the GD module, no matter what you set coppermine to use for image resizing. Just ignore the debug_output if it doesn't mean anything to you; basically it is meant to mean something to the devs. If you have set the "method for resizing images" in coppermine config to "ImageMagick", then only ImageMagick will be taken into account for the actual resizing.

Joachim

Ashley1983

oh, ok. thanks.  I hate bothering you but I did search the forums and I couldn't find a thread with my problem and how to fix it.   There are somewhat similar problems, but not the exact problem that I have.  Is their any way someone could point me in the right direction??

Joachim Müller

to make this short: contact your webhost and tell them the error message.

Joachim