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: Upload Problem (UNKNOWN PHP UPLOAD ERROR CODE)  (Read 9592 times)

0 Members and 1 Guest are viewing this topic.

PvtPulse

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 75
Upload Problem (UNKNOWN PHP UPLOAD ERROR CODE)
« on: August 12, 2010, 11:01:58 am »

Everything was uploading fine, then in the middle of uploading, it just stopped working. I get an error:

UNKNOWN PHP UPLOAD ERROR CODE

http://www.beyonceknowlesonline.com/photos

Do the same upload troubleshooting apply to this version of coppermine? I wanted to ask before I started changing settings and mess anything up.
Logged

PvtPulse

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 75
Re: Upload Problem (UNKNOWN PHP UPLOAD ERROR CODE)
« Reply #1 on: August 12, 2010, 06:02:13 pm »

Code: [Select]
USER:
------------------
Array
(
    [ID] => 5f4ea5ce221a0555b1021a72d63aa7a4
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [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] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg_config [include/init.inc.php:181] (5 ms)
    [1] => SELECT * FROM cpg_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `bonline_copp1`.cpg_sessions WHERE session_id = '369350081fd79f8179697943d42a2f9e' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `bonline_copp1`.cpg_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `bonline_copp1`.cpg_users AS u LEFT JOIN `bonline_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `bonline_copp1`.cpg_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms)
    [6] => 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 cpg_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:321] (0 ms)
    [7] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
    [8] => SELECT lang_id FROM cpg_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [9] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 [include/init.inc.php:387] (0 ms)
    [10] => DELETE FROM cpg_banned WHERE expiry < '2010-08-12 10:00:33' [include/init.inc.php:443] (0 ms)
    [11] => SELECT null FROM cpg_banned WHERE (user_id=1 OR '166.137.15.36' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [12] => SELECT aid, title, cid, name FROM cpg_albums INNER JOIN cpg_categories ON cid = category WHERE category < 10000 [upload.php:571] (0 ms)
    [13] => SELECT aid, title FROM cpg_albums WHERE category = 0 [upload.php:573] (0 ms)
    [14] => SELECT aid, title FROM cpg_albums WHERE category='10001' ORDER BY title [upload.php:599] (0 ms)
    [15] => SELECT user_id AS user_id, user_password AS pass_hash FROM `bonline_copp1`.cpg_users WHERE user_id = '1' [bridge/udb_base.inc.php:730] (0 ms)
    [16] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' [include/functions.inc.php:2409] (0 ms)
    [17] => SELECT lang_id, abbr FROM cpg_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [18] => DELETE FROM cpg_temp_messages WHERE time < 1281625233 [include/functions.inc.php:4911] (0 ms)
    [19] => SELECT cid, parent, name FROM cpg_categories WHERE 1 [upload.php:247] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [cpg15x_data] => YTo0OntzOjI6IklEIjtzOjMyOiI1ZjRlYTVjZTIyMWEwNTU1YjEwMjFhNzJkNjNhYTdhNCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ==
    [b2b6f3e74d0c4ab4c2430365417aadc5] => e82508887370da8428c9d32185bf0fae
    [PHPSESSID] => 98fd4f7c88377c8b6880bb1bd6e7d852
)

==========================
SESSION :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version        5.2.11               OK   
MySQL version      5.0.91-community-log OK   
Coppermine version 1.5.8                stable

==========================
Module: GD
------------------
Exact version                    2.0.34                     
GD Version                       bundled (2.0.34 compatible)
FreeType Support                 1                         
FreeType Linkage                 with freetype             
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://beyonceknowlesonline.com/photos/               
charset              utf-8                                                 
allow_private_albums 1                                                     
cookie_name          cpg15x                                               
cookie_path          /                                                     
impath               /usr/bin/                                             
lang                 english                                               
main_page_layout     breadcrumb/lastalb,2/catlist/alblist/random,2/lastup,2
silly_safe_mode      0                                                     
smtp_host                                                                 
theme                curve                                                 
thumb_method         gd1                                                   

==========================
Plugins
------------------

==========================
Server restrictions
------------------
safe_mode                                                               
safe_mode_exec_dir                                                     
safe_mode_gid                                                           
safe_mode_include_dir                                                   
sql.safe_mode                                                           
disable_functions        show_source, system, passthru, popen, proc_open
file_uploads             1                                             
include_path             .:/usr/lib/php:/usr/local/lib/php             
open_basedir                                                           
allow_url_fopen          1                                             
max_execution_time       2000                                           
max_input_time           2000                                           
upload_max_filesize      200M                                           
post_max_size            100M                                           
memory_limit             64M                                           
suhosin.post.max_vars    500                                           
suhosin.request.max_vars 500                                           


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     4.63 MiB 6.34 MiB
Page generation  87 ms    87 ms   
Page query time  5 ms     5 ms   
Page query count 20       20     


==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url:               /photos/upload.php
flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1281628833217
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:          4000 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:         /photos/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:             /photos/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:        4096000 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6IjhkZjZhOGMxOWRlZjU5OGJiYTE4ZjFhOGY1N2JmZmJhIjt9
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=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6IjhkZjZhOGMxOWRlZjU5OGJiYTE4ZjFhOGY1N2JmZmJhIjt9
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: Global Post Item: album=2
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /photos/upload.php for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: error|Unknown PHP upload error code.|0
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
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_1
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_1
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6IjhkZjZhOGMxOWRlZjU5OGJiYTE4ZjFhOGY1N2JmZmJhIjt9
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: Global Post Item: album=2
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /photos/upload.php for File ID: SWFUpload_0_1
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_1
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_1 Response Received: true Data: error|Unknown PHP upload error code.|0
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15761
Re: Upload Problem (UNKNOWN PHP UPLOAD ERROR CODE)
« Reply #2 on: August 16, 2010, 03:27:10 pm »

Moving from cpg1.5 upload board.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.