MyBB.de Forum
chat install probleme - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Diskussionen (https://www.mybb.de/forum/forum-38.html)
+--- Thema: chat install probleme (/thread-12587.html)

Seiten: Seiten: 1 2 3 4 5 6 7 8


RE: chat install probleme - Guido - 28.09.2009

Ja weil das ist nur ein Test Chat um Chat´s zu Testen. Wird am Ende beim Provider wieder Gelöscht wen ich mal einen zum Laufen bekomme der mir zusagt.Big Grin


PS Was mich noch wundert ist das der selbe Chat bei dem selben
Provider nur unter einer anderen Adresse Läuft. Ist alles das selbe
bei einem Läuft es beim Anderen nicht verstehe ich nicht.


RE: chat install probleme - linwinman - 28.09.2009

Wann (bei welcher Aktion) tritt der Fehler denn überhaupt auf?


RE: chat install probleme - Guido - 28.09.2009

Rufe den Chat im Browser auf und das Eingabe Fenster für Benutzer und Passwort kommt.Dann gebe ich Benutzer und Passwort ein und es steht auch da Erfolgreich eingeloggt. Aber dann diese Fehlermeldung.


Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM ajax_chat_online ORDER BY userName; Error-Report: Error-Code: Sad


Die Config.php habe ich schon barbeitet


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


RE: chat install probleme - linwinman - 28.09.2009

Das ist ja jetzt die dritte Fehlermeldung mit unterschiedlichen DB-Tabellen. Wink

Prüfe einmal die Einstellungen in der ".../chat/lib/config.php" (s. Beitrag #55) mit denen der funkt. Installation überprüft und passe sie ggf. entsprechend an.

Oder versuche es einmal mit
PHP-Code:
// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = 'xxxxxxxx';
// Database password:
$config['dbConnection']['pass'] = 'xxxxxxxxxx';
// Database name:
$config['dbConnection']['name'] = 'xxxxxxxx';
// Database type:
$config['dbConnection']['type'] = null;
// Database link:
$config['dbConnection']['link'] = null
- beachte hierbei die Anführungszeichen im jeweiligen Eintrag!


RE: chat install probleme - Guido - 29.09.2009

So habe das mal bei mir in der Config.php geändert so wie unten, aber das hatte zu Folge das ich jetzt diesen Fehler bekomme.


Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM windows-chat.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 '-chat.ajax_chat_online ORDER BY userName' at line 9 Error-Code: 1064


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



PS. Das ist die Orginal Ajax SQL Datei die ich im Admin Ausgeführt habe.





DROP TABLE IF EXISTS ajax_chat_online;
CREATE TABLE ajax_chat_online (
userID INT(11) NOT NULL,
userName VARCHAR(64) NOT NULL,
userRole INT(1) NOT NULL,
channel INT(11) NOT NULL,
dateTime DATETIME NOT NULL,
ip VARBINARY(16) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

DROP TABLE IF EXISTS ajax_chat_messages;
CREATE TABLE ajax_chat_messages (
id INT(11) NOT NULL AUTO_INCREMENT,
userID INT(11) NOT NULL,
userName VARCHAR(64) NOT NULL,
userRole INT(1) NOT NULL,
channel INT(11) NOT NULL,
dateTime DATETIME NOT NULL,
ip VARBINARY(16) NOT NULL,
text TEXT,
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

DROP TABLE IF EXISTS ajax_chat_bans;
CREATE TABLE ajax_chat_bans (
userID INT(11) NOT NULL,
userName VARCHAR(64) NOT NULL,
dateTime DATETIME NOT NULL,
ip VARBINARY(16) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

DROP TABLE IF EXISTS ajax_chat_invitations;
CREATE TABLE ajax_chat_invitations (
userID INT(11) NOT NULL,
channel INT(11) NOT NULL,
dateTime DATETIME NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;


RE: chat install probleme - linwinman - 29.09.2009

Versuche es einmal mit diesen Werten in ".../chat/lib.config.php":
PHP-Code:
// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = 'dein_benutzername';
// Database password:
$config['dbConnection']['pass'] = 'dein_passwort';
// Database name:
$config['dbConnection']['name'] = 'windows_chat';
// Database type:
$config['dbConnection']['type'] = null;
// Database link:
$config['dbConnection']['link'] = null



RE: chat install probleme - Guido - 29.09.2009

Hallo danke für deine Hilfe, habe noch mal im Netz gegooglet und herausgefunden das es was mit dem Datenbank Namen zu tun hat.Also wen ich das Richtig verstanden habe darf der Datenbank Name keine Sonderzeichen habe.z.b "-" oder so
sonst kann es zu solchen Fehlern kommen. Meine Frage wäre jetzt da man weiß was das Problem ist kann man es beheben.?Smile


RE: chat install probleme - linwinman - 29.09.2009

Lösche die Datenbank "windows-chat", lege eine neue DB "windows_chat" an und installiere den Chat noch einmal neu.


RE: chat install probleme - Guido - 30.09.2009

Danke erst mal für deine super Hilfe.Schade das es keine andere Lösung gibt. Aber
wen das die einzige Möglichkeit ist werde ich das wohl machen müssen.Blush


RE: chat install probleme - Koelner - 07.06.2013

(16.06.2009, 00:39)linwinman schrieb: 1. öffnet (mit einem geeigneten > Editor) die Datei ".../chat/lib/config.php" und ersetzt die Zeilen

PHP-Code:
// Database hostname:
$config['dbConnection']['host'] = null;
// Database username:
$config['dbConnection']['user'] = null;
// Database password:
$config['dbConnection']['pass'] = null;
// Database name:
$config['dbConnection']['name'] = null

durch (Beispiel)

PHP-Code:
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = 'linwinman';
// Database password:
$config['dbConnection']['pass'] = '*********';
// Database name:
$config['dbConnection']['name'] = 'linwinmans_db'

Hallo,

ich bin gerade in der chat/lib/config.php, irgendwie hat die Datei ein Problem mit meinen Zugangsdaten.

Zur Zeit habe ich die Fehlermeldung:

Zitat:Query: DROP TABLE IF EXISTS ajax_chat_online; Error-Report: Error-Code:

Habe unter "localhost" sowohl meinen Nick im Forum angegeben als auch meinen Datenbanknamen, es ändert nichts. Und in "dbConnection" ebenfalls beides, und immer wieder gewechselt, leider ohne Erfolg.

Kann mir jemand bitte helfen?