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 File Error in 1.5.8.  (Read 13724 times)

0 Members and 1 Guest are viewing this topic.

pavelh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Upload File Error in 1.5.8.
« on: August 30, 2010, 04:00:12 pm »

I have upgraded from version 1.5.6. to ver. 1.5.8.
When I want Upload file - I get error message Upload Failed and error dialog is displayed:
[Image attached by André]
and I must click OK

But picture and thumbnail is uploaded successfully.

Photogallery: www.klatovynet.eu/fotogalerie

Debug info:

Code: [Select]
USER:
------------------
Array
(
    [ID] => d9f2e0bb475851e2690d5ab684002bfa
    [theme] => snet
    [lang] => czech
    [liv] => Array
        (
            [0] => 73329
            [1] => 73330
            [2] => 73331
            [3] => 73332
            [4] => 73333
        )

    [liv_a] => Array
        (
            [0] => 388
            [1] => 2555
            [2] => 2556
            [3] => 1047
            [4] => 2559
        )

    [am] => 1
)

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

    [disk_max] => 200000
    [disk_min] => 200000
    [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] => 200000
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM foto_config [include/init.inc.php:181] (0 ms)
    [1] => SELECT * FROM foto_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `klatovyn_2`.foto_sessions WHERE session_id = 'e25968c770a4aa672281c849979308cf' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `klatovyn_2`.foto_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 `klatovyn_2`.foto_users AS u LEFT JOIN `klatovyn_2`.foto_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 `klatovyn_2`.foto_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 foto_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:321] (0 ms)
    [7] => SELECT group_name FROM  foto_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
    [8] => UPDATE `klatovyn_2`.foto_sessions SET time = UNIX_TIMESTAMP() WHERE session_id = 'e25968c770a4aa672281c849979308cf' [bridge/coppermine.inc.php:321] (0 ms)
    [9] => UPDATE `klatovyn_2`.foto_users SET user_lastvisit = NOW() WHERE user_id = '1' [bridge/coppermine.inc.php:325] (0 ms)
    [10] => SELECT lang_id FROM foto_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [11] => SELECT user_favpics FROM foto_favpics WHERE user_id = 1 [include/init.inc.php:387] (0 ms)
    [12] => DELETE FROM foto_banned WHERE expiry < '2010-08-30 15:08:01' [include/init.inc.php:443] (0 ms)
    [13] => SELECT null FROM foto_banned WHERE (user_id=1 OR '78.80.195.116' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [14] => SELECT aid, title, cid, name FROM foto_albums INNER JOIN foto_categories ON cid = category WHERE category < 10000 [upload.php:571] (2 ms)
    [15] => SELECT aid, title FROM foto_albums WHERE category = 0 [upload.php:573] (0 ms)
    [16] => SELECT aid, title FROM foto_albums WHERE category='10001' ORDER BY title [upload.php:599] (0 ms)
    [17] => SELECT user_id AS user_id, user_password AS pass_hash FROM `klatovyn_2`.foto_users WHERE user_id = '1' [bridge/udb_base.inc.php:730] (0 ms)
    [18] => SELECT COUNT(*) FROM foto_pictures WHERE approved = 'NO' [include/functions.inc.php:2409] (14 ms)
    [19] => SELECT lang_id, abbr FROM foto_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [20] => DELETE FROM foto_temp_messages WHERE time < 1283170081 [include/functions.inc.php:4911] (0 ms)
    [21] => SELECT cid, parent, name FROM foto_categories WHERE 1 [upload.php:247] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [e9c6d4ed21cd639afc16545d8dcd99f1] => 3228e3358f2a92fbd45ec78e69326d2f
    [PHPSESSID] => 50d3c797e4b1ad6d97a854d2be13d921
    [4c984687bd46048383d2f7b189896c33] => 93cf116ada55697b6ce960d2f5c11330
    [snetg150_data] => YTo2OntzOjI6IklEIjtzOjMyOiJkOWYyZTBiYjQ3NTg1MWUyNjkwZDVhYjY4NDAwMmJmYSI7czo1OiJ0aGVtZSI7czo0OiJzbmV0IjtzOjQ6ImxhbmciO3M6NToiY3plY2giO3M6MzoibGl2IjthOjU6e2k6MDtzOjU6IjczMzI5IjtpOjE7czo1OiI3MzMzMCI7aToyO3M6NToiNzMzMzEiO2k6MztzOjU6IjczMzMyIjtpOjQ7czo1OiI3MzMzMyI7fXM6NToibGl2X2EiO2E6NTp7aTowO2k6Mzg4O2k6MTtpOjI1NTU7aToyO2k6MjU1NjtpOjM7aToxMDQ3O2k6NDtpOjI1NTk7fXM6MjoiYW0iO2k6MTt9
    [a0de0a55ac41e36e562e1983cd9c7a65] => ed6bcde1f999036452c4f2bd43b08c06
)

==========================
SESSION :
------------------
Array
(
    [php_captcha] => bd9f17d84150da5cdc3c12f2e0239c55
)

==========================
VERSION INFO :
------------------
PHP version        5.2.6-1+lenny6    OK    
MySQL version      5.0.51a-24+lenny3 OK    
Coppermine version 1.5.8             stable

