Page 1 of 1

Java Upload

Posted: 06 Aug 2010, 06:01
by elcapeton
Can't seem to get the java upload to work.. Getting the follow:

Java Plug-in 1.6.0_21
Using JRE version 1.6.0_21-b07 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\sowens
----------------------------------------------------
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>
----------------------------------------------------


Exception in thread "AWT-EventQueue-2" java.lang.InternalError: couldn't create component peer
at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
at sun.awt.windows.WFramePeer.<init>(Unknown Source)
at sun.awt.windows.WEmbeddedFramePeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createEmbeddedFrame(Unknown Source)
at sun.awt.windows.WEmbeddedFrame.addNotify(Unknown Source)
at sun.plugin2.main.client.PluginEmbeddedFrame.addNotify(Unknown Source)
at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
at sun.plugin2.main.client.PluginEmbeddedFrame.<init>(Unknown Source)
at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
load: class wjhk.jupload2.JUploadApplet not found.
java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.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)
Caused by: java.io.IOException: open HTTP connection failed:http://drunkenscramble.com/wjhk/jupload ... plet.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 9 more
Exception: java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet

Installed latest version of Java. I THINK I have everything enabled.. Anyone?

Re: Java Upload

Posted: 07 Aug 2010, 15:54
by Jan
Hi, try to see other posts regarding java applet problems :-(

Jan

HighSlide JS

Posted: 15 Aug 2010, 08:28
by john26
Dear Jan

SimpleCaddy "add to Cart" below the image thumbnail in Category View is working fine, but I need to place Add to cart in PopUp Window ( HighSlide JS ) Box.which file i need to edit?

regards
John

Re: Java Upload

Posted: 15 Aug 2010, 08:57
by Benno
Hi,
See documentation: https://www.phoca.cz/documents/2-phoca-g ... ntegration
Displaying "Add to cart" button below detail image in Detail View

Go to Phoca Gallery Parameters (Components - Phoca Gallery - Control Panel - Parameters or go to Parameters Component in menu link to Phoca Gallery) and set the parameter Display Description (Description Settings) to "Show". Go to image where you want to add/display the product: Components - Phoca Gallery - Images - Edit existing image or Add new one. And paste the following code:

simplecaddy code=ID of your product (e.g. simplecaddy code=001)

into the Description input field. Save the image. Now the "Add to cart" button with other information (product name, price, options, ...) will be displayed below the detail image in Detail Window.
Kind regards,
Benno