Site online in a subdirectory
Mod.security activated
Clean urls disabled
No token in use for this field

Firefox 3.5.6

Dreamhost hosting

I've tried these solutions:
http://drupal.org/node/444988#comment-2085802
http://drupal.org/node/444988#comment-2541332

In /.htaccess (with /subdirectory/ecc)
and /subdirectory/.htaccess

Same result all time: Upload error: 503
Thanks

---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: /beta/?q=fupload/flash
flash_url: /beta/sites/all/modules/image_fupload/swfupload/swfupload.swf?preventswfcaching=1269726876082
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: *.png; *.gif; *.jpg; *.jpeg
file_types_description: Only images
file_size_limit: 0
file_upload_limit: 100
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: spanUploadButton
button_placeholder: Not Set
button_image_url: /beta/sites/all/modules/image_fupload/swfupload/select_images.png
button_width: 36
button_height: 37
button_text:
button_text_style: color: #000000; font-size: 16pt;
button_text_top_padding: 0
button_text_left_padding: 0
button_action: -110
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: false
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

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: /beta/?q=fupload/flash
SWF DEBUG: File Types String: *.png; *.gif; *.jpg; *.jpeg
SWF DEBUG: Parsed File Types: png,gif,jpg,jpeg
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: Only images (*.png; *.gif; *.jpg; *.jpeg)
SWF DEBUG: File Size Limit: 0 bytes
SWF DEBUG: File Upload Limit: 100
SWF DEBUG: File Queue Limit: 100
SWF DEBUG: Post Params:
SWF DEBUG: fieldname=field_fotologin
SWF DEBUG: PHPSESSID=ns2vdnjg1un52ri2jsudlr2nj3
SWF DEBUG: nodetype=foto_login
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.png; *.gif; *.jpg; *.jpeg
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: fieldname=field_fotologin
SWF DEBUG: Global Post Item: PHPSESSID=ns2vdnjg1un52ri2jsudlr2nj3
SWF DEBUG: Global Post Item: nodetype=foto_login
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /beta/?q=fupload/flash for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 503.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: foto francesca.jpg, Message: 503

Comments

grandcat’s picture

Category: bug » support
Status: Active » Fixed

Mod.security activated

Have a look here how to fix it:
http://drupal.org/node/444988#comment-2541332

frazac’s picture

I've not a dedicated server...

I placed

<IfModule mod_security.c>
  SetEnvIfNoCase Request_URI ^/fupload/flash$ MODSEC_ENABLE=Off
  SetEnvIfNoCase Request_URI ^/index.php?q=fupload/flash$ MODSEC_ENABLE=Off
</IfModule>

in .htaccess with no results

grandcat’s picture

Perhaps your hoster doesn't allow to disable it. Please contact him.

frazac’s picture

thanks for help! I've find a solution.

Now fupload it's working with some provider, and not with someother...

It upload only images under 129024 bytes!

Debug with image A stop here:
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 129024. Total: 316742

Debug with image B stop here:
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 129024. Total: 678178

Debug with image C (15.000bytes) it's ok:
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: { "status": true, "data": "Complete. " }
SWF DEBUG: Event: uploadComplete : Upload cycle complete.

I suspect that it's not a fupload fault but wherelse search for support/solutions? Thanks in advance! Bye

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.