Aurigma ActiveX/Java Uploader 8.5.55
Basic Steps in Troubleshooting of ActiveX/Java Uploader
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:
- ActiveX/Java Uploader Does not Render
- Message "ActiveX/Java Uploader Encountered Some Problem" Appears
- Upload is Complete but Files are not Uploaded
- Redirect Message Appears
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:
- Set the DebugScriptLevel (or debug.level) to 3.
- Specify how debug messages should be displayed (in pop-up window, console, or alert) with the DebugScriptMode (or debug.mode) property.
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 -> 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.
- In Safari turn on the Develop menu in the Advanced pane of Safari Preferences, after that go to Develop -> Show Error Console (or press Cmd+Alt+C).
- Reload your application.
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(); ?>
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:
- ActiveX/Java Uploader cannot save uploaded files because of wrong permissions configuration. See the Installation and Deployment Notes topic to learn how to set required permissions.
- The request size is too big. See the Configuring ActiveX/Java Uploader ASP.NET or Configuring ActiveX/Java Uploader PHP 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 property); see the Debugging Upload Scripts topic.
This can indicate one of the following:
- You did not specify any Converter. 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 topic.
- You use the autosave feature, but did not specify DestinationFolder.
- 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 ActiveX/Java Upload Scripts topic.
There are three possible reasons of getting "The server attempted to redirect you to http://someserver.com, but server redirects are not supported." message:
- Your upload script tries to redirect users to another page, but ActiveX/Java Uploader does not support redirection in an upload script. To implement redirection use the RedirectUrl 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 topic.
- A server error has occurred and the server tried to redirect users to a custom error page, please, see the Debugging Upload Scripts topic.
- debug Class
- Converter Class
- UploadSettings.ActionUrl Property
- UploadSettings.RedirectUrl Property
- BaseUploadControl.DestinationFolder Property
- Debugging ASP.NET ActiveX/Java Upload Scripts
- Debugging PHP ActiveX/Java Upload Scripts
- Debugging ActiveX/Java Upload Scripts in Other Platforms
- Saving Uploaded Files in ActiveX/Java Uploader PHP
- Saving Uploaded Files in ActiveX/Java Uploader ASP.NET
- Configuring ActiveX/Java Uploader PHP
- Configuring ActiveX/Java Uploader ASP.NET
- Installation and Deployment Notes
- Installing ActiveX/Java Uploader on Client Side
- Maintaining Sessions and Authentication in ActiveX/Java Uploader ASP.NET
- Maintaining Sessions and Authentication in ActiveX/Java Uploader PHP