MyBB Community Forums
For those having trouble installing ajax chat - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Tutorials (https://community.mybb.com/forum-38.html)
+--- Thread: For those having trouble installing ajax chat (/thread-46457.html)



For those having trouble installing ajax chat - geoff - 2009-03-10

Finally after quite a while trying to install Ajax Chat, I finally after much research got it going.

In your ftp go: yourdomain/forum/chat/lib/config.php

Here is were you have to add your database information

// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = 'your database username';
// Database password:
$config['dbConnection']['pass'] = 'Your Database password';
// Database name:
$config['dbConnection']['name'] = 'Your database name';
// Database type:
$config['dbConnection']['type'] = null;
// Database link:
$config['dbConnection']['link'] = null;

Don't forget the [color]' [/color]as in [color]'d/base_name' [/color]

Good luck

Geoff


RE: For those having trouble installing ajax chat - Leefish - 2010-01-28

Thanks Geoff - I managed to finally get this working using your tip


RE: For those having trouble installing ajax chat - shovenose - 2011-05-31

Thanks to your hint, I successfully installed it!

However, now I get this error:
Quote:Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM web237-mybb.ajax_chat_online ORDER BY userName; Error-Report: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-mybb.ajax_chat_online ORDER BY userName' at line 9 Error-Code: 1064
How do i fix it? Thanks!


RE: For those having trouble installing ajax chat - vikesh - 2012-02-07

Mee too getting the same error ??

what to do next ???