says i need image magick, despite GD running. says i need image magick, despite GD running.
 

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

says i need image magick, despite GD running.

Started by justgiver, September 15, 2006, 10:21:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

justgiver

uploads aren't working, giving me a critical error, stating

PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed

File: /datas/httpd-data/act/photos/cp/include/picmgmt.inc.php - Line: 254

despite the fact that phpinfo.php says that GD is enabled and is working.

I found similar problems on the other threads, but not specifically what is happening here.

Image Magick is not installed, but since GD is working, and installed I don't see why there should be a problem.

Here's the debug...

USER:
------------------
Array
(
    [ID] => 119b186c28eb10d2f13cb6c2a22b3394
    [am] => 0
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => actcpg_admin
    [groups] => Array
        (
           
  • => 1
            )

        [disk_max] => 1024
        [disk_min] => 1024
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 0
        [ufc_min] => 0
        [custom_user_upload] => 0
        [num_file_upload] => 1
        [num_URI_upload] => 0
        [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] => 0
        [group_quota] => 1024
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpgfiletypes; (0s)
        [1] => select * from cpgplugins order by priority asc; (0s)
        [2] => delete from `act-cpg`.cpgsessions where time<1158304810 and remember=0; (0s)
        [3] => delete from `act-cpg`.cpgsessions where time<1157098810; (0s)
        [4] => select user_id from `act-cpg`.cpgsessions where session_id=md5("269bc643ba7a6b846eeca9bf803870853f95ca844f884d563260b0ac70f084bd"); (0s)
        [5] => select user_id as id, user_password as password from `act-cpg`.cpgusers where user_id=1 (0.001s)
        [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 `act-cpg`.cpgusers AS u INNER JOIN `act-cpg`.cpgusergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `act-cpg`.cpgusers 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 cpgusergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpgusergroups WHERE group_id= 1 (0s)
        [10] => update `act-cpg`.cpgsessions set time='1158308410' where session_id=md5('269bc643ba7a6b846eeca9bf803870853f95ca844f884d563260b0ac70f084bd'); (0s)
        [11] => SELECT user_favpics FROM cpgfavpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpgbanned WHERE expiry < '2006-09-15 08:20:10' (0.001s)
        [13] => SELECT * FROM cpgbanned WHERE (ip_addr='193.73.242.119' OR ip_addr='193.73.242.119' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpgalbums WHERE aid='1' and (uploads = 'YES' OR category = '10001') (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 1
        [MAX_FILE_SIZE] => 1048576
        [title] => moussa and fatime
        [caption] => woot

        [keywords] => w0t
        [event] => picture
    )

    ==========================
    Page generated in 0.104 seconds - 15 queries in 0.003 seconds - Album set : ; Meta set: ;


    thanks in advance for your help


Nibbler


veralucero

I am having the same problem, when I do the phpinfo there is no GD section listed, even tho in the control panel GD is listed. simplehost.com I had installed their version of Coppermine 1.2x and then got support info on how to upgrade to 1.4.x ...all seems to be working except the upload portion.  I am able to see the *.jpg file names listed in a list on the batch option, but no images are being displayed in the screen. Then I select an album, and press OK, nothing gets 'loaded' into the album.  Is Image Magik part of a config entry and can it be changed?  I've looked all over and I'm missing it.  Thanks.

Sami

config=>Files and thumbnails advanced settings=>Method for resizing images
set it to Image Magick
and then set the path
‍I don't answer to PM with support question
Please post your issue to related board