==========================
Module: GD
------------------
Exact version                    2.0          
GD Version                       2.0 or higher
FreeType Support                 1            
FreeType Linkage                 with freetype
T1Lib Support                    1            
GIF Read Support                 1            
GIF Create Support               1            
JPG Support                      1            
PNG Support                      1            
WBMP Support                     1            
XPM Support                                  
XBM Support                                  
JIS-mapped Japanese Font Support              

==========================
Key config settings
------------------
site_url             http://www.klatovynet.eu/fotogalerie/      
charset              utf-8                                      
allow_private_albums 1                                          
cookie_name          snetg150                                    
cookie_path          /                                          
impath               /usr/bin/                                  
lang                 czech                                      
main_page_layout     breadcrumb/catlist/alblist/lastup,2/random,2
silly_safe_mode      1                                          
smtp_host                                                        
theme                snet                                        
thumb_method         gd2                                        

==========================
Plugins
------------------
Name           JUpload Coppermine Plugin      
Actions        plugin_wakeup, page_start      
Filters        add_file_data                  
--------------A
Name           User Gallery Alphabetic Tabbing
Actions                                      
Filters                                      
--------------

==========================
Server restrictions
------------------
safe_mode                1                    
safe_mode_exec_dir                            
safe_mode_gid                                  
safe_mode_include_dir                          
sql.safe_mode                                  
disable_functions                              
file_uploads             1                    
include_path             .:/usr/lib/php        
open_basedir             /www/sites/4/site24034
allow_url_fopen          1                    
max_execution_time       45                    
max_input_time           45                    
upload_max_filesize      10M                  
post_max_size            10M                  
memory_limit             48M                  
suhosin.post.max_vars                          
suhosin.request.max_vars                      


==========================
Page (performance)
------------------
Parameter        Current Peak  
Memory usage     6.16 MB 7.83 MB
Page generation  104 ms  104 ms
Page query time  16 ms   16 ms  
Page query count 22      22    


==========================
                ---SWFUpload Instance Info--- Version: 2.2.0 2009-03-25 Movie Name: SWFUpload_0 Settings: upload_url: /fotogalerie/upload.php flash_url: js/swfupload/swfupload.swf?preventswfcaching=1283173683687 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: Všechny soubory file_size_limit: 6000 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: /fotogalerie/images/browse_swf.png button_width: 130 button_height: 20 button_text: Procházet... button_text_style: color: #000000; font-size: 16pt; 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: /fotogalerie/upload.php SWF DEBUG: File Types String: *.* SWF DEBUG: Parsed File Types: SWF DEBUG: HTTP Success: 0 SWF DEBUG: File Types Description: Všechny soubory (*.*) SWF DEBUG: File Size Limit: 6144000 bytes SWF DEBUG: File Upload Limit: 0 SWF DEBUG: File Queue Limit: 0 SWF DEBUG: Post Params: SWF DEBUG: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImNmNzBiYzhkMzFjMjc4ZGUwY2M3ODFkNjI3MTFmNDM2Ijt9 SWF DEBUG: process=1 SWF DEBUG: ----- END SWF DEBUG OUTPUT ---- SWF DEBUG: Removing Flash functions hooks (this should only run in IE and should prevent memory leaks) 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=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImNmNzBiYzhkMzFjMjc4ZGUwY2M3ODFkNjI3MTFmNDM2Ijt9 SWF DEBUG: Global Post Item: album=2559 SWF DEBUG: Global Post Item: process=1 SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /fotogalerie/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: 139292 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65536. Total: 139292 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 98304. Total: 139292 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 131072. Total: 139292 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 139292. Total: 139292 SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: SWF DEBUG: success|albums/userpics/thumb_IMG_9209%7E0.JPG SWF DEBUG: Event: uploadComplete : Upload cycle complete.
« Last Edit: September 01, 2010, 04:03:25 pm by Αndré »
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Upload File Error in 1.5.8.
« Reply #1 on: August 30, 2010, 08:26:52 pm »

Please do not hot link images, post them instead.
please don't post debug info unless it is asked of you, and use code tags if you do. I fixed it for you.

Please follow what is outlined here in the docs => http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

pavelh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload File Error in 1.5.8.
« Reply #2 on: August 30, 2010, 08:58:48 pm »

Please follow what is outlined here in the docs => http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble
Thank You.
Simple uploading works fine.
But Flash upload began problems in ver. 1.5.8.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Upload File Error in 1.5.8.
« Reply #3 on: August 30, 2010, 09:58:23 pm »

You still need to follow the guides. By doing that and giving us a test account etc we can test and assist in diagnostics.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

pavelh

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload File Error in 1.5.8.
« Reply #4 on: August 31, 2010, 07:32:40 am »

Hi,

By doing that and giving us a test account etc we can test and assist in diagnostics.

http://www.vjihlave.cz/fotogalerie

Here's the test user account data:
    Username: user3
    Password: user3

Thank You, Pavel.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Upload File Error in 1.5.8.
« Reply #5 on: August 31, 2010, 08:55:51 pm »

Works for me - http://www.vjihlave.cz/fotogalerie/displayimage.php?pid=19&fullsize=1

Try uploading smaller file sizes. If it is size relates then you will need to look at your php settings to increase what is allowed.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.