1 upload were sucessful but nothing after that 1 upload were sucessful but nothing after that
 

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

1 upload were sucessful but nothing after that

Started by xfusion, December 22, 2004, 08:47:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xfusion

Hi,

I have a problem with the image upload mode. I've chmod the right folders (albums and includes) with ch777. I am in an admin mode trying to upload a couple of images. My image is less than 60KB with jpeg extension. I was able to upload fine with a confirmed message but once I hit the "continue" button nothing happened. Yes I have created a /tmp folder as well. Any comments?

Thanks

-----------------------------------------------------------------------------------------------------
1 uploads were successful.

Please click 'Continue' to add the files to albums.
-----------------------------------------------------------------------------------------------------
USER:
------------------
Array
(
    [ID] => 772c522939387df4f67f984f13eeb4fa
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => xxxxx
    [user_password] => ********
    [user_lastvisit] => 2004-12-22 11:39:41
    [user_regdate] => 2004-12-22 10:03:22
    [user_group_list] =>
    [user_email] =>
    [user_website] => www.dot.ca.gov
    [user_location] => Sacramento Office
    [user_interests] => Cold Fusions
    [user_occupation] => Software
    [user_actkey] =>
    [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
(
   
  • => 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) = 'xxxxxxxxxxxxxxxxxxxxxx'
        [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 < 1103744405
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='10.160.182.160' OR ip_addr='10.160.182.160' OR user_id=1
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
                [1] =>
                [2] =>
            )

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.2.2 - OK
    ------------------
    mySQL version: 3.23.42
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    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 | 1 | 1
    include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/lib/sendmail -t -i  | /usr/lib/sendmail -t -i
    SMTP | localhost | localhost |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30 |  |
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.286 seconds - 6 queries in 0.009 seconds - Album set :

Joachim Müller

change "method for uploading pics" to "Single file uploads only" in groups and try again (leaving debug mode turned on) - should give you a detailed error message what actually fails. Post the erro message here (not the debug output).

Joachim

xfusion

The file 'albums/userpics/10001/governer_button~2.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 1


Cmd line :
/usr/local/bin/convert -quality 80 -antialias -geometry 179x76 'albums/userpics/10001/governer_button~2.jpg' 'albums/userpics/10001/thumb_governer_button~2.jpg'



The convert program said:
convert: no decode delegate for this image format `albums/userpics/10001/governer_button~2.jpg'.



File: /www/pub/kviec/photos/db_input.php - Line: 304



Notice: Undefined index: user1 in /www/pub/kviec/photos/db_input.php on line 202

Notice: Undefined index: user2 in /www/pub/kviec/photos/db_input.php on line 203

Notice: Undefined index: user3 in /www/pub/kviec/photos/db_input.php on line 204

Notice: Undefined index: user4 in /www/pub/kviec/photos/db_input.php on line 205

Notice: Undefined index: width in /www/pub/kviec/photos/db_input.php on line 300

Notice: Undefined index: height in /www/pub/kviec/photos/db_input.php on line 300

Notice: Undefined index: OS in /www/pub/kviec/photos/include/picmgmt.inc.php on line 157