That sounds like a server issue – specifically to do with mysql_escape… sorry… mind’s gone blank. Can’t recall the exact PHP module name but contact your hosts and ask them to look into it for you.
Thread Starter
barq
(@barq)
Thanks a lot for your reply esmi! I told my webhost. Unfortunately, they don’t seem to now what exactly mysql_escape is and how to fix it. They turned off Magic Quotes, but it didn’t make any difference.
Any ideas on what exact PHP module it is, or what else to do?
Magic Quotes! That’s it! Ask them if they’ve turned off magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase.
(The mysql_escape came from a php function that’s supposed to check to for magic quotes).
Thread Starter
barq
(@barq)
Thanks! It still hasn’t fixed the problem. Is there anything I can do to manually fix the problem?
Thread Starter
barq
(@barq)
To followup, I just tested my localhost (where the code works perfectly) and there Magic Quotes ARE enabled. So magic quotes aren’t the problem.
Anybody has any idea on what else could be causing these “\problems?
Can you check the content of a sample post in your local database and in your remote server? It might help to pinpoint where the slashes are being added – at the input stage or when the content is displayed.
Also try:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the Twenty Eleven theme to rule out any theme-specific problems.
Thread Starter
barq
(@barq)
Hi Esmi,
Thanks a lot for your kind help. After following your tips I found out that it was SEO Smartlinks that added the slashes. Disabling it fixed the problem!
Thanks again for your help!