Rank: Newbie
Groups: Member
Joined: 2/10/2011(UTC) Posts: 9
|
Hi, I downloaded the SDK and have uploaded the PHP image uploader files (the ones found at C:\Program Files\Aurigma\Image Uploader 7.0.15\PHPClasses\ImageUploaderPHP) to a test folder on my server (I am developing in PHP on a linux server). I followed the example set out in the documentation. I had an issue at first, which I managed to resolve by using $uploader->setScriptsDirectory ('ImageUploaderPHP/Scripts'); The image uploader now works fine for me in I.E It doesn't work in FireFox or my other browsers however, plus it doesn't work for another person I work with in his I.E! It shows a red cross for him. For me, in FireFox it shows the outline of the box with "Error. Click here for details" at the top. This is what it says Quote:Java Plug-in 1.6.0_17 Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM User home directory = C:\Users\MYNAME
c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n>
load: class com.aurigma.imageuploader.ImageUploader not found. java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader Not sure if anyone has any idea why - I understand there is a not a lot to go off with what I have said, but I have followed the instructions and not sure why it is not working. Thanks for your time
|
|
|
|
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 Andy, Thank you for contacting us. I assume you experience the similar problem described in the PRB: ClassNotFoundException using PHP Library. However, Image Uploader 7 has a bit different API, and you should set the path to ImageUploader7.jar (Java control), and ImageUploader7.cab (ActiveX control) files like in this code snippet: Code:...
$uploader->setScriptsDirectory ('../ImageUploaderPHP/Scripts');
$uploader->getJavaControl()->setCodeBase('../ImageUploaderPHP/Scripts/ImageUploader7.jar');
$uploader->getActiveXControl()->setCodeBase('../ImageUploaderPHP/Scripts/ImageUploader7.cab');
...
I checked it, and it worked for me okay. Please try this way, and let me know about your results. Edited by user Friday, February 11, 2011 1:37:55 AM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 2/10/2011(UTC) Posts: 9
|
Many thanks for your help - that worked
Can I ask another quick question; I have the ThreePanes setting for the interface, but when viewing files through the interface it only shows the thumbnails of files and not their filename underneath. Is there a setting to switch this on (I see it enabled on the screenshot on your web site)? I need the filenames because the people using the imageuploader will have several images which look very similiar (e.g. white vans).
Kind regards
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
|
|
|
|
|
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.