Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
cheekyadmin  
#1 Posted : Monday, September 27, 2010 6:28:07 PM(UTC)
cheekyadmin

Rank: Member

Groups: Member
Joined: 9/27/2010(UTC)
Posts: 23

Thanks: 1 times
Hi

I am getting this error after the photos have successfully been uploaded.
I am using FF 3.6.10 and Java Image Upload tool.

Why is this happening and what is the fix?

Here is the code:

Code:

<script type="text/javascript">
					//<![CDATA[
					
					//Create JavaScript object that will embed Image Uploader to the page.
					var iu = new ImageUploaderWriter("ImageUploader1", 900, 460);
					iu.activeXControlEnabled = false;
					
					//For ActiveX control full path to CAB file (including file name) should be specified.
					iu.activeXControlCodeBase = "#application.Config.jsDir#/aurigmaScripts/ImageUploader6.cab";
					iu.activeXControlVersion = "6,5,19,0";
					
					//For Java applet only path to directory with JAR files should be specified (without file name).
					iu.javaAppletJarFileName = "ImageUploader6.jar";
					iu.javaAppletCodeBase = "#application.Config.jsDir#/aurigmaScripts/";
					iu.javaAppletCached = true;
					iu.javaAppletVersion = "6.5.19.0";
					
					iu.showNonemptyResponse = "off";
					
					//Configure appearance.
					iu.addParam("PaneLayout", "TwoPanes");
					iu.addParam("ShowDebugWindow", "true");
					iu.addParam("AllowRotate", "false");
					iu.addParam("BackgroundColor", "##ffffff");
					iu.addParam("ShowDescriptions", "false");	
					iu.addParam("MaxFileCount", "40");	
					
					//Configure License Keys
					iu.addParam("LicenseKey", "71060-4DD8C-00000-0FB98-616BF;72060-4DD8C-00000-0C8B6-332B7");
					
					//Configure thumbnail settings.
					iu.addParam("UploadThumbnail1FitMode", "Fit");
					iu.addParam("UploadThumbnail1Width", "120");
					iu.addParam("UploadThumbnail1Height", "120");
					iu.addParam("UploadThumbnail1JpegQuality", "60");
					
					//Configure URL files are uploaded to.
					iu.addParam("Action", "#xfa.formAction##attributes.action#&albumId=#attributes.albumId#&photoRights=true");
					
					//Configure URL where to redirect after upload.
					iu.addParam("RedirectUrl", "#application.Config.fullUrl#album.update&action=editPhotos&albumId=#attributes.albumId#");
					
					//Create installation progress.
					var ip = new InstallationProgressExtender(iu);
					ip.setProgressImageUrl("#application.Config.jsDir#/aurigmaScripts/InstallationProgress.gif");
					ip.setProgressCssClass("ScreenStyle");
					ip.setInstructionsCssClass("ScreenStyle");
					
					//Tell Image Uploader writer object to generate all necessary HTML code to embed 
					//Image Uploader to the page.
					iu.writeHtml();
					//]]>
				</script>
cheekyadmin  
#2 Posted : Monday, September 27, 2010 9:30:22 PM(UTC)
cheekyadmin

Rank: Member

Groups: Member
Joined: 9/27/2010(UTC)
Posts: 23

Thanks: 1 times
Hi - this is no longer an issue.

I don't know why, but it just started working after testing the page about 3 times. One moment it was throwing the error - next it started working. The only line I changed while it was still giving an error was I added:
iu.activeXControlEnabled = false;

Even after I added that it didn't work, but it was almost around that time that it did start working. I wish I had a more logical reason for this, but I don't!
Dmitry.Obukhov  
#3 Posted : Tuesday, September 28, 2010 7:48:50 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Paul,

Please read information on this problem in the FAQ: Upload Problems of Image Uploader documentation.

Please let me know if you have any questions.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.