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: Uploading Error: 302  (Read 16334 times)

0 Members and 1 Guest are viewing this topic.

jakobsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Uploading Error: 302
« on: January 03, 2012, 06:33:45 pm »

Hello!
I have some troubles using Flash Driven Uploader in CPG 1.5.16.
When i try to upload any photo it returns "Uploading error: 302" after uploading.
Oddly enough, when i use Single Picture Uploader, it works well.
Please, help!

Best wishes,
Jakobsen
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Logged

jakobsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Uploading Error: 302
« Reply #2 on: January 04, 2012, 06:57:15 pm »

OK, so i get such debug while using Flash-Driven uploader:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 5777fe3ea538ce2663f7d1ac308017c6
    [lang] => polish
    [upload_method] => swfupload
    [liv] => Array
        (
        )

    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => tester
    [groups] => Array
        (
            [0] => 4
        )

    [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] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Uploader
    [can_create_public_albums] => 0
    [group_quota] => 0
    [can_see_all_albums] => 0
    [group_id] => 4
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:181] (0 ms)
    [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:53] (0 ms)
    [2] => SELECT user_id, time FROM `a5361202_galeria`.cpg15x_sessions WHERE session_id = '97675be9f670c85b390d075bc8f99c88' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `a5361202_galeria`.cpg15x_users WHERE user_id = 2 [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 `a5361202_galeria`.cpg15x_users AS u LEFT JOIN `a5361202_galeria`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `a5361202_galeria`.cpg15x_users AS u WHERE user_id='2' 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 cpg15x_usergroups WHERE group_id in (4) [bridge/udb_base.inc.php:323] (0 ms)
    [7] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 4 [bridge/udb_base.inc.php:327] (0 ms)
    [8] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (4) [bridge/udb_base.inc.php:340] (0 ms)
    [9] => UPDATE `a5361202_galeria`.cpg15x_sessions SET time = 1325699699 WHERE session_id = '97675be9f670c85b390d075bc8f99c88' [bridge/coppermine.inc.php:321] (0 ms)
    [10] => UPDATE `a5361202_galeria`.cpg15x_users SET user_lastvisit = NOW() WHERE user_id = '2' [bridge/coppermine.inc.php:325] (0 ms)
    [11] => SELECT aid FROM cpg15x_albums WHERE moderator_group IN (4) [include/init.inc.php:271] (0 ms)
    [12] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [13] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 2 [include/init.inc.php:387] (0 ms)
    [14] => DELETE FROM cpg15x_banned WHERE expiry < '2012-01-04 12:54:59' [include/init.inc.php:443] (0 ms)
    [15] => SELECT null FROM cpg15x_banned WHERE (user_id=2 OR '79.163.157.235' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [16] => SELECT aid FROM cpg15x_albums WHERE (1  AND visibility != 0 AND visibility != 10002 AND visibility NOT IN (4)) [include/functions.inc.php:976] (0 ms)
    [17] => 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 (4) OR alb_password != '')) OR (owner=2)) [upload.php:575] (0 ms)
    [18] => SELECT aid, title FROM cpg15x_albums WHERE category = 0 AND ((uploads='YES' AND (visibility = '0' OR visibility IN (4) OR alb_password != '')) OR (owner=2)) [upload.php:577] (0 ms)
    [19] => SELECT aid, title FROM cpg15x_albums WHERE category='10002' ORDER BY title [upload.php:599] (0 ms)
    [20] => SELECT user_id AS user_id, user_password AS pass_hash FROM `a5361202_galeria`.cpg15x_users WHERE user_id = '2' [bridge/udb_base.inc.php:740] (0 ms)
    [21] => SELECT cid, parent, name FROM cpg15x_categories WHERE 1 [upload.php:247] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [siteowner] => 1
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiI1Nzc3ZmUzZWE1MzhjZTI2NjNmN2QxYWMzMDgwMTdjNiI7czo0OiJsYW5nIjtzOjY6InBvbGlzaCI7czoxMzoidXBsb2FkX21ldGhvZCI7czo5OiJzd2Z1cGxvYWQiO3M6MzoibGl2IjthOjA6e31zOjI6ImFtIjtpOjE7fQ==
    [80d5732e627d7adc6958a354e1c65beb] => 57a21f8c915fcf6ca05db616bf9fd224
)

==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url:               /upload.php
flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1325699700740
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:   Wszystkie pliki
file_size_limit:          1024 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:         /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:             /upload.php
SWF DEBUG: File Types String:      *.*
SWF DEBUG: Parsed File Types:     
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: Wszystkie pliki (*.*)
SWF DEBUG: File Size Limit:        1048576 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         process=1
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMiI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImY1ZDEyNzhlODEwOWVkZDk0ZTFlNDE5N2UwNDg3M2I5Ijt9
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=2
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMiI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImY1ZDEyNzhlODEwOWVkZDk0ZTFlNDE5N2UwNDg3M2I5Ijt9
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /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: 261946
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 98304. Total: 261946
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 131072. Total: 261946
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 196608. Total: 261946
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 229376. Total: 261946
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 261946. Total: 261946
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: IMG_1749.JPG, Message: 302
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Uploading Error: 302
« Reply #3 on: January 04, 2012, 07:53:41 pm »

Without the required data we're not able to help you.
Logged

jakobsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Uploading Error: 302
« Reply #4 on: January 05, 2012, 03:55:46 pm »

Oh sorry, i totally forgot

Link: http://galeria-kfcm.site40.net/

Here's the test user account data:
    Username: tester
    Password: tester
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Uploading Error: 302
« Reply #5 on: January 05, 2012, 05:07:00 pm »

Link: http://galeria-kfcm.site40.net/
redirects to http://www.000webhost.com (this is an unsolicited advert that triggered the stop-word filter)/admin-review for me.
Logged

jakobsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Uploading Error: 302
« Reply #6 on: January 05, 2012, 05:40:38 pm »

Hmmm... It works for me on Firefox, but on IE I can see Admin Review as well... Sorry for problems then, I'm going to send mail to admin.
Logged

jakobsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Uploading Error: 302
« Reply #7 on: January 06, 2012, 12:53:22 am »

OK, it seems that problem was on side of my hosting provider. Now everything works well.

Thanks for help!
SzymekPL
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Uploading Error: 302
« Reply #8 on: January 06, 2012, 10:02:12 am »

    Username: tester
    Password: tester
Doesn't work ::)
Logged

jakobsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Uploading Error: 302
« Reply #9 on: January 06, 2012, 03:02:12 pm »

I know, i meant that problem no longer occur, since my hosting provider fixed problem on their DNS server.

You can close this thread.
Best wishes
Jakobsen
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.