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

Notification

Icon
Error

Options
Go to last post Go to first unread
scottishfly  
#1 Posted : Thursday, December 6, 2007 8:37:02 AM(UTC)
scottishfly

Rank: Member

Groups: Member
Joined: 12/6/2007(UTC)
Posts: 1

Hello,
I have recently been having issues with the Image Uploader. When running firefox or safari on OS X Leopard i am encountering a java.lang.StackOverflowError when i attempt to access the image uploader. Although I am able to access the demo version of the Image Uploader located at http://www.aurigma.com/P...nlineDemo.aspx#BasicDemo without the error. Also machines using Windows seem to be able to access the uploader without error and other Macs also do not seem to have the same issue. I am using the most recent version of the uploader. Any insight would be appreciated.

Code:
<script type='text/javascript'>
  //<![CDATA[
  //Create JavaScript object that will embed Image Uploader to the page.
  var iu = new ImageUploaderWriter("ImageUploader1", 650, 400);

  //For ActiveX control full path to CAB file (including file name) should be specified.
  iu.activeXControlCodeBase = "`fullbaseurl/static/ImageUploader4.cab";
  iu.activeXControlVersion = "4,5,70,0";

  //For Java applet only path to directory with JAR files should be specified (without file name).
  iu.javaAppletCodeBase = "`fullbaseurl/static/";
  iu.javaAppletCached = true;
  iu.javaAppletVersion = "2.5.70.0";
  iu.showNonemptyResponse = "off";

  //Configure appearance.
  iu.addParam("PaneLayout", "TwoPanes");
  //iu.addParam("ShowDebugWindow", "true");
  iu.addParam("AllowRotate", "true");
  iu.addParam("BackgroundColor", "#ffffff");

  //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", "`actionurl")

  //Configure URL where to redirect after upload.
  iu.addParam("RedirectUrl", "`redirecturl")

  //Tell Image Uploader writer object to generate all necessary HTML code to embed 
  //Image Uploader to the page.
  iu.writeHtml();
  //]]>
</script>


-scott

Edited by user Monday, February 25, 2008 4:38:25 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Thursday, December 6, 2007 12:37:24 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,
How do you try to access Image Uploader, I mean what is a code of you problem? Could you show it.
One more note on your code in the last post. Here is a part of it:
Code:

//Configure URL files are uploaded to.
iu.addParam("Action", "`actionurl")

//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "`redirecturl")

Apostrophes are not supported by Image Uploader so you should use completely correct URLs in Action and RedirectUrl parameters.

Edited by user Monday, February 25, 2008 2:51:43 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Similar Topics
java.lang.StackOverflowError (Discussions – ActiveX/Java Uploader)
by Stompel 11/9/2008 10:54:09 PM(UTC)
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.