plz help. Upload problem. Debug incuded. plz help. Upload problem. Debug incuded.
 

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]

Main Menu

plz help. Upload problem. Debug incuded.

Started by panteraz, September 20, 2005, 12:05:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panteraz

I have installed coppermine from fantastico and everything worked OK! But my host changed servers and know I can not upload files. Here is the problem:

The file 'albums/userpics/10002/C4_7.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x75 'albums/userpics/10002/C4_7.jpg' 'albums/userpics/10002/thumb_C4_7.jpg'


The convert program said:
sh: line 1: /usr/bin/convert: No such file or directory


File: /home/xanthigr/public_html/gallery/db_input.php - Line: 305


DEBUG:

USER:
------------------
Array
(
    [ID] => bc6c4b4aa7a3c7768f4c90d5b54d96e6
    [am] => 1
    [liv] => Array
        (
           
  • => 323
                [1] => 322
                [2] => 319
                [3] => 13
                [4] => 311
            )

        [lang] => english
    )

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

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg_filetypes;
        [1] => SELECT user_id, username as user_name, user_level FROM `xanthigr_forum`.phpbb_sessions INNER JOIN `xanthigr_forum`.phpbb_users ON session_user_id = user_id WHERE session_id='38dccf02fe24e5f56c395849a8d04124' AND session_user_id ='2' AND user_active='1'
        [2] => SELECT (ug.group_id + 5) as group_id FROM `xanthigr_forum`.phpbb_user_group as ug LEFT JOIN `xanthigr_forum`.phpbb_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 AND user_pending = 0 AND group_single_user = 0
        [3] => 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,2)
        [4] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1
        [5] => DELETE FROM cpg_banned WHERE expiry < '2005-09-19 22:03:51'
        [6] => SELECT * FROM cpg_banned WHERE ip_addr='155.207.18.209' OR ip_addr='155.207.18.209' OR user_id=2
        [7] => SELECT category FROM cpg_albums WHERE aid='1'
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 1
        [MAX_FILE_SIZE] => 524288
        [title] =>
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.3.3
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 2
    Active Links 4
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /var/tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    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 | 30 | 30
    max_input_time | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.076 seconds - 8 queries in 0.001 seconds - Album set :



    I dont have php knowledge and I readed the Guide for upload issue problem before posting here and I followed the instructions what to post.

    thanks.

Nibbler

You need to determine and specify the correct path to imagemagick in config or switch to GD2 if available.

panteraz

Can you plz tell me how to do that? I said I am noob  ::)


panteraz

I turned to GD2.0 and it worked!!! thanks!!!!!! :) :)