thx simlau,
habe nun das Feld
emotion_id, emotion_name hinzugefügt und
die Fehlermeldung ist verschwunden.
Nun folgendes Problem:
sobald ich auf mein Profil klicke, folgt diese Fehlermeldung:
-------------------------------------------------------------------------------------------
Parse error: parse error, unexpected ';' in /home/www/web112/html/iq-test1/includes/usercp_register.php on line 136
-------------------------------------------------------------------------------------------
Line136:
$emotion = ( isset($HTTP_POST_VARS['emotion']) ) ? intval ($HTTP_POST_VARS['emotion']) : 0;
-------------------------------------------------------------------------------------------
Etwas mehr Code:
$signature = (isset($signature)) ? str_replace(// Start add - Emotion MOD
$emotion = ( isset($HTTP_POST_VARS['emotion']) ) ? intval ($HTTP_POST_VARS['emotion']) : 0;
// End add - Emotion MOD'<br />', "\n", $signature) : '';
$signature_bbcode_uid = '';
-------------------------------------------------------------------------------------------
Nun möchte ich noch Hinzufügen, im Installation Text vom
Stimmungsmod steht,
#-----[ OPEN ]------------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------------
#
$signature = str_replace(
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start add - Emotion MOD
$emotion = ( isset($HTTP_POST_VARS['emotion']) ) ? intval ($HTTP_POST_VARS['emotion']) : 0;
// End add - Emotion MOD
#
Wie oben im Code zu sehe, ist es nicht
$signature = str_replace(
sondern
$signature = (isset($signature)) ? str_replace(
Kann ja sein, dass da ein Problem vorliegt.
Keine Ahnung
Wenn ich den Teil den ich einfügen sollte
// Start add - Emotion MOD
$emotion = ( isset($HTTP_POST_VARS['emotion']) ) ? intval ($HTTP_POST_VARS['emotion']) : 0;
// End add - Emotion MOD entferne, dann ist die Fehlermeldung weg, doch im Profil ist das auswälen der Stimmung nicht möglich.
Ausser zwei nacheinander folgenden Linien, die weiter unten im Profil zu sehen ist, fällt mir keine veränderung auf.
Im voraus, Danke!