• Getting this error when editing pages:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's xxxxx... </p>

    and then a crapload of MySQL stuff…

    and then this:

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/wp-includes/wp-db.php:133) in /home/xxx/wp-includes/pluggable.php on line 341

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davedorm

    (@davedorm)

    bump

    I know it seems impatient of me, but I am really stuck here. Need an answer ASAP.

    I have optimized/repaired the Database.

    I have replaced the offending files mentioned:

    * wp-admin/page.php
    * wp-includes/pluggable.php
    * wp-includes/wp-db.php

    …with unedited originals from 2.2.3 (the correct version I am running.)

    The only thing I can see is that it is the apostrophe that harfs it. If I escape it ( \’ ) it parses fine.

    Could this have something to do with “magic quotes”? I disabled the functions because it was crashing on any apostrophe and curly quote character. Maybe I need to un-do those changes?

    Thread Starter davedorm

    (@davedorm)

    ah…

    I can escape an apostrophe ( \’ )
    or use the HTML entity ( & #39 ; ) no spaces of course

    but a plain ‘ is right out…

    HELP!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘headers and pluggable.php’ is closed to new replies.