При добавлении комментария, он добавляется, но выше выпадает следующее сообщение
Warning: Missing argument 1 for AntiSpamImage::checkCode(), called in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 166 and defined in /home2/statist/public_html/wp-content/plugins/anti_spam_image.php on line 64 Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 207 Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 208 Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 209
При просмотре через Dreamweaver в этих строках файла ajax-comments нижеследующее
setcookie('comment_author_' . COOKIEHASH, '', time() - 30000000, COOKIEPATH, COOKIE_DOMAIN);
setcookie('comment_author_email_' . COOKIEHASH, '', time() - 30000000, COOKIEPATH, COOKIE_DOMAIN);
setcookie('comment_author_url_' . COOKIEHASH, '', time() - 30000000, COOKIEPATH, COOKIE_DOMAIN);
В anti_spam_image.php:64 нижеследующий
function checkCode($code){
global $wpdb, $user_ID, $_POST, $_SESSION, $comment_type;
Последние записи в error_log
[15-Mar-2008 11:14:41] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 207 [15-Mar-2008 11:14:41] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 208 [15-Mar-2008 11:14:41] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 209 [15-Mar-2008 13:15:37] PHP Warning: Missing argument 1 for AntiSpamImage::checkCode(), called in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 166 and defined in /home2/statist/public_html/wp-content/plugins/anti_spam_image.php on line 64 [15-Mar-2008 13:15:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 207 [15-Mar-2008 13:15:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 208 [15-Mar-2008 13:15:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/statist/public_html/wp-content/plugins/anti_spam_image.php:64) in /home2/statist/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 209
Подскажите пожалуйста в чем может быть дело
Заранее благодарен