MyBB Community Forums

Full Version: AJAX Chat - including MyBB integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Thanks LeX- Smile

I'll release a new version fixing this issue.
Hello. I recently tried implementing AJAX Chat on my website with the myBB integration. It seems to work fine, except that whenever I go onto the chat the ChatBot shows server messages saying that I have been logged out (Timeout), but shows at the same time another message saying that I logged into the chat, and does this every few seconds. I can still use the chat just fine as far as I can tell, but it does clutter up the screen a bit. You can access it here: http://leagueof.startlogic.com/forum/chat/

Recently my site was moved to a new hosting platform which includes a lot of changes (including an upgrade to PHP 4.4.7 and MySQL 5.0.45), but I also have my site on the old platform still. I tried uploading it there and it does not have the logging in/logging out issue. Any idea what could be causing it?
Access to your server is very slow from my location (Germany), so I couldn't really test your setup.
The server configuration (PHP 4.4.7 and MySQL 5.0.45) shouldn't be a problem, though.
Hmm. I tried having someone else go on, and its the same thing with him too. Something I did notice that the chatbot messages stop after a couple of minutes, then start up again like a minute later (and last time I was on, it started up again immediately after I sent a message, though it starts originally as soon as I join the channel). When they are going on, the messages seem to happen every three seconds. This is what it says:

(00:17:42) ChatBot: Vycrol has been logged out (Timeout).
(00:17:42) ChatBot: Vycrol logs into the Chat.
(and it continues every three seconds until it stops momentarily)


Perhaps I'll try just loading it as a stand-alone program, see if I have the same problem. Thank you for trying to help.
Can't stay logged in.


I just changed hosts and the chat program was working fine. My forums are working fine. When I try to login to the chat program it trys to login then returns me to the login page and it's blank. I have to fill out name and password again, but it never gets passed that stage. Does anyone have any ideas?
I think that I figured out the problem, but I don't know how to fix it.

My link goes to http://nowhere.com/chat instead of http://www.nowhere.com/chat.

It leaves out the www even though the link is correct it resolves to no www.

I changed nowhere.com for privacy purposes.

Please help if you know a solution.
primster7
In lib/config.php in "Database connection values" you should specify only database type and nothing else.
$config['dbConnection']['type'] = 'mysql';
primster7 Wrote:I think that I figured out the problem, but I don't know how to fix it.

My link goes to http://nowhere.com/chat instead of http://www.nowhere.com/chat.

It leaves out the www even though the link is correct it resolves to no www.

I changed nowhere.com for privacy purposes.

Please help if you know a solution.

Try logging in to your forum first and then accessing the chat URL.
You should be logged in automatically.
Important:
As the time and effort spent to support the AJAX Chat project has increased my support here on this topic will discontinue.
I will continue to answer support requests on the Official AJAX Chat Support Forum.
Feel free to use this topic for user-to-user support.
Does the chat have to be in the same database as the forums? Big Grin I was a bit confused by this but couldn't see it in the FAQ section.

Thanks!

p/s: Sorry just saw the post above.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38