I am using version 6.x of drupal and downloaded corresponding parachat integration module. I have followed the installation to the letter. After installing Parachat I have additional menu item "Member Chat". This menu item launches chat successfully most of the time.
When I try to embed provided HTML code on a page and display the page I am receiving a box with a red "X" in it with a message:
Sorry, your browser is not Java enabled, please visit
our java support pages
Here is a copy of java console:
Java Plug-in 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
User home directory = C:\*****
----------------------------------------------------
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
p: reload proxy configuration
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
----------------------------------------------------
APPLET tag missing CODE parameter.
java.lang.NullPointerException: name
at sun.applet.AppletClassLoader.getResourceAsStream(Unknown Source)
at sun.applet.AppletPanel$7.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The HTML code I am using is as follows (there is some info masked on purpose):
<applet codebase="http://****.parachat.com/pchat/applet"
archive=papplet.jar code=pclient.main.ChatClient.class HEIGHT=400 WIDTH=600>
<param name="Net.Site" value="******">
<param name="Net.Room" value="Lobby">
<param name="cabbase" value="papplet.cab">
Sorry, your browser is not Java enabled, please visit
<a href="http://www.parachat.com/faq/java.html">our java support pages</a>
</applet>
Comments
Comment #1
mmilano commentedWhat do you mean by this?
All you need to do is configure the settings, and go to /chat/
If you want it more secure, then follow the instructions on the project home page. I don't think there's anything that says to embed code anywhere.
Comment #2
apienczy commentedWhen you subscribe to parachat you receive an e-mail which among others states that you can embed chat on any page by including following code:
Above method doesn't work for me and leads to what I described in the original post.
Going to /chat/ works when I am logged in as admin. If I go as someone else it stops working and gives me the red "x" with with a statement:
"Sorry, your browser is not Java enabled, please visit
our java support pages"
Furthermore going to /chat/auth is returning Result=Error regardless of who is logged in. However when the chat is working for the admin by going to /chat/ still recoginzes the admin's name.
I am very new to drupal, please let me know if there is information I could provide to help me solve the issue. My ultimate goal is to have different chat rooms on different nodes/pages to run separate events in the context of the node, so this functionality is critical for me.
Comment #3
mmilano commentedYou should not have to embed that applet code anywhere, the module does it for you.
/chat/auth is not meant to be accessed by you and if you have external db in drupal parachat settings enabled, then it will always result in an error when browsing to it.
I suggest turning external db off both in Drupal Parachat settings and on the Parachat admin site itself. Try to get it working w/o it first. If it does, then you know the problem is in your external db configuration.
So from Parachat Amin, go to external db and turn authentication off. Also, site wide limits and turn require valid user off. Then in Drupal Parachat admin, turn external db off.
Comment #4
mmilano commented