coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Amanetsang on December 03, 2005, 05:09:45 PM

Title: Debug error message
Post by: Amanetsang on December 03, 2005, 05:09:45 PM
I recently have had intermittent problems with uploading my pics- some do and some don't.  They do, but don't let me place them in albums,.etc.  I turned on the debug mode and got the message below at the bottom of the page. Any assistance would be appreciated. I'm using  1.3.2, since that is the application version my servers (ACTWD) offered off their plesk control panel.---Tamara

Quote
USER:
------------------
Array
(
    [ID] => 582ff15a5d04ee59e4384e9a69f1d8e7
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => admin
    [user_password] => ********
    [user_lastvisit] => 2005-12-02 20:29:33
    [user_regdate] => 2005-06-22 09:14:42
    [user_group_list] =>
    [user_email] => admin@anthonycistaro.com
    [user_website] => www.anthonycistaro.com
    [user_location] => Boston,MA, USA
    [user_interests] => Reading,Movies,Web-work, Hockey...how much room do I have?
    [user_occupation] => Steward of Harvard
    [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] => 10
    [num_URI_upload] => 10
    [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
(
   
  • => 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) = '22a0fb8f3879fb569f8a3ff65850a82e'
        [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 < 1133626428
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='68.163.193.142' OR ip_addr='68.163.193.142' OR user_id=1
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.2 - OK
    ------------------
    mySQL version: 3.23.58
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.12 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 1
    Active Links 2
    Client API version 3.23.58
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
    ==========================
    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 | On | On
    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/share/pear | .:/usr/share/pear
    open_basedir | /usr/local/plesk/apache/vhosts/anthonycistaro.com/httpdocs:/tmp | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    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 | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.065 seconds - 6 queries in 0.002 seconds - Album set :
Title: Re: Debug error message
Post by: Joachim Müller on December 03, 2005, 06:37:09 PM
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Title: Re: Debug error message
Post by: Amanetsang on December 03, 2005, 07:03:44 PM
Thanks!  I had done those steps, except I didn't switch over myself as "admin" in the group.  When you say all you really mean ALL. :)  Saving and trying again now...well, the error message is still showing up, but maybe I'll have more luck with the pictures. :(

Update: Nope.  Still can't upload pictures.  I'm getting an Error 127.  I have no idea what that means. 
---Tamara
Title: Re: Debug error message
Post by: kegobeer on December 03, 2005, 07:36:34 PM
That means ImageMagick is not configured correctly.  Change your Method for resizing images from ImageMagick to GD2.  See if that works.
Title: Re: Debug error message
Post by: Amanetsang on December 04, 2005, 05:24:48 PM
I switched and was able to upload an image.  Two follow-up questions:
1) Do I need to leave the uploads to one file or can I revert to my prior setting of File-URI?
2) Do I need to update my exisiting albums in Admin Tools?
Thanks,
Tamara
Title: Re: Debug error message
Post by: Nibbler on December 04, 2005, 08:33:09 PM
1) You can return to your previous settings, single file upload mode is jus to aid in diagnosing the problem.
2) No need.