Hallo, nachdem ich einen Mod eingbaut habe, kommen immer merkwürgie Fehlerberichte (Ich habe nur was in der Post.php gändert und die Funktion wird auch erfülllt).
8: Use of undefined constant message - assumed 'message'
Datei: /var/www/localhost/htdocs/daten/forum/Sources/Post.php
Zeile: 1558
2: Missing argument 3 for db_query(), called in /var/www/localhost/htdocs/daten/forum/Sources/Post.php on line 1552 and defined
Datei: /var/www/localhost/htdocs/daten/forum/Sources/Subs.php
Zeile: 238
8: Use of undefined constant message - assumed 'message'
Datei: /var/www/localhost/htdocs/daten/forum/Sources/Post.php
Zeile: 1558
Kann mir da jemand weiter helfen?
Suche mal nach [message] und nach __FILE__);
Wenn du was findest melde dich nochmal (oder hänge die Post.php an ;)).
Ich hatte das __file__ aus der (eingabauten)abfrage genommen, sollte man es drin lassen?
hier mal die abfrage:
// Get the existing message.
$request = db_query("
SELECT
m.ID_MEMBER, m.body
FROM ({$db_prefix}messages AS m)
WHERE m.ID_MSG = " . (int) $_REQUEST['msg'] . "");
$row = mysql_fetch_assoc($request);
// Get the stuff ready for the form.
$form_message = preg_replace('|<br(?: /)?>|', "\n", $row['body']);
ok, hat sich jetzt erledigt, $row wurde umbenannt und alle arrays haben nun Hochkommas und __line__ und __file__ wurde angehängt.