---
title: "Basic Steps in Troubleshooting of HTML5/Flash Uploader"
canonical: https://www.aurigma.com/docs/us8/troubleshooting-basic-steps-iuf.htm
product: "Upload Suite 8"
---

# Basic Steps in Troubleshooting of HTML5/Flash Uploader

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
This topic is a guide which aims at helping you to understand what is wrong with your application. Here we consider the most popular errors:

- HTML5/Flash Uploader Does not Render
- Message "Not all files were uploaded successfully" Appears
- Upload is Complete but Files are not Uploaded
- You Get "Package upload error: Error #2170" Error

If an error occurs, we recommend you to start with the debug console which allows you to get error, debug, and information messages from HTML5/Flash Uploader right in your browser. To turn the debug console on you should:

1. Set the DebugScriptLevel[DebugScriptLevel (ASP.NET)](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseControl_DebugScriptLevel.htm.md)[DebugScriptLevel (PHP)](https://www.aurigma.com/docs/us8/FH_P_P_BaseControl_DebugScriptLevel.htm.md) (or [debug.level](https://www.aurigma.com/docs/us8/FH_P_J_$au_debug_level.htm.md)) to `3`.
2. Specify how debug messages should be displayed (in pop-up window, console, or alert) with the DebugScriptMode[DebugScriptMode (ASP.NET)](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseControl_DebugScriptMode.htm.md)[DebugScriptMode (PHP)](https://www.aurigma.com/docs/us8/FH_P_P_BaseControl_DebugScriptMode.htm.md) (or [debug.mode](https://www.aurigma.com/docs/us8/FH_P_J_$au_debug_mode.htm.md)) property.
3. Allow pop-up windows or open browser error console. Here are the ways to open the console in the most popular browsers:

    - In Internet Explorer 8 open **Tools -&gt; Developer Tools** (or press F12), then select **Script** tab in the left pane and click **Console** in the right pane.
    - In Mozilla Firefox we recommend to use [Firebug](https://addons.mozilla.org/en-US/firefox/addon/1843/).
    - In Google Chrome click the **Wrench** icon and select **Tools -&gt; JavaScript Console** (or press Ctrl+Shift+J).
    - In Safari turn on the **Develop** menu in the **Advanced** pane of **Safari Preferences**, after that go to **Develop -&gt; Show Error Console** (or press Cmd+Alt+C).
4. Reload your application.

The following code inserted in your application will print all debug messages from HTML5/Flash Uploader to pop-up window (or to the console if pop-ups are blocked).
```aspx-cs
<aur:ImageUploaderFlash ID="Uploader1" runat="server"DebugScriptLevel="3" DebugScriptMode="Default" />
``````
<?phprequire_once "ImageUploaderFlashPHP/Uploader.class.php";$uploader = new ImageUploaderFlash('Uploader1');$uploader->setDebugScriptLevel(3);$uploader->setDebugScriptMode("['popup','console']");$uploader->render();
?>
```
If you prefer JavaScript, remember that the following code should be inserted before rendering HTML5/Flash Uploader:
```
<script type="text/javascript">
    $au.debug().level(3);
    $au.debug().mode(['console','popup']);
</script>
```
For more information about the debug console, please, see the [Using HTML5/Flash Uploader at Runtime](https://www.aurigma.com/docs/us8/using-image-uploader-flash-at-runtime.htm.md) topic.

## HTML5/Flash Uploader Does not Render
 
Firstly, make sure that client browser has **Adobe Flash Player 10.1** plug-in installed.
 
Another possible reason is an error in your script which embeds HTML5/Flash Uploader. Please, use the debug console as it is described at the beginning of this topic to find the error.

## Message "Not all files were uploaded successfully" Appears
 
Far more likely that an internal server error has occurred, which could be caused by the following reasons:
 
- HTML5/Flash Uploader cannot save uploaded files because of wrong permissions configuration. See the [Installation and Deployment Notes](https://www.aurigma.com/docs/us8/installation-and-deployment-notes.htm.md) topic to learn how to set required permissions.
- The request size is too big. See the [Configuring HTML5/Flash Uploader ASP.NET](https://www.aurigma.com/docs/us8/configuring-aspnet-iuf.htm.md) or [Configuring HTML5/Flash Uploader PHP](https://www.aurigma.com/docs/us8/configuring-php-iuf.htm.md) topics, or refer to your server documentation to learn how to increase maximum request length.
- There is an error in your upload script (specified with the UploadSettings.ActionUrl[ActionUrl (ASP.NET)](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_ActionUrl.htm.md)[ActionUrl (PHP)](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_ActionUrl.htm.md)[actionUrl (JavaScript)](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadSettings_actionUrl.htm.md) property); see the Debugging Upload Scripts [Debugging ASP.NET Upload Scripts](https://www.aurigma.com/docs/us8/debugging-aspnet-upload-scripts-iuf.htm.md) [Debugging PHP Upload Scripts](https://www.aurigma.com/docs/us8/debugging-php-upload-scripts-iuf.htm.md) [Debugging Upload Scripts in Other Platforms](https://www.aurigma.com/docs/us8/debugging-upload-scripts-in-other-platforms-iuf.htm.md)  topic.

Also, the error message can appear if server attempts to redirect you to another page, because:
 
- Your upload script tries to redirect users to another page, but HTML5/Flash Uploader does not support redirection in an upload script. To implement redirection use the RedirectUrl[RedirectUrl (ASP.NET)](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_RedirectUrl.htm.md)[RedirectUrl (PHP)](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_RedirectUrl.htm.md)[redirectUrl (JavaScript)](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadSettings_redirectUrl.htm.md) property.
- You upload in non-Internet Explorer browser and lost session or authorization cookies, so the sever tries to redirect you to the login page. Please, see the Maintaining Sessions and Authentication [Maintaining Sessions and Authentication in ASP.NET](https://www.aurigma.com/docs/us8/maintaining-sessions-and-authentication-in-aspnet-iuf.htm.md) [Maintaining Sessions and Authentication in PHP](https://www.aurigma.com/docs/us8/maintaining-sessions-and-authentication-in-php-iuf.htm.md)  topic.

## Upload is Complete but Files are not Uploaded
 
This can indicate one of the following:
 
- You did not specify any Converter[Converter (ASP.NET)](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_Converter.htm.md)[Converter (PHP)](https://www.aurigma.com/docs/us8/FH_T_P_Converter.htm.md)[converter (JavaScript)](https://www.aurigma.com/docs/us8/FH_T_J_$au_converter.htm.md). If so, specify at least one.
- You do not actually save uploaded files. In this case, either implement the upload processing script or use the autosave feature. For more information, please, see the Saving Uploaded Files [Saving Uploaded Files in ASP.NET](https://www.aurigma.com/docs/us8/saving-uploaded-files-in-aspnet-iuf.htm.md) [Saving Uploaded Files in PHP](https://www.aurigma.com/docs/us8/saving-uploaded-files-in-php-iuf.htm.md) [Saving Uploaded Files in Other Platforms](https://www.aurigma.com/docs/us8/saving-uploaded-files-in-other-platforms-iuf.htm.md)  topic.
- You use the autosave feature, but did not specify [DestinationFolder](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseUploadControl_DestinationFolder.htm.md).
- You are trying to find files in a folder different from the one specified in your upload script.
- You use PHP platform and experience a server-side error (HTTP code 500); see the [Debugging PHP HTML5/Flash Upload Scripts](https://www.aurigma.com/docs/us8/debugging-php-upload-scripts-iuf.htm.md) topic.

## You Get "Package upload error: Error #2170" Error
 
This error occurs when you use two different domains: one for hosting HTML5/Flash Uploader and the other for uploading files to. You should implement the cross-domain policy for Flash applications and register two license keys (one per domain) in order to fix this error. See the [Using Host and Upload Domains that Differ from One Another](https://www.aurigma.com/docs/us8/using-host-and-upload-domains-that-differ-from-one-another.htm.md) topic for more information.

## See Also
 
### Reference
 
- [debug Class](https://www.aurigma.com/docs/us8/FH_T_J_$au_debug.htm.md)
- Converter Class[Converter (ASP.NET)](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_Converter.htm.md)[Converter (PHP)](https://www.aurigma.com/docs/us8/FH_T_P_Converter.htm.md)[converter (JavaScript)](https://www.aurigma.com/docs/us8/FH_T_J_$au_converter.htm.md)
- ImageUploaderFlash.UploadSettings Class[UploadSettings (ASP.NET)](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_UploadSettings.htm.md)[UploadSettings (PHP)](https://www.aurigma.com/docs/us8/FH_T_P_UploadSettings.htm.md)[uploadSettings (JavaScript)](https://www.aurigma.com/docs/us8/FH_T_J_$au_uploadSettings.htm.md)
- [BaseUploadControl.DestinationFolder Property](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseUploadControl_DestinationFolder.htm.md)

### Manual
 
- [Debugging ASP.NET HTML5/Flash Upload Scripts](https://www.aurigma.com/docs/us8/debugging-aspnet-upload-scripts-iuf.htm.md)
- [Debugging PHP HTML5/Flash Upload Scripts](https://www.aurigma.com/docs/us8/debugging-php-upload-scripts-iuf.htm.md)
- [Saving Uploaded Files in HTML5/Flash Uploader ASP.NET](https://www.aurigma.com/docs/us8/saving-uploaded-files-in-aspnet-iuf.htm.md)
- [Saving Uploaded Files in HTML5/Flash Uploader PHP](https://www.aurigma.com/docs/us8/saving-uploaded-files-in-php-iuf.htm.md)
- [Saving Uploaded Files via HTML5/Flash Uploader in Other Platforms](https://www.aurigma.com/docs/us8/saving-uploaded-files-in-other-platforms-iuf.htm.md)
- [Configuring HTML5/Flash Uploader ASP.NET](https://www.aurigma.com/docs/us8/configuring-aspnet-iuf.htm.md)
- [Configuring HTML5/Flash Uploader PHP](https://www.aurigma.com/docs/us8/configuring-php-iuf.htm.md)
- [Installation and Deployment Notes](https://www.aurigma.com/docs/us8/installation-and-deployment-notes.htm.md)
- [Using HTML5/Flash Uploader at Runtime](https://www.aurigma.com/docs/us8/using-image-uploader-flash-at-runtime.htm.md)
- [System Requirements](https://www.aurigma.com/docs/us8/system-requirements.htm.md)
- [Maintaining Sessions and Authentication in HTML5/Flash Uploader ASP.NET](https://www.aurigma.com/docs/us8/maintaining-sessions-and-authentication-in-aspnet-iuf.htm.md)
- [Maintaining Sessions and Authentication in HTML5/Flash Uploader PHP](https://www.aurigma.com/docs/us8/maintaining-sessions-and-authentication-in-php-iuf.htm.md)

### Other Resources
 
- [Firebug](https://addons.mozilla.org/en-US/firefox/addon/1843/)
