helloo,
i downloaded aurigma the latest version 6.x-2.0 , and i downloaded the latest uploader files from www.aurigma.com which is :
ImageUploader6.cab
ImageUploader6.jar
iuembed.js

but it seems that i have some problem , the uploader does not even load in the page , i did everything by the book , but no use , i tested it on different browsers and on different machines , the same problem . i attached a screenshot for the problem.

any clue ??

CommentFileSizeAuthor
#4 1.jpg169.13 KBsalateenoo
#4 2.jpg44.34 KBsalateenoo
1.jpg19.07 KBsalateenoo

Comments

asimontsev’s picture

The problem is that this Drupal module is written for Image Uploader 5. That's why if you put version 6, it does not work properly. But it is easy to modify module to get it working with version 6. You should do the following:

  1. Put new iuembed.js, .cab and .jar file instead of old ones.
  2. Open the file called aurigma.module.
  3. Find the following lines (in the middle of the file):
    var iu = new ImageUploaderWriter("ImageUploader", '. $height .','. $width .');
    
    //For ActiveX control full path to CAB file (including file name) should be specified.
    iu.activeXControlCodeBase = "/'. $codebase .'/";
    iu.activeXControlVersion = "5,7,24,0";
    
    //For Java applet only path to directory with JAR files should be specified (without file name).
    iu.javaAppletJarFileName = "ImageUploader5.jar";
    iu.javaAppletCodeBase = "/'. $codebase .'/";
    iu.javaAppletCached = true;
    iu.javaAppletVersion = "5.7.24.0";
  4. Change the activeXControlVersion to 6,1,1,0 and javaAppletVersion to 6.1.1.0 correspondingly (or another version number if you have one).
  5. Make sure that javaAppletJarFileName is ImageUploader6.jar, and activeXControlCodeBase point out to the new .cab.
  6. After that it should work.

    Hope this helps.

    P.S. Btw, if you have problems related to Image Uploader itself, I would recommend to post questions to Aurigma forums.

salateenoo’s picture

asimontsev thank you for you quick reply,

unfortunatly, i did all you said but the problem remains unsolved. i don't know what to do , should i use the older version of the uploader?

asimontsev’s picture

What exactly happens? Does it fails both for ActiveX (in IE) and Java (all other browsers)? Also, I recommend to check the result HTML (i.e. what you see when select View Source in the browser) and see whether codebase is correct (i.e. .cab and .jar files are downloadable through these URLs).

salateenoo’s picture

StatusFileSize
new44.34 KB
new169.13 KB

what happens is the uploader does not even load in the page , for IE and for FF and all other browsers. i checked everything paths and urls everything in its place , but no result, i attached a screenshot for the html code in my page.

i appreciate your help.

awolfey’s picture

Sorry, I just saw this now for some reason. I will take a look a try to help soon. However, it was working for me last time I tested.

awolfey’s picture

Please try the 6.x-2.dev when it is packaged with today's date, or grab the changed files from cvs. Let me know if this works.
Note that you will now need to set the uploader version number in the admin settings.

Thanks.

andreymir’s picture

I think cause of the problem is in the aurigma_appconfig function. It use drupal_get_path function to determine the path to the applet. But it returns the path relative to the directory that drupal installed. So if drupal installed not in the root directory (e.g. not http://example.com/ but http://example.com/drupal6/) the path will be incorrect. The url function should be used to convert this path into the proper url.

awolfey’s picture

Good catch. Fixed and committed.