Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Error 406

Last post 03-22-2010, 10:05 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  03-22-2010, 2:56 AM 59543

    Error 406

    Hi guys,
     
    Thanks for this really cute uploader!
    But I've a question.
     
    I have downloaded the lastest build, installed in my website, and try it.
    Option:
    1. $uploader=new PhpUploader();      
    2. $uploader->Name="myuploader";  
    3. $uploader->MultipleFilesUpload=true;  
    4. $uploader->SaveDirectory="img/upload";  
    5. $uploader->AllowedFileExtensions="jpeg,jpg,gif,png";     
    6. $uploader->Render();   
     And when I try i've an error like:
     
    Silverlight : The upload task is interrupted!
    WebException : UnknownError,[HttpWebRequest_WebException_RemoteServer]
    Arguments:NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=3.0.50106.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
     
    or
     
    Flash: http 406 error
     
    In my log file I've: 
    1. [Mon Mar 22 08:32:21 2010] [error] [client *MY IP ADRESS*] mod_security: Access denied with code 406. Error processing request body: Multipart: final boundary missing [severity "EMERGENCY"] [hostname "*MY HOST NAME*"] [uri "/test/phpuploader/ajaxuploaderhandler.php?UseUploadModule=Static&_Namespace=CuteWebUI&_UploadID=myuploader_Loader_1269243144552_4&_UploadControlID=myuploader&ContextValue=d09220d4fc09f5cd17641787787a5292&PageUpload=1&_Addon=upload&_AddonGuid=b3767e60-2464-4adf-a506-a792fa8c67eb&_NoCache=634048435445559127"]

     Thanks a lot!
    Regards
     
    Abuzed
  •  03-22-2010, 10:05 AM 59560 in reply to 59543

    Re: Error 406

    Abuzed,
     
    Put the following code into htaccess to disable mod_security's POST scanning:
     
    SecFilterScanPOST Off
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.