Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Erro: An error occurred in the upload. Try again later.


Go to End
Reply


15 Posts   4084 Views

Avatar
Media Contour

Community Member, 33 Posts

30 August 2009 at 7:22am

Edited: 30/08/2009 7:23am

I'm using the DataObjectManager [v1.0] along with SWFUploadField [v0.6] and its working well on my local environment. Unfortunately when I push it live to my site I get the following message when I cilck on the "Upload" button to upload a number of images.

"An error occurred in the upload. Try again later."

When I click the Ok button I get the following error message.

There was a problem with the upload.
The server did not accept it.

And nothing ends up uploading.

Again it works locally but not on the live site so I'm guessing it a server issue but I have no idea how to fix it.

Avatar
UncleCheese

Forum Moderator, 4094 Posts

30 August 2009 at 11:10am

Make sure you do not have mod_security running on your server.

Avatar
Media Contour

Community Member, 33 Posts

30 August 2009 at 11:23am

Thanks for the reply.

Since I'm just a web designer and not really a programmer or server administrator. I'll try my best to see if I can figure out whether I have mod_security running on my server.

Avatar
stooni

Community Member, 89 Posts

5 October 2009 at 6:28am

how can change this

Disabel mod_security ?

thanks for Help!

------------Stooni!

Avatar
stooni

Community Member, 89 Posts

5 October 2009 at 7:49pm

i know the answer get this

<IfModule mod_security.c>
###########################################
# disable POST processing to not break multiple image upload

SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

in the file .htaccess in the root directory and now working!

---------- Stooni

Avatar
phinel

Community Member, 16 Posts

15 October 2009 at 10:56pm

Edited: 15/10/2009 10:58pm

Hello

I have an error, too. While i'm trying to upload file(s). Here is my debug:

---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
   upload_url: http://xxx/FileDataObjectManager_Controller/handleswfupload
   flash_url: http://xxx/swfupload/javascript/swfupload.swf?preventswfcaching=1255600235541
   use_query_string: false
   requeue_on_error: false
   http_success:
   assume_success_timeout: 0
   file_post_name: swfupload_file
   post_params: [object Object]
   file_types:
   file_types_description:
   file_size_limit: 8MB
   file_upload_limit: 20
   file_queue_limit: 20
   debug: true
   prevent_swf_caching: true
   button_placeholder_id: spanButtonPlaceholder
   button_placeholder: Not Set
   button_image_url: http://xxx/swfupload/images/upload_button.png
   button_width: 180
   button_height: 24
   button_text: <span class='button'>Upload files</span>
   button_text_style: .button { font-family: Helvetica, Arial, sans-serif; font-size: 12px; }
   button_text_top_padding: 6
   button_text_left_padding: 6
   button_action: -110
   button_disabled: false
   custom_settings: [object Object]
Event Handlers:
   swfupload_loaded_handler assigned: true
   file_dialog_start_handler assigned: true
   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: http://xxx/FileDataObjectManager_Controller/handleswfupload
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: ()
SWF DEBUG: File Size Limit: 8388608 bytes
SWF DEBUG: File Upload Limit: 20
SWF DEBUG: File Queue Limit: 20
SWF DEBUG: Post Params:
SWF DEBUG: fileFieldName=Files
SWF DEBUG: controllerID=519
SWF DEBUG: fileClassName=File
SWF DEBUG: hasDataObject=0
SWF DEBUG: dataObjectFieldName=
SWF DEBUG: parentIDName=ParentID
SWF DEBUG: dataObjectClassName=File
SWF DEBUG: OverrideUploadFolder=assets/Test/
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: fileFieldName=Files
SWF DEBUG: Global Post Item: controllerID=519
SWF DEBUG: Global Post Item: fileClassName=File
SWF DEBUG: Global Post Item: hasDataObject=0
SWF DEBUG: Global Post Item: dataObjectFieldName=
SWF DEBUG: Global Post Item: parentIDName=ParentID
SWF DEBUG: Global Post Item: dataObjectClassName=File
SWF DEBUG: Global Post Item: OverrideUploadFolder=assets/Test/
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://xxx/FileDataObjectManager_Controller/handleswfupload 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: 65536. Total: 115369
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 98304. Total: 115369
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 115369. Total: 115369
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 403.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: -200, File name: test.pdf, File size: 115369, Message: 403

can somebody help me?

Thanks

Avatar
UncleCheese

Forum Moderator, 4094 Posts

16 October 2009 at 1:04am

This line:

SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 403.

shows you're getting a 403 "Forbidden" error.
http://www.checkupdown.com/status/E403.html

Make sure you don't have mod_security running and that the URL http://xxx/FileDataObjectManager_Controller/handleswfupload
is accessible.

Avatar
phinel

Community Member, 16 Posts

16 October 2009 at 2:12am

Thanks for your answer.

The url is accessible (i receive a blank page).

My problem is, that i am not the hoster of the web page and i have no possibility to check or change the value mod_security. i've already tried to disable this by adding a value to the .htaccess file, but after this i receive an http error.

Go to Top