WordPress Comment System Error

Filed in: Site News, WordPress — April 4th, 2005

Something weird happended today. Some of the pages cannot be displayed correctly, while others have no problem. After some debug, I found that the problem is related to wp-comments.php, the WordPress comment file. Disabled wp-comments.php, everything back to normal but, of course, cannot view or post comment.

I am still trying hard to find out the exact problem. Could anyone send me the WordPress 1.2.2 installation package?

If you have any idea or suggestion, please leave your comment in the forum. Thank you.

Updated: the error caused by template comment tags. Seems like the comment tags cannot get the database returned value. Example:
[php]function comment_text() {
global $comment;
$comment_text = str_replace(‘
‘, ”, $comment->comment_content);
$comment_text = str_replace(‘
‘, ”, $comment_text);
echo apply_filters(‘comment_text’, $comment_text);
}[/php]

global error? apply_filters error? :roll:

Updated(5:40pm): Phew~ back to normal. Comment enabled. Proved that it has nothing to do with me. I should not worry too much…

Like this post? Please share:

Follow @liewcf on Twitter; Join Facebook page; Subscribe to free newsletter for updates like this article..

  • http://www.liewcf.com/ LcF

    testing 1 2 3 :P

  • http://www.liewcf.com LcF

    testing 1 2 3 :P

t