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: Flash Uploader Error  (Read 37370 times)

0 Members and 1 Guest are viewing this topic.

Haji

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Flash Uploader Error
« on: October 29, 2010, 03:12:51 am »

Hi guys ~ Is there anyway to fixed the 413 Error in flash uploader? In simple uploader, it's all fine but it's time consuming to upload pictures one by one especially we'll upload many

Gallery link: http://www.ygladies.com/cpg1556x
Test account: UN: test ; PW: testtest
Debug message:
Code: [Select]
USER:
------------------
Array
(
    [ID] => 00afc6e0e05616947b66f5453c27a2b9
    [lang] => english
    [am] => 1
    [upload_method] => swfupload
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => ygl2ne1
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 2147483647
    [disk_min] => 2147483647
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [access_level] => 3
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Administrators
    [group_quota] => 2147483647
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM config [include/init.inc.php:178] (0 ms)
    [1] => SELECT * FROM plugins ORDER BY priority [include/plugin_api.inc.php:53] (0 ms)
    [2] => DELETE FROM `ygladies_cpg15x`.sessions WHERE time < 1288310825 AND remember = 0 [bridge/coppermine.inc.php:248] (0 ms)
    [3] => DELETE FROM `ygladies_cpg15x`.sessions WHERE time < 1287104825 [bridge/coppermine.inc.php:252] (0 ms)
    [4] => UPDATE config SET value = UNIX_TIMESTAMP() WHERE name = 'session_cleanup' [bridge/coppermine.inc.php:256] (0 ms)
    [5] => SELECT user_id, time FROM `ygladies_cpg15x`.sessions WHERE session_id = '7143a285fd2374e8a58356cb6bdaa034' [bridge/coppermine.inc.php:264] (1 ms)
    [6] => SELECT user_id, user_password FROM `ygladies_cpg15x`.users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
    [7] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `ygladies_cpg15x`.users AS u LEFT JOIN `ygladies_cpg15x`.usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
    [8] => SELECT user_group_list FROM `ygladies_cpg15x`.users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms)
    [9] => 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(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, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:321] (0 ms)
    [10] => SELECT group_name FROM  usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
    [11] => UPDATE `ygladies_cpg15x`.sessions SET time = UNIX_TIMESTAMP() WHERE session_id = '7143a285fd2374e8a58356cb6bdaa034' [bridge/coppermine.inc.php:321] (0 ms)
    [12] => SELECT lang_id FROM languages WHERE enabled='YES' [include/init.inc.php:326] (0 ms)
    [13] => SELECT user_favpics FROM favpics WHERE user_id = 1 [include/init.inc.php:384] (0 ms)
    [14] => DELETE FROM mod_online WHERE last_action < NOW() - INTERVAL 5 MINUTE [plugins/onlinestats/codebase.php:123] (0 ms)
    [15] => REPLACE INTO mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'ygl2ne1', '125.60.235.227', NOW()) [plugins/onlinestats/codebase.php:128] (0 ms)
    [16] => DELETE FROM banned WHERE expiry < '2010-10-28 20:07:05' [include/init.inc.php:440] (0 ms)
    [17] => SELECT null FROM banned WHERE (user_id=1 OR '125.60.235.227' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:456] (0 ms)
    [18] => SELECT aid, title, cid, name FROM albums INNER JOIN categories ON cid = category WHERE category < 10000 [upload.php:571] (1 ms)
    [19] => SELECT aid, title FROM albums WHERE category = 0 [upload.php:573] (0 ms)
    [20] => SELECT aid, title FROM albums WHERE category='10001' ORDER BY title [upload.php:599] (0 ms)
    [21] => SELECT user_id AS user_id, user_password AS pass_hash FROM `ygladies_cpg15x`.users WHERE user_id = '1' [bridge/udb_base.inc.php:730] (0 ms)
    [22] => SELECT COUNT(*) FROM pictures WHERE approved = 'NO' [include/functions.inc.php:2402] (0 ms)
    [23] => SELECT lang_id, abbr FROM languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [24] => DELETE FROM temp_messages WHERE time < 1288310825 [include/functions.inc.php:4903] (0 ms)
    [25] => SELECT cid, parent, name FROM categories WHERE 1 [upload.php:247] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [akp1_last] => 1288367689615
    [ipb_stronghold] => c7b5727fc673a0de6448d362c77d8de7
    [member_id] => 15172
    [pass_hash] => 141e20bb9fbeded327bcc839a6b9ad45
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiIwMGFmYzZlMGUwNTYxNjk0N2I2NmY1NDUzYzI3YTJiOSI7czo0OiJsYW5nIjtzOjc6ImVuZ2xpc2giO3M6MjoiYW0iO2k6MTtzOjEzOiJ1cGxvYWRfbWV0aG9kIjtzOjk6InN3ZnVwbG9hZCI7czozOiJsaXYiO2E6MDp7fX0=
    [48f0c7ef7c0f799bb0b068b3ffb132de] => 84d2989496bdaaa9da04900cbc735cda
    [ipb-myass-div] => 312,58
    [0c52fd75bcd842c48d8f46ddc4c84e46] => 50fa7b18a2b5b38c2e9bb78e7dc2e566
    [d6ed0940820b19b38e60560590dca502] => 471f23194854c16ef6bda30b44d6fb26
    [f22a5db49653e690375c96e44ffc1c15] => f3c298df419d1469781162aebbce2e8c
    [rte-sidepanel] => open
    [session_id] => 37092331b440d28c9a7cb543a348f43f
    [akp1_hide] => 0
    [topicsread] => a:22:{i:9921;i:1288310202;i:12467;i:1288300778;i:13320;i:1288300887;i:13318;i:1288300890;i:10542;i:1288311844;i:13314;i:1288301532;i:536;i:1288301424;i:13312;i:1288301699;i:720;i:1288301969;i:13327;i:1288302035;i:722;i:1288308716;i:13313;i:1288302034;i:13304;i:1288302039;i:7489;i:1288303939;i:12635;i:1288304585;i:11244;i:1288304742;i:12982;i:1288308732;i:9433;i:1288308739;i:10550;i:1288311109;i:13242;i:1288313136;i:13158;i:1288313174;i:13112;i:1288313701;}
    [3eaf5982e1d95aece7ca2b9b8b64ed6d] => 616f85282aec16e693dec7d1715a1407
    [mqtids] => ,
    [topicmode] => linear
)

==========================
VERSION INFO :
------------------
PHP version        5.2.14           OK   
MySQL version      5.0.91-community OK   
Coppermine version 1.5.6            stable

==========================
Module: GD
------------------
Exact version                    2.0.34                     
GD Version                       bundled (2.0.34 compatible)
FreeType Support                                           
T1Lib Support                                               
GIF Read Support                 1                         
GIF Create Support               1                         
JPG Support                      1                         
PNG Support                      1                         
WBMP Support                     1                         
XPM Support                      1                         
XBM Support                      1                         
JIS-mapped Japanese Font Support                           

==========================
Key config settings
------------------
site_url             http://www.ygladies.com/cpg1556x/                       
charset              utf-8                                                   
allow_private_albums 1                                                       
cookie_name          cpg15x                                                 
cookie_path          /                                                       
impath               /usr/bin/                                               
lang                 english                                                 
main_page_layout     breadcrumb/catlist/alblist/random,2/lastup,2/onlinestats
silly_safe_mode      0                                                       
smtp_host                                                                   
theme                curve                                                   
thumb_method         gd2                                                     

==========================
Plugins
------------------
Name           Who is online?                                                                                                   
Actions        plugin_install, page_start, plugin_uninstall, plugin_cleanup, plugin_configure                                   
Filters        plugin_block                                                                                                     
--------------
Name           AJAX reCaptcha                                                                                                   
Actions        plugin_install, plugin_configure, plugin_uninstall, captcha_comment_validate, captcha_contact_validate, page_start
Filters        captcha_comment_print, captcha_contact_print, captcha_register_print, captcha_register_validate                   
--------------

