LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-21-2011, 03:32 PM   #1
shaselai
LQ Newbie
 
Registered: Oct 2009
Posts: 12

Rep: Reputation: 0
Problem with JWchat and Openfire on login page


Ok, i read through many threads and am not sure how to fix my current problem.

Settings:

config.js

var SITENAME = "openfirejwchat";

Backends:

name:"Openfire binding",
description:"Openfire server binding for JWChat",
#httpbase:"/http-bind/",
httpbase:"/http-bind/",
type:"binding",
servers_allowed:[SITENAME]



httpd.conf

<VirtualHost *>
ServerName openfirejwchat
DocumentRoot /usr/local/apache2/htdocs/jwchat-1.0

<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>


<Directory "/usr/local/apache2/htdocs/jwchat-1.0">
Options +MultiViews -Indexes
</Directory>


RewriteEngine on
RewriteRule /http-bind/ http://localhost/index.html [P]
AddDefaultCharset UTF-8
ProxyRequests On
ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/
ProxyPass http-bind/ http://127.0.0.1:8080/http-bind/
ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/
ErrorLog /usr/local/apache2/logs/jwchat_log
LogLevel warn
ServerSignature Off

</VirtualHost>


jwchat: index.html

<tr><td>&nbsp;</td><td><button type="submit" id='login_button' tabindex=5 enabled>Login</button></td></tr> <- changed from disabled to enabled so the Login button on the main page can be enabled.


So if I go to http://openfirejwchat/http-bind/ it takes me to the "Welcome to JWChat" page which is more or less stable. Here are some errors i saw on firefox error console when i LOADED the page:


Error: syntax error
Source File: http://openfirejwchat/http-bind/config.js
Line: 1
Source Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


Error: syntax error
Source File: http://openfirejwchat/http-bind/browsercheck.js
Line: 1
Source Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



Error: syntax error
Source File: http://openfirejwchat/http-bind/shared.js
Line: 1
Source Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



Error: syntax error
Source File: http://openfirejwchat/http-bind/switchStyle.js
Line: 1
Source Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



Error: SITENAME is not defined
Source File: http://openfirejwchat/http-bind/
Line: 249


Now after I inputted the username and password of existing user i got:


Error: DEFAULTRESOURCE is not defined
Source File: http://openfirejwchat/http-bind/?jid...d&res=&prio=10
Line: 113


AND the five errors from above.



I do not see any warnings/messages otherwise and openfire server doesn't show any errors/warnings nor does Apache logs show any abnormality... i am not sure where to define the terms? am I suppose to hard code something? I ask because my setting is just like many others who got theirs working....


Openfire v 3.6.4

jwchat 1.0

apache 2.2


some help appreciated. thanks!
 
Old 02-23-2011, 08:31 AM   #2
shaselai
LQ Newbie
 
Registered: Oct 2009
Posts: 12

Original Poster
Rep: Reputation: 0
ok, so what happens is this:

the loginbutton and page looks clean and normal if i go to "http://localhost/index.html" BUT if I go through the http://openfirejwchat/http-bind/ the page has the login button disabled and it doesnt work... anyone know why?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Login Page resolution problem sandbish Linux - Newbie 4 08-05-2009 09:50 PM
[SOLVED] Authentication Error Openfire/JWChat HTTP-binding PelliX Linux - Server 15 01-01-2009 01:49 PM
Squirrelmail problem having blank login page sir_oasis214 Linux - Networking 3 03-10-2008 11:26 PM
Login page - Big problem with PHP -- Please help me b:z Programming 13 04-05-2005 07:43 AM
Installation Problem with SuSe 8.2; can't get past Login Page bramfoto Linux - Distributions 1 10-09-2003 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration