03.05.2018, 08:56
[attachment=13700]Witam na forum testowym próbowałem uruchomić owy chatbox ale cały czas mam błąd
Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM so96_mybb393.ajax_chat_online ORDER BY userName; Error-Report: Error-Code:
niewiem czy żle wpisuje dane do configa
pliku /chat/lib/config.php edytujemy dane dostepowe do bazy
Kod:
// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = ''; //użytkownik bazy
// Database password:
$config['dbConnection']['pass'] = ''; //hasło do bazy
// Database name:
$config['dbConnection']['name'] = ''; //nazwa bazy danych
// Database type:
$config['dbConnection']['type'] = 'mysql4';
// Database link:
$config['dbConnection']['link'] = null;
Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM so96_mybb393.ajax_chat_online ORDER BY userName; Error-Report: Error-Code:
niewiem czy żle wpisuje dane do configa
pliku /chat/lib/config.php edytujemy dane dostepowe do bazy
Kod:
// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = ''; //użytkownik bazy
// Database password:
$config['dbConnection']['pass'] = ''; //hasło do bazy
// Database name:
$config['dbConnection']['name'] = ''; //nazwa bazy danych
// Database type:
$config['dbConnection']['type'] = 'mysql4';
// Database link:
$config['dbConnection']['link'] = null;