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: Unable to use FLASH Upload pictures  (Read 18387 times)

0 Members and 1 Guest are viewing this topic.

villas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Unable to use FLASH Upload pictures
« on: August 01, 2010, 06:23:14 pm »

The flash upload don't work and show me : Upload Error: 403.

The instalation is fresh with no other pictures and al configs in default. All permitions are set properly. Upload "simple - one file at time" works fine.

The Debug info:
Quote
USER:
------------------
Array
(
    [ID] => 7142dfc2673929395ffcdd1292b3abc9
    [am] => 1
    [lang] => brazilian_portuguese
    [upload_method] => swfupload
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Villas
    [groups] => Array
        (
           
  • => 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
(
   
  • => SELECT name, value FROM cpg15x_config [include/init.inc.php:178] (1 ms)
  • [1] => SELECT * FROM cpg15x_plugins ORDER BY priority
[include/plugin_api.inc.php:53] (0 ms)
    [2] => SELECT user_id, time FROM `ecoart02`.cpg15x_sessions WHERE session_id = 'c7f8f822708f13c655861732494a38a0' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `ecoart02`.cpg15x_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 `ecoart02`.cpg15x_users AS u LEFT JOIN `ecoart02`.cpg15x_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 `ecoart02`.cpg15x_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 cpg15x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:321] (0 ms)
    [7] => SELECT group_name FROM  cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
    [8] => UPDATE `ecoart02`.cpg15x_sessions SET time = UNIX_TIMESTAMP() WHERE session_id = 'c7f8f822708f13c655861732494a38a0' [bridge/coppermine.inc.php:321] (0 ms)
    [9] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:326] (0 ms)
    [10] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:384] (0 ms)
    [11] => DELETE FROM cpg15x_banned WHERE expiry < '2010-08-01 13:21:49' [include/init.inc.php:440] (0 ms)
    [12] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '201.76.17.104' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:456] (0 ms)
    [13] => SELECT aid, title, cid, name FROM cpg15x_albums INNER JOIN cpg15x_categories ON cid = category WHERE category < 10000 [upload.php:571] (0 ms)
    [14] => SELECT aid, title FROM cpg15x_albums WHERE category = 0 [upload.php:573] (0 ms)
    [15] => SELECT aid, title FROM cpg15x_albums WHERE category='10001' ORDER BY title [upload.php:599] (0 ms)
    [16] => SELECT user_id AS user_id, user_password AS pass_hash FROM `ecoart02`.cpg15x_users WHERE user_id = '1' [bridge/udb_base.inc.php:730] (0 ms)
    [17] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2402] (0 ms)
    [18] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [19] => DELETE FROM cpg15x_temp_messages WHERE time < 1280676109 [include/functions.inc.php:4903] (0 ms)
    [20] => SELECT cid, parent, name FROM cpg15x_categories WHERE 1 [upload.php:247] (0 ms)
)

==========================
GET :
------------------
Array
(
    [method] => swfupload
    [album] => 1
)

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

==========================
COOKIE :
------------------
Array
(
    [cpg_install_cookie_check] => passed
    [cpg14x_data] => YTo1OntzOjI6IklEIjtzOjMyOiI5MDljMWFiYjNlZGFlOWUzOGFhNmY0NDgxNWIzNjA1MSI7czoyOiJhbSI7aToxO3M6NToibGl2X2EiO2E6NDp7aTowO2k6NDM0O2k6MTtpOjQxODtpOjI7aTo0MjI7aTozO2k6NDE5O31zOjM6ImxpdiI7YTozOntpOjA7czo0OiI4NTM0IjtpOjE7czo0OiI4NTM1IjtpOjI7czo0OiI4NTM2Ijt9czoxMzoidXBsb2FkX21ldGhvZCI7czo5OiJzd2Z1cGxvYWQiO30=
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiI3MTQyZGZjMjY3MzkyOTM5NWZmY2RkMTI5MmIzYWJjOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoyMDoiYnJhemlsaWFuX3BvcnR1Z3Vlc2UiO3M6MTM6InVwbG9hZF9tZXRob2QiO3M6MTE6Imh0bWxfc2luZ2xlIjtzOjM6ImxpdiI7YTowOnt9fQ==
    [8831bb988574af88df0b3758ab0018e3] => caa793766e1c3e670680a2e89915e59c
    [025027144117f6eb32fb8c73f75c4f9e] => ef548ca5a54c04ed3b57eec3b6e7d80e
    [PHPSESSID] => 69ebf7709032de9342e8ab14301be0bf
)

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

