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: says i need image magick, despite GD running.  (Read 2285 times)

0 Members and 1 Guest are viewing this topic.

justgiver

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
says i need image magick, despite GD running.
« on: September 15, 2006, 10:21:25 am »

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

Logged

Nibbler

  • Guest
Re: says i need image magick, despite GD running.
« Reply #1 on: September 15, 2006, 12:13:43 pm »

Post the GD section of your phpinfo, it must have jpeg support included.

http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#VersionGD
Logged

veralucero

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • AllFamilyOne
Re: says i need image magick, despite GD running.
« Reply #2 on: September 16, 2006, 01:04:28 am »

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.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: says i need image magick, despite GD running.
« Reply #3 on: September 16, 2006, 06:16:40 am »

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

Page created in 0.017 seconds with 20 queries.