==========================
Server restrictions
------------------
safe_mode                                                                                                                                       
safe_mode_exec_dir                                                                                                                             
safe_mode_gid                                                                                                                                   
safe_mode_include_dir                                                                                                                           
sql.safe_mode                                                                                                                                   
disable_functions        show_source,phpinfo,symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd
file_uploads             1                                                                                                                     
include_path             .:/usr/lib/php:/usr/local/lib/php                                                                                     
open_basedir                                                                                                                                   
allow_url_fopen          1                                                                                                                     
max_execution_time       30                                                                                                                     
max_input_time           60                                                                                                                     
upload_max_filesize      2M                                                                                                                     
post_max_size            8M                                                                                                                     
memory_limit             32M                                                                                                                   
suhosin.post.max_vars                                                                                                                           
suhosin.request.max_vars                                                                                                                       


==========================
Page (performance)
------------------
Parameter        Current    Peak     
Memory usage     773.95 KiB 946.53 KiB
Page generation  12 ms      12 ms     
Page query time  2 ms       2 ms     
Page query count 26         26       


==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url:               /cpg1556x/upload.php
flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1288368478177
use_query_string:         false
requeue_on_error:         false
http_success:             
assume_success_timeout:   0
file_post_name:           Filedata
post_params:              [object Object]
file_types:               *.*
file_types_description:   All Files
file_size_limit:          9999999 KB
file_upload_limit:        0
file_queue_limit:         0
debug:                    true
prevent_swf_caching:      true
button_placeholder_id:    browse_button_place_holder
button_placeholder:       Not Set
button_image_url:         /cpg1556x/images/browse_swf.png
button_width:             130
button_height:            20
button_text:             
button_text_style:        .browse { font-family: Arial,Helvetica,sans-serif; color: #D0CFD0;}
button_text_top_padding:  0
button_text_left_padding: 30
button_action:            -110
button_disabled:          true
custom_settings:          [object Object]
Event Handlers:
swfupload_loaded_handler assigned:  true
file_dialog_start_handler assigned: false
file_queued_handler assigned:       true
file_queue_error_handler assigned:  true
upload_start_handler assigned:      true
upload_progress_handler assigned:   true
upload_error_handler assigned:      true
upload_success_handler assigned:    true
upload_complete_handler assigned:   true
debug_handler assigned:             true

SWFUpload.SWFObject Plugin settings:
minimum_flash_version:                      9.0.28
swfupload_load_failed_handler assigned:     true

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.0
SWF DEBUG: movieName:              SWFUpload_0
SWF DEBUG: Upload URL:             /cpg1556x/upload.php
SWF DEBUG: File Types String:      *.*
SWF DEBUG: Parsed File Types:     
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit:        10239998976 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6Ijg0MzNmMDExMGNkMzc0YzYwODRiOTIzN2RkMjAyNjRkIjt9
SWF DEBUG:                         process=1
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6Ijg0MzNmMDExMGNkMzc0YzYwODRiOTIzN2RkMjAyNjRkIjt9
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: Global Post Item: album=112
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /cpg1556x/upload.php for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 32768. Total: 78283
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65536. Total: 78283
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 78283. Total: 78283
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 413.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: wjjhid.jpg, Message: 413

If you want a test uploading, please do so in 2NE1 album @ Testing Category

Thank you :)
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: Flash Uploader Error
« Reply #1 on: October 29, 2010, 11:46:35 am »

1) Do not post an admin account - you could be hacked. I have changed the password.

2) Do not post debug info. here unless you have been asked to.

3) You need to upgrade to version 1.5.8 first.

Haji

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Flash Uploader Error
« Reply #2 on: October 30, 2010, 12:05:42 am »

Thank you for telling me but I deleted the test account ~
Maybe I'll just PM. Sorry for that~

Also, I'm afraid to upgrade because the last I install the latest one (1.5.8)
I had some errors
Logged
Pages: [1]   Go Up
 

Page created in 0.045 seconds with 20 queries.