• Resolved Chijo

    (@chijotakeda)


    I’m experiencing a problem where all of my single quotes are being replaced by double quotes.

    Ex. The word I’ll becomes I”ll. Don’t becomes Don”t.

    This started recently and now I notice that old posts are being affected in addition to new posts where I’m typing single quotes.

    I’m also experiencing the already posted problem of being stuck in HTML mode. I have not been able to fix this issue after reading all the help posts and following the suggestions. I’m wondering if this is related to my single vs double quotation marks issue.

    Firebug shows one error when on the page when I’m in Manage/edit mode for one of my posts:
    missing ) after argument list
    [Break on this error] sl.markDone(t.base + ””/langs/”” + ln + ””.js””);\n
    tiny_mce…=20080810 (line 15)

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I would try the simple solutions first, disable all of your plugins, and see if that resolves it.

    Then I would try reinstalling WordPress, to make sure that it isn’t an issue with a corrupt or missing file.

    Thread Starter Chijo

    (@chijotakeda)

    I tried disabling plugins… I only have one: askismet. Didn’t work I’ve had that enabled from the start so not sure why that would change.

    I’ve re-uploaded wp-includes and wp-admin to make sure I had all the files.

    I guess I can try a clean install…

    thanks

    Did you delete your wp-admin and wp-include directories first, and replace them with fresh versions directly from a newly downloaded copy of WordPress?

    It could very well be a legitimate bug though. I would check the Trac, and see if anyone else has reported it.

    Thread Starter Chijo

    (@chijotakeda)

    Yes, I first deleted wp-admin and wp-includes and replaced them with fresh download from WP server.

    I just now dropped my DB tables, completely deleted my WP directory/files and did a complete fresh install of WP. Same problem. v. 2.6.2

    I’m going to try and install 2.6.1….

    thanks

    Thread Starter Chijo

    (@chijotakeda)

    Just did the complete clean install of 2.6.1 and same problem. Must be something server side?

    Strange since I’ve installed multiple WP installs on the same host/server….

    That is strange, are you being hosted on a pretty standard LAMP setup?

    Thread Starter Chijo

    (@chijotakeda)

    Yup, LAMP.

    I’m a reseller for my website clients and have almost 100 accounts with this particular host/company. I’ve installed many WP blogs without ever seeing this sort of problem. This first time just happens to be the blog for my company so I’m frustrated.

    I guess I’ll approach my tech support…

    Thread Starter Chijo

    (@chijotakeda)

    This is now solved. I contacted my tech support and here’s the response on how they fixed it.

    I determined that a setting in the php.ini for your site was causing this behavior. The magic_quotes_runtime variable was turned on, which affects runtime generated data (such as data from SQL queries). I turned this off, and now single quotes are remaining intact when displayed on your blog posts.

    You can also add this to your .htaccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    php_value magic_quotes_gpc 0
    php_flag magic_quotes_runtime 0
    </IfModule>
    # END WordPress

    This worked for me!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Single quotes replaced with double quotes’ is closed to new replies.