(2012-07-25, 08:55 PM)SᴩiDᴇЯ Wrote: [ -> ]I tried to install it with mybb 1.6.8 and i ran this on my browser:
http://thefootballfactory.net/chat/install.php and got this error:
Error-Report: Database connection failed. Error-Code:
Could anyone please help me with this?
PS I have renamed the chat directory for security reasons.
I am interested in this chat too, but I wonder why did you rename the chat for security reasons ? Is there a potential security risk with that thing ?
As much as I would like to try this thing, but can't get it to work. When I try to install it always says:
Quote:Query: DROP TABLE IF EXISTS ajax_chat_online; Error-Report: Error-Code:
Yes, and I have checked the settings for the DB in the config.php, they are correct, and the same I use for my MyBB forum. I triple, quadriple and whatever else checked it. I can't passed that point. I downloaded the latest Version of the Chat, which is
0.8.5a.
I am about to give up on this. I read almost all 35 pages here about this, seeing what others did with that error. And those that said that they got it working didn't really care what they did to get it work.
What I did wrong was how the syntax of the Database settings in the
config.php was supposed to be.
And not to be like so many here just saying "
Its ok, i got it fixed. It works now..." which helps absolutely noone,
below is how it works for me.
This way:
// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = localhost;
// Database username:
$config['dbConnection']['user'] = yourDBuser;
// Database password:
$config['dbConnection']['pass'] = yourDBpass;
// Database name:
$config['dbConnection']['name'] = yourDBname;
// Database type:
$config['dbConnection']['type'] = mysql;
// Database link:
$config['dbConnection']['link'] = null;
it was finally working for me. On the
Ajax Chat WIKI i found it a different way.
$config['dbConnection']['host'] = 'your_database_hostname';
$config['dbConnection']['user'] = 'your_database_username';
$config['dbConnection']['pass'] = 'your_database_password';
$config['dbConnection']['name'] = 'your_database_name';
And thats how I tried it in the beginning (
which didn't work), with the
' ' characters around the necessary
DB information. A bit confusing if you ask me, but it works now.
A little question though.
This Ajax Chat, is it very resource (
Memory, CPU) intense as for the resources on a Webserver ? I am asking because there are a lot Webhosters that don't allow hosting a real Chat where the Webspace works as a Server, for obvious resources on their Customer's accounts. How is it with this one here ?
Wolfseye