==========================
VERSION INFO :
------------------
PHP version        5.2.9      OK   
MySQL version      5.0.90-log OK   
Coppermine version 1.5.6      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                                                 
XBM Support                      1                         
JIS-mapped Japanese Font Support 1                         

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

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

==========================
Server restrictions
------------------
safe_mode                                                                                                                                                                                                                                       
safe_mode_exec_dir                                                                                                                                                                                                                               
safe_mode_gid                                                                                                                                                                                                                                   
safe_mode_include_dir                                                                                                                                                                                                                           
sql.safe_mode                                                                                                                                                                                                                                   
disable_functions        passthru,show_source,shell_exec,system,pcntl_exec,popen,pclose,proc_open,proc_nice,proc_terminate,proc_get_status,proc_close,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid
file_uploads             1                                                                                                                                                                                                                       
include_path             .:/usr/local/lib/php                                                                                                                                                                                                   
open_basedir             /home/ecoart/:/tmp:/usr/local/lib/php:./                                                                                                                                                                               
allow_url_fopen          1                                                                                                                                                                                                                       
max_execution_time       240                                                                                                                                                                                                                     
max_input_time           60                                                                                                                                                                                                                     
upload_max_filesize      100M                                                                                                                                                                                                                   
post_max_size            64M                                                                                                                                                                                                                     
memory_limit             64M                                                                                                                                                                                                                     
suhosin.post.max_vars                                                                                                                                                                                                                           
suhosin.request.max_vars                                                                                                                                                                                                                         


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     3.46 MiB 3.50 MiB
Page generation  47 ms    47 ms   
Page query time  1 ms     1 ms   
Page query count 21       21     


==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
   upload_url:               /cpg15x/upload.php
   flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1280679701845
   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:          9081024 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:         /cpg15x/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:             /cpg15x/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:        9298968576 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImJmZDkyNWZhODYwODRiZDAzMDBmZGU3ZmQwNWRkZDk3Ijt9
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=1
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImJmZDkyNWZhODYwODRiZDAzMDBmZGU3ZmQwNWRkZDk3Ijt9
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /cpg15x/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: 114852. Total: 114852
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 403.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: Toco Toucan.jpg, Message: 403


Thanks in advance.

Ed
Logged

villas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Unable to use FLASH Upload pictures
« Reply #1 on: August 01, 2010, 06:25:21 pm »

I forgot the link of galery

http://www.ecoart.mus.br/cpg15x/

Thanks
Logged

villas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Unable to use FLASH Upload pictures
« Reply #2 on: August 04, 2010, 05:21:19 am »

Can anyone please??  :(
Logged

villas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Unable to use FLASH Upload pictures
« Reply #3 on: August 09, 2010, 02:50:59 pm »

In other post ...

Put in root folder (of cpg), a file named .htaccess with this code:
Code: [Select]
[size=14pt]<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>[/size]

Done
Logged

villas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Unable to use FLASH Upload pictures
« Reply #4 on: August 09, 2010, 02:54:12 pm »

Code: [Select]
Just for record

Put in root folder (of cpg), a file named .htaccess with this code:
[code]
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

And done ... upload work.

Done

[/code]
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Unable to use FLASH Upload pictures
« Reply #5 on: August 09, 2010, 08:26:19 pm »

Thanks for taking the time to resolve your thread. :)
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.