Seite 1 von 1

Problem bei Benutzer verwalten.

Verfasst: 01.12.2008 21:49
von euramanni
Hallo,
wenn ich unter Benutzer verwalten das Profil von einem User ändern will, werde ich als admin beim speichern raus geschmissen. Folgende Meldung:
Um das Board administrieren zu können, musst du deine Anmeldung bestätigen.

Habe schon die Cookies Einstellungen und alles Mögliche überprüft. Finde die Lösung nicht, obwohl es mal funktioniert hat.

Beim Debug-Modus kam folgende Meldung:
1) [phpBB Debug] PHP Notice: in file /includes/functions_wwh.php on line 27: Undefined index: wwh_del_time
2) [phpBB Debug] PHP Notice: in file /chat/lib/class/AJAXChatDataBase.php on line 16: Undefined index: type
3) [phpBB Debug] PHP Notice: in file /chat/lib/class/AJAXChatMySQLDataBase.php on line 20: Undefined index: name
4) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
4) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
4) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3766: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
4) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3767: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
Zu 1)
// first let's get some config's
$wwh_disp_bots = $config['wwh_disp_bots'];
$wwh_disp_guests = $config['wwh_disp_guests'];
$wwh_disp_hidden = $config['wwh_disp_hidden'];
$wwh_disp_time = $config['wwh_disp_time'];
$wwh_version = $config['wwh_version'];
$wwh_del_time = $config['wwh_del_time']; >>>(line 27)<<<
$wwh_reset_time = $config['wwh_reset_time'];
$wwh_record = $config['wwh_record'];
$wwh_sort_by = $config['wwh_sort_by'];
Zu 2)
// Class to initialize the DataBase connection:
class AJAXChatDataBase {

var $_db;

function AJAXChatDataBase(&$dbConnectionConfig) {
switch($dbConnectionConfig['type']) { >>>(line 16)<<<
case 'mysqli':
$this->_db = new AJAXChatDatabaseMySQLi($dbConnectionConfig);
break;
case 'mysql':
$this->_db = new AJAXChatDatabaseMySQL($dbConnectionConfig);
break;
default:
Zu 3)
// Class to initialize the MySQL DataBase connection:
class AJAXChatDataBaseMySQL {

var $_connectionID;
var $_errno = 0;
var $_error = '';
var $_dbName;

function AJAXChatDataBaseMySQL(&$dbConnectionConfig) {
$this->_connectionID = $dbConnectionConfig['link'];
$this->_dbName = $dbConnectionConfig['name']; >>>(line 20)<<<
}
Zu 4)
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8'); >>>(line 3763)<<<

header('Cache-Control: private, no-cache="set-cookie"'); >>>(line 3765)<<<
header('Expires: 0'); >>>(line 3766)<<<
header('Pragma: no-cache'); >>>(line 3767)<<<

return;
}
Hängt das damit zusammen. Ich weiß nicht mehr weiter.

Kann mir jemand einen Tipp geben, woran das liegen kann.

Verfasst: 02.12.2008 20:40
von nickvergessen
Sind da irgendwie die Datenbank-Änderungen des wwh-mods auf der strecke geblieben?

Verfasst: 03.12.2008 13:08
von euramanni
Hallo,
wie kann ich das feststellen, in der "phpbb_config" sind folgende Einträge:

[ externes Bild ]

Werde später mal ein Update auf die neue Version machen.

Verfasst: 03.12.2008 13:27
von nickvergessen
okay, ist anders rum. Die Dateien die du für den MOD benutzt, stimmen nicht mit der Datenbank über ein. Die Datenbank ist bei dir neuer.

Verfasst: 03.12.2008 14:43
von euramanni
Hi,
habe jetzt ein Update gemacht auf die aktuelle Version.
Die Fehlerzeile ist weg.
[phpBB Debug] PHP Notice: in file /includes/functions_wwh.php on line 27: Undefined index: wwh_del_time
Jetzt kommt noch.
[phpBB Debug] PHP Notice: in file /chat/lib/class/AJAXChatMySQLDataBase.php on line 20: Undefined index: name
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3766: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3767: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
Problem ist noch da. Was das komische an der Sache ist, an einem User kann ich das Profil ändern, an den anderen nicht.
Bei der Konvertierung waren auch die Geburtstage (Tag/Monat) verdreht.

Verfasst: 03.12.2008 19:40
von euramanni
Hi,
das Eingangsproblem ist gelöst. Habe die Cookies nochmals alle Varianten durchgespielt. Jetzt kann ich das Profil der User bearbeiten, ohne ständig rausgeworfen zu werden.
Cookie-Domain --> .meinedomain.de
Cookie-Pfad --> ./
ohne Punkt geht es bei mir nicht.

Kann mir noch jemand helfen bei den restl. Fehlern.