Support » Fixing WordPress » Database Error when comment contains apostrophe ‘

Viewing 9 replies - 1 through 9 (of 9 total)
  • I orginally started to ask if one of your plugins was causing this but maybe it’s related to this:

    Header already sent error at Codex

    That was the first thing I tried that.

    None of the files have extra spaces.

    Any solution to this problem?

    Is there some way to process the comment content to check if there are apostrophe?

    Would the escape function of php do it?

    Could this problem be because of Spam Karma 2?

    I don’t believe SK2 has anything to do with it. I have comments on my site which have apostrophe in them and I don’t have the same problem.

    Is it possibly a server config issue or PHP config issue?


    Mark (podz)


    Support Maven

    What plugins are you using ?

    I wouldnt know about server config or PHP config.

    What about magic quotes or something?

    And podz, the plugins that directly apply to the postpage are:

    Text Control
    Subscribe To Comments
    Unfancy Quote
    No Duplicate Comments
    Live Comment Preview
    Gravatar Signup
    Comment Quicktags

    Could it be one of these?

    Please help.

    Is there some way for me to remove / escape or add a \ in front of apostrphes in my comment form?

    I got the database error with No Duplicate Comments plugin; I told the plugin author and I think the newest version has corrected the problem. What version do you have? It should be v0.9.2

    Thanks 🙂

    I had 0.9
    Now got it updated.

    I guess, I lapsed on checking for update of all the plugins!

    Problems seems to have gone for now…. Hopefully, it doesnt return

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Database Error when comment contains apostrophe ‘’ is closed to new replies.