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 ActiveX/Java Uploader right in your browser. To turn the debug console on you should:
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 ActiveX/Java Uploader to pop-up window (or to the console if pop-ups are blocked).
<aur:Uploader ID="Uploader1" runat="server" DebugScriptLevel="3" DebugScriptMode="Default" > </aur:Uploader>
<?php
require_once "ImageUploaderPHP/Uploader.class.php";
$uploader = new Uploader('Uploader1');
$uploader->setDebugScriptLevel(3);
$uploader->setDebugScriptMode("['popup','console']");
$uploader->render();
?>If you prefer JavaScript, remember that the following code should be inserted before rendering ActiveX/Java Uploader:
<script type="text/javascript">
$au.debug().level(3);
$au.debug().mode(['popup','console']);
</script>
For more information about the debug console, please, see the Using JavaScript API topic.
Firstly, make sure that ActiveX/Java Uploader is installed on the client side; for more information on how to install the client parts of ActiveX/Java Uploader, see the Installing ActiveX/Java Uploader on Client Side topic.
Another possible reason is an error in your script which embeds ActiveX/Java Uploader. Please, use the debug console as it is described at the beginning of this topic to find the error.
It means that an internal server error has occurred. Far more likely that:
This can indicate one of the following:
There are three possible reasons of getting "The server attempted to redirect you to http://someserver.com, but server redirects are not supported." message: