Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Multiple file upload, "Upload Failed"  (Read 22564 times)

0 Members and 1 Guest are viewing this topic.

fabo92

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Multiple file upload, "Upload Failed"
« on: June 16, 2010, 10:39:39 am »

I searched in the forum but I found only this topic: http://forum.coppermine-gallery.net/index.php/topic,64522.0.html

I tried with different browser but the error remain.

Test account
Username: test
Password: 123456


Code: (DEBUG) [Select]
USER:
------------------
Array
(
    [ID] => 2cfc7097ef5a67c6fce9ff8411179830
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
        )

    [upload_method] => swfupload
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 615
    [user_name] => test
    [groups] => Array
        (
            [0] => 102
            [1] => 100
        )

    [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] => 0
    [access_level] => 3
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Registrati
    [group_quota] => 0
    [can_see_all_albums] => 0
    [group_id] => 102
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:178] (0 ms)
    [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:53] (0 ms)
    [2] => SELECT name, value FROM cpg15x_bridge [include/functions.inc.php:4408] (0 ms)
    [3] => SELECT u.uid, u.loginkey, additionalgroups
                FROM `netmodding_forum`.mybb_sessions AS s
                INNER JOIN `netmodding_forum`.mybb_users AS u ON u.uid = s.uid
                WHERE sid = 'e8b69e047c86f4250a9af4ba2c988ae3' [bridge/mybb.inc.php:132] (0 ms)
    [4] => SELECT u.uid AS id, u.username AS username, loginkey AS password, u.usergroup AS group_id FROM `netmodding_forum`.mybb_users AS u LEFT JOIN `netmodding_forum`.mybb_usergroups AS g ON u.usergroup=g.gid WHERE u.uid='615' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => 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 cpg15x_usergroups WHERE group_id in (102,100) [bridge/udb_base.inc.php:321] (0 ms)
    [6] => SELECT group_name FROM  cpg15x_usergroups WHERE group_id= 102 [bridge/udb_base.inc.php:325] (0 ms)
    [7] => SELECT aid FROM cpg15x_albums WHERE moderator_group IN (102,100) [include/init.inc.php:268] (0 ms)
    [8] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:326] (0 ms)
    [9] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 615 [include/init.inc.php:384] (0 ms)
    [10] => DELETE FROM cpg15x_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE [plugins/onlinestats/codebase.php:123] (0 ms)
    [11] => REPLACE INTO cpg15x_mod_online (user_id, user_name, user_ip, last_action) VALUES ('615', 'test', '82.60.64.73', NOW()) [plugins/onlinestats/codebase.php:128] (0 ms)
    [12] => DELETE FROM cpg15x_banned WHERE expiry < '2010-06-16 10:27:44' [include/init.inc.php:440] (0 ms)
    [13] => SELECT null FROM cpg15x_banned WHERE (user_id=615 OR '82.60.64.73' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:456] (0 ms)
    [14] => SELECT aid FROM cpg15x_albums WHERE (1  AND visibility != 0 AND visibility != 10615 AND visibility NOT IN (102,100)) [include/functions.inc.php:960] (0 ms)
    [15] => SELECT aid, title, cid, name FROM cpg15x_albums INNER JOIN cpg15x_categories ON cid = category WHERE category < 10000 AND ((uploads='YES' AND (visibility = '0' OR visibility IN (102,100))) OR (owner=615)) [upload.php:575] (0 ms)
    [16] => SELECT aid, title FROM cpg15x_albums WHERE category = 0 AND ((uploads='YES' AND (visibility = '0' OR visibility IN (102,100))) OR (owner=615)) [upload.php:577] (0 ms)
    [17] => SELECT aid, title FROM cpg15x_albums WHERE category='10615' ORDER BY title [upload.php:599] (0 ms)
    [18] => SELECT uid AS user_id, loginkey AS pass_hash FROM `netmodding_forum`.mybb_users WHERE uid = '615' [bridge/udb_base.inc.php:730] (0 ms)
    [19] => SELECT cid, parent, name FROM cpg15x_categories WHERE 1 [upload.php:247] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [mybb] => Array
        (
            [lastvisit] => 1276675909
            [lastactive] => 1276676457
        )

    [loginattempts] => 1
    [sid] => e8b69e047c86f4250a9af4ba2c988ae3
    [mybbuser] => 615_fLBGTc9bIiNCPddiz6HMx9GRreLBhbmoy5cfZz1zPnZlfYuODa
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiIyY2ZjNzA5N2VmNWE2N2M2ZmNlOWZmODQxMTE3OTgzMCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJpdGFsaWFuIjtzOjM6ImxpdiI7YTowOnt9czoxMzoidXBsb2FkX21ldGhvZCI7czo5OiJzd2Z1cGxvYWQiO30=
    [PHPSESSID] => pi01nvrbvpn88g144pknsbsai6
)

==========================
SESSION :
------------------
Array
(
    [php_captcha] => 4bfc1e4af5392f414e0580e47d0d9a9e
)

==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url:               /forum/gallery/upload.php
flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1276676997280
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:          2048 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:         /forum/gallery/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:             /forum/gallery/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:        2097152 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MzoiNjE1IjtzOjk6InBhc3NfaGFzaCI7czo1MDoiZkxCR1RjOWJJaU5DUGRkaXo2SE14OUdScmVMQmhibW95NWNmWnoxelBuWmxmWXVPRGEiO30=
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: album=4
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MzoiNjE1IjtzOjk6InBhc3NfaGFzaCI7czo1MDoiZkxCR1RjOWJJaU5DUGRkaXo2SE14OUdScmVMQmhibW95NWNmWnoxelBuWmxmWXVPRGEiO30=
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /forum/gallery/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: 264437
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 98304. Total: 264437
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 131072. Total: 264437
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 163840. Total: 264437
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 196608. Total: 264437
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 262144. Total: 264437
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 264437. Total: 264437
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data:
SWF DEBUG: success|albums/userpics/10001/thumb_image002%7E0.jpg
SWF DEBUG: Event: uploadComplete : Upload cycle complete.

Plugin installed:
-Who is online? (onlinestats): v2.5
-iScroll for Coppermine (iscroll): v2.1
-LightBox NotesFor.net (lightbox_notes_for_net): v3.0
-Mousewheel support for filmstrip (stripwheel): v0.4

File settings (images attached).

Thanks in advance.


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple file upload, "Upload Failed"
« Reply #1 on: June 16, 2010, 11:18:30 am »

Test user accounts are so much more helpfull if they come with a link to your gallery ::). Read up Documentation: Asking for support on upload issues, as you did quite the opposite of what you're supposed to do.
Logged

fabo92

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Multiple file upload, "Upload Failed"
« Reply #2 on: June 16, 2010, 01:29:50 pm »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple file upload, "Upload Failed"
« Reply #3 on: June 16, 2010, 06:20:39 pm »

Logged

fabo92

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Multiple file upload, "Upload Failed"
« Reply #4 on: June 17, 2010, 11:32:40 am »

Done it, the return when I upload a file is always "Upload failed". Anyway despite this, the files are uploaded correctly but all this popup that came out are annoying..
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Multiple file upload, "Upload Failed"
« Reply #5 on: June 17, 2010, 03:28:16 pm »

Can you please install a second gallery on the same website without any bridging, plugins and customized themes? Just a fresh standard installation of cpg1.5.6. Please report back if the error exists there, too.
Logged

fabo92

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Multiple file upload, "Upload Failed"
« Reply #6 on: June 17, 2010, 03:48:47 pm »

I tried to change the theme and it works... Maybe I lost some theme files for the upload?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple file upload, "Upload Failed"
« Reply #7 on: June 18, 2010, 08:54:46 am »

Logged

fabo92

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Multiple file upload, "Upload Failed"
« Reply #8 on: June 18, 2010, 10:28:59 am »

No, it isn't.. I can't find what is the cause to the problem... Is the theme but don't know what of it..
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Multiple file upload, "Upload Failed"
« Reply #9 on: June 18, 2010, 10:37:03 am »

Then attach your theme if you need help to find the cause.
Logged

fabo92

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Multiple file upload, "Upload Failed"
« Reply #10 on: June 18, 2010, 11:07:04 am »

I've restricted the cause to theme.php... Here it is:

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Multiple file upload, "Upload Failed"
« Reply #11 on: June 22, 2010, 04:05:13 pm »

Delete line 1 (the blank line).
Logged

Jo Alfemo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Multiple file upload, "Upload Failed"
« Reply #12 on: June 22, 2010, 04:58:33 pm »

Link to galery -> www.cetos.info/galeria

Hello

2 questions

1. Its possibel to a Multiple file upload? Becouse im my galery i just see 1 otption
2. Its possibel to send a foto whit a extermal link (form a site to my galery)?

Tks for help

Sorry for my bad englisch :(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Multiple file upload, "Upload Failed"
« Reply #13 on: June 22, 2010, 05:40:29 pm »

10. One question per thread
We have a strict "One question/issue per thread rule", which helps both supporters/moderators to keep track of open/closed issues as well as users who search the board or browse it, looking for answers to their question. Don't try to "hijack" other's threads by posting unrelated questions to an existing thread.
Anyway, all of your questions can be answered by reading the documentation and searching the board!
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.