WordPress.org

Ready to get started?Download WordPress

Forums

Comments do not work on Internet Explorer 8 (5 posts)

  1. jlehrhoff
    Member
    Posted 4 years ago #

    any comment attempted from IE8 throws the error:
    WordPress database error Data too long for column 'comment_agent' at row 1 for query INSERT INTO wp_comments

    It works from IE7 and Firefox. I had this with the previous version and just updated. I am running it on an IIS6 PHP5/MySQL5 server.. I believe I have FastCGI enabled on this site too...

    any help would be appreciated...

  2. tomontoast
    Member
    Posted 4 years ago #

    This error is occurring because IE8 that you are using has a user agent string which is too long to fit into the database. You can solve this issue by uninstalling any add-ons you have for IE8 or by accessing your database and changing the field type for comment_agent in the wp_comments table from varchar(255) to text.

  3. ApexPilot
    Member
    Posted 4 years ago #

    Great tip. I have a similar site setup as jlehrhoff. I could save comments successfully with FF, but not with IE7. Whenever I tried to submit a comment using IE7, I would get a blank page in return. By increasing the comment_agent field in the wp_comments table to 512, comments are now saved correctly.

    Blue Skies!

  4. Rosie-L
    Member
    Posted 4 years ago #

    Bill Hely described the solution quite well in his blog at http://ComputerAndOnlineSecurity.com

  5. astinite
    Member
    Posted 4 years ago #

    Hey ApexPilot, any directions on how to go about doing that? I'm having the same issue as you. How do you fix that?

Topic Closed

This topic has been closed to new replies.

About this Topic