## Aurigma Image Uploader Flash 7.0.1

# Basic Steps in Troubleshooting

- Collapse All Sections
- See Also
- Language Filter ( all languages )

This topic is a guide which aims helping you to understand what is wrong with your application. Here we consider the most popular errors:

- Image Uploader Flash Does not Render
- Message "Not all files were uploaded successfully" Appears
- Upload is Complete but Files are not Uploaded

If an error occurs we recommend you to start with the debug console which allows you to get error, debug, and information messages from Image Uploader Flash right in your browser. To turn the debug console on you should:

1. Set the DebugScriptLevel (or debug.level) to 3.
2. Specify how debug messages should be displayed (in pop-up window, console, or alert) with the DebugScriptMode (or debug.mode) 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 -> 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 Google Chrome click the Wrench icon and select Tools -> 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 -> 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 Image Uploader Flash to pop-up window (or to the console if pop-ups are blocked).

### ASP.NET

    <aur:ImageUploaderFlash ID="Uploader1" runat="server"
    	DebugScriptLevel="3" DebugScriptMode="Default" />

### PHP

    <?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 Image Uploader Flash:

### JavaScript

    <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 Image Uploader Flash at Runtime topic.

## Image Uploader Flash Does not Render

Firstly, make sure that client browser has Adobe Flash Player 10 plug-in installed.

Another possible reason is an error in your script which embeds Image Uploader Flash. 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:

- Image Uploader Flash cannot save uploaded files because of wrong permissions configuration. See the Installation and Deployment Notes topic to get to know how to set required permissions.
- The request size is too big. See the Configuring ASP.NET or Configuring PHP topics, or refer to your server documentation to get to know 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.

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 Image Uploader Flash 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.

## Upload is Complete but Files are not Uploaded

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 Upload Scripts topic.

## See Also

### Reference

- debug Class
- Converter Class
- ImageUploaderFlash.UploadSettings Class
- BaseUploadControl.DestinationFolder Property

### Manual

- Debugging ASP.NET Upload Scripts
- Debugging PHP Upload Scripts
- Saving Uploaded Files in ASP.NET
- Saving Uploaded Files in PHP
- Configuring ASP.NET
- Configuring PHP
- Installation and Deployment Notes
- Using Image Uploader Flash at Runtime
- System Requirements
- Maintaining Sessions and Authentication in ASP.NET
- Maintaining Sessions and Authentication in PHP

### Other Resources

- Firebug

- Debugging ASP.NET Upload Scripts
- Debugging PHP Upload Scripts

- Saving Uploaded Files in ASP.NET
- Saving Uploaded Files in PHP

- Maintaining Sessions and Authentication in ASP.NET
- Maintaining Sessions and Authentication in PHP

- DebugScriptLevel (ASP.NET)
- DebugScriptLevel (PHP)

- DebugScriptMode (ASP.NET)
- DebugScriptMode (PHP)

- ActionUrl (ASP.NET)
- ActionUrl (PHP)
- actionUrl (JavaScript)

- RedirectUrl (ASP.NET)
- RedirectUrl (PHP)
- redirectUrl (JavaScript)

- Converter (ASP.NET)
- Converter (PHP)
- converter (JavaScript)

- Converter (ASP.NET)
- Converter (PHP)
- converter (JavaScript)

- UploadSettings (ASP.NET)
- UploadSettings (PHP)
- uploadSettings (JavaScript)