[wp-trac] [WordPress Trac] #16099: Not possible to add comment to attachment in Twenty Ten
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 5 10:36:08 UTC 2011
#16099: Not possible to add comment to attachment in Twenty Ten
-------------------------------+------------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by pavelevap):
Strange, I am using latest trunk for WP and Twenty Ten, all plugins
deactivated (no .htaccess - basic permalink structure).
When I am logged in then blank page appears (WP_DEBUG shows no error).
When I am logged out then "Not found" appears.
Clicking on http://localhost/Wordpress/?attachment_id=11682 when logged
out:
{{{
Chrome:
Access log:
127.0.0.1 - - [05/Jan/2011:11:02:09 +0100] "GET
/Wordpress/?attachment_id=11682 HTTP/1.1" 404 6037
127.0.0.1 - - [05/Jan/2011:11:02:10 +0100] "GET /favicon.ico HTTP/1.1" 404
1161
Error log:
[Wed Jan 05 11:02:10 2011] [error] [client 127.0.0.1] File does not exist:
C:/WWW/favicon.ico
IE8:
Access log:
127.0.0.1 - - [05/Jan/2011:11:07:27 +0100] "POST /Wordpress/wp-
cron.php?doing_wp_cron HTTP/1.0" 200 -
127.0.0.1 - - [05/Jan/2011:11:07:26 +0100] "GET
/Wordpress/?attachment_id=11682 HTTP/1.1" 404 6037
}}}
And the same when logged in as admin (IE8):
{{{
Acces log:
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
content/themes/twentyten/style.css HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-includes/css
/admin-bar.dev.css?ver=20101219 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
includes/js/l10n.dev.js?ver=20101110 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-includes/js
/comment-reply.dev.js?ver=20090102 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
content/uploads/2010/06/cropped-Test_23.jpg HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET
/Wordpress/?attachment_id=11682 HTTP/1.1" 200 13983
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-includes/js
/admin-bar.dev.js?ver=20101210 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
content/uploads/2010/12/Cibule_AUGUSTA1.jpg HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
content/uploads/2010/06/Test_22.jpg HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
content/themes/twentyten/images/wordpress.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:16:08 +0100] "GET /Wordpress/wp-
includes/images/admin-bar-sprite.png?d=11122010 HTTP/1.1" 304 -
}}}
And after trying to insert comment to attachment (IE8):
{{{
Access log:
127.0.0.1 - - [05/Jan/2011:11:18:21 +0100] "POST /Wordpress/wp-comments-
post.php HTTP/1.1" 200 -
}}}
And when trying to insert comment to post with this attachment (IE8):
{{{
127.0.0.1 - - [05/Jan/2011:11:23:42 +0100] "POST /Wordpress/wp-comments-
post.php HTTP/1.1" 302 -
127.0.0.1 - - [05/Jan/2011:11:23:43 +0100] "GET /Wordpress/wp-
content/themes/twentyten/style.css HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:43 +0100] "GET /Wordpress/wp-includes/css
/admin-bar.dev.css?ver=20101219 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:43 +0100] "GET /Wordpress/wp-
includes/js/l10n.dev.js?ver=20101110 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:43 +0100] "GET /Wordpress/wp-includes/js
/comment-reply.dev.js?ver=20090102 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:43 +0100] "GET /Wordpress/wp-
content/uploads/2010/06/cropped-Test_23.jpg HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:44 +0100] "GET /Wordpress/wp-
content/uploads/2010/12/Cibule_AUGUSTA1-160x300.jpg HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:44 +0100] "GET /Wordpress/wp-
content/uploads/2010/06/Test_22.jpg HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:44 +0100] "GET /Wordpress/wp-
content/themes/twentyten/images/wordpress.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:43 +0100] "GET /Wordpress/?p=9028&cpage=1
HTTP/1.1" 200 19930
127.0.0.1 - - [05/Jan/2011:11:23:44 +0100] "GET /Wordpress/wp-includes/js
/admin-bar.dev.js?ver=20101210 HTTP/1.1" 304 -
127.0.0.1 - - [05/Jan/2011:11:23:44 +0100] "GET /Wordpress/wp-
includes/images/admin-bar-sprite.png?d=11122010 HTTP/1.1" 304 -
}}}
I am not sure what could be wrong? Main difference is probably in Apache
code for wp-comments-post.php (200 when adding comment to attachment and
302 to post).
Using xampp, PHP 5.2.6, Apache/2.2.9. But it is my first problem with
WordPress on this configuration (using more than one year without change).
Thank you for your help...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16099#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list