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:
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:
3
.Allow pop-up windows or open browser error console. Here are the ways to open the console in the most popular browsers:
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).
<aur:ImageUploaderFlash ID="Uploader1" runat="server" DebugScriptLevel="3" DebugScriptMode="Default" />
<?php require_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 topic.
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.
Far more likely that an internal server error has occurred, which could be caused by the following reasons:
Also, the error message can appear if server attempts to redirect you to another page, because:
This can indicate one of the following:
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 topic for more information.