chinawhite
04-04-2007, 01:53 PM
I have a problem on my forum. When i open a new thread , it always gives this warning:
Parse error: syntax error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/.../public_html/forum/includes/class_postbit.php(296) : eval()'d code(43) : regexp code on line 8
Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: "<pre class=\"alt2\" dir=\"ltr\" style=\" margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto\">$context[\'num_users_online\'] = count($context[\'users_online\']) + $context[\'num_users_hidden\'];</pre>"=="<pre class=\"alt2\" dir=\"ltr\" style=\" margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto\">$context[\'num_users_online\'] = count($context[\'users_online\']) + $context[\'num_users_hidden\'];</pre>"? "<pre class=\"alt2\" dir=\"ltr\" style=\" margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto\">$context[\'num_users_online\'] = count($cont in /home/.../public_html/forum/includes/class_postbit.php(296) : eval()'d code on line 43
what can it be solution for my problem ?
Parse error: syntax error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/.../public_html/forum/includes/class_postbit.php(296) : eval()'d code(43) : regexp code on line 8
Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: "<pre class=\"alt2\" dir=\"ltr\" style=\" margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto\">$context[\'num_users_online\'] = count($context[\'users_online\']) + $context[\'num_users_hidden\'];</pre>"=="<pre class=\"alt2\" dir=\"ltr\" style=\" margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto\">$context[\'num_users_online\'] = count($context[\'users_online\']) + $context[\'num_users_hidden\'];</pre>"? "<pre class=\"alt2\" dir=\"ltr\" style=\" margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto\">$context[\'num_users_online\'] = count($cont in /home/.../public_html/forum/includes/class_postbit.php(296) : eval()'d code on line 43
what can it be solution for my problem ?