Troubleshooting » Flash Uploader Errors

About the Yahoo UI Flash Uploader

Pixaria includes a built in multiple file uploader which is powered by the YUI Uploader module from Yahoo. The uploader component is based on Adobe Flash technology and offers an improved file upload experience by making it possible to select and upload multiple files at at the same time.

The upload component uses a feature of Adobe Flash that allows file uploads over HTTP (a web connection) and because of this the uploader can experience problems if it is not able to establish a web connection to server where Pixaria is installed. In the event of a connection problem, you may be presented with one of a number of generic error messages such as this one:

{"id": "file128", "status": "[IOErrorEvent type=\"ioError\"
bubbles=false cancelable=false eventPhase=2 text=\"Error #2038\"]",
"type": "uploadError"}

Firewalls, Proxies and .htaccess Password Protection

This error message can appear with a Flash uploader error code of '407' if your Pixaria website is protected with .htaccess password protection (also known as HTTP Basic Authentication) or if you are connecting to your site from behind a firewall or through a proxy server that requires authentication.

If you are using HTTP Basic Authentication, you will need to disable this on your site before you can use the uploader tool. Most issues with proxy servers and firewalls can be resolved by ensuring that your internet connection settings are correctly configured to authenticate with the proxy server. For assistance with this, you may need to consult your IT systems administrator.

Flash Uploader and Apache Mod_Security

If your server makes use of mod_security filtering (many shared hosting providers do), it's possible that this will cause problems when attempting to upload files using the Flash uploader. To resolve this issue, you will need to open the .htaccess file in the base level of your Pixaria installation and add these lines of code which will disable the mod_security system:

<IfModule mod_security.c>
SecFilterScanPOST Off
SecFilterEngine Off
</IfModule>

If there is no .htaccess file present, then you should create one and upload it to the document root of your web site using an FTP program.

Note: Some hosting providers may disable modification of Mod_Security settings using .htaccess files in which case, you may experience problems using this technique. In the event that the .htaccess file doesn't work or causes errors, you may need to remove it and then contact your hosting provider for assistance.


blog comments powered by Disqus


Last edited on Tuesday March 22 2011 at 07:00:52