hgk-projekt schrieb am 24.01.2006 um 23:50 Uhr
Hallo,
sobald jemand mit Admin-Rechten auf den "Antwort erstellen"-Button klickt, kommt folgende Meldung:
Notice: Undefined index: notify in /var/www/web88/html/v1/forum/reply.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web88/html/v1/forum/reply.php:177) in /var/www/web88/html/v1/forum/reply.php on line 185
Ich habe es nun schon zum dritten male installiert... hilft nicht.
Version: 2.85 (nein, nicht die PHP5 sondern die normale... mein Prov hat 4 am laufen ;))
Hacks sind nicht drinne, auch hab ich net dran rumgepfuscht.
Kann mir bitte jemand helfen?
FSI schrieb am 25.01.2006 um 14:27 Uhr
1. suche benutzen.
2. fehlermeldung durchlesen.
3. lösung: er will, dass du in der datei reply.php (zeile 177) die variable (sollte $post sein) mit dem index notify vorher definierst.
zb.
if (!isset($post['notify'])) $post['notify'] = '';
4. empfehlung: tutorial runterladen, lesen, verstehen
ich habe bei mir gesehen, dass ich den spass damals aufgrund dieser fehlermeldung auskommentiert habe:
/*
if($g_user['userid'] && ($post['notify'] != ($thread['flags'] & 2)))
{
thwb_query("REPLACE ${pref}threaduser
(userid, threadid, flags)
VALUES ('$g_user[userid]', '$thread[threadid]',
'".(($post['notify']) ? ($thread['flags'] | 2) : ($thread['flags'] & ~2))."')");
}
*/
theDon schrieb am 25.01.2006 um 14:43 Uhr
if($g_user['userid'] && !empty($post['notify']) && ($post['notify'] != ($thread['flags'] & 2)))