coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: xfusion on December 22, 2004, 08:47:12 PM

Title: 1 upload were sucessful but nothing after that
Post by: xfusion on December 22, 2004, 08:47:12 PM
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
(
   
Title: Re: 1 upload were sucessful but nothing after that
Post by: Joachim Müller on December 23, 2004, 07:20:21 AM
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
Title: This is what i got...
Post by: xfusion on January 04, 2005, 06:50:51 PM
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