[wp-trac] [WordPress Trac] #5382: "MySQL server has gone away" error when trying to post anonymous comment

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 23 20:23:17 GMT 2007


#5382: "MySQL server has gone away" error when trying to post anonymous comment
----------------------+-----------------------------------------------------
 Reporter:  meonkeys  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.5      
Component:  General   |     Version:  2.3.1    
 Severity:  normal    |    Keywords:  fastcgi  
----------------------+-----------------------------------------------------
 = Description =
 Can't post comments anonymously.

 = Steps to reproduce =
  1. Install WordPress 2.3.1, MySQL 5.0.x, and enable FastCGI
  1. Try to post an anonymous comment

 = Expected result =
  1. Comment is placed in queue for moderation (if this is enabled)
  1. User is redirected and can see their comment posted

 = Actual result =
 error message appears in browser window:
 {{{
 WordPress database error: [MySQL server has gone away]
 SELECT * FROM wp_comments WHERE comment_ID = '11690' LIMIT 1

 Warning: Cannot modify header information - headers already sent by
 (output started at .../wp-includes/wp-db.php:160) in .../wp-comments-
 post.php on line 67

 Warning: Cannot modify header information - headers already sent by
 (output started at .../wp-includes/wp-db.php:160) in .../wp-comments-
 post.php on line 68

 Warning: Cannot modify header information - headers already sent by
 (output started at .../wp-includes/wp-db.php:160) in .../wp-comments-
 post.php on line 69

 Warning: Cannot modify header information - headers already sent by
 (output started at .../wp-includes/wp-db.php:160) in .../wp-
 includes/pluggable.php on line 392
 }}}
 (modified slightly: ellipses replace private path information on server)

 = Reproducability =
 Always.

 = Workaround =
 Disabling FastCGI appears to fix the issue.

 = Additional information =
 This bug was originally reproduced using a Bluehost-hosted blog at
 http://adammonsen.com. It is unclear if this is issue is specific to
 Bluehost.

 == software versions used in this repro ==
  * WordPress 2.3.1
  * MySQL 5.0.37
  * FastCGI (mod_fastcgi) 2.4.2
  * Apache 1.3.39

 == Related posts in support forum ==
  * http://wordpress.org/support/topic/124416
  * http://wordpress.org/support/topic/133745
  * http://wordpress.org/support/topic/140982

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5382>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list