Apostrophe and WYSIWYG editing problem

5 posts by 2 authors in: Forums > CMS Builder
Last Post: May 5, 2010   (RSS)

By cnorthey - May 5, 2010

Hello

I am having a serious problem with a website I have developed. My client has recently updated a couple of pages, putting new next in one of the WYSIWYG text editor fields, however whenever this content is updated, a series of 5 backslashes appear next to any apostrophes.

In an attempt to fix this I cleared all text out and updated it, so it should have been a blank page. However it doesn't update, keeping the text and adding a new lot of backslashes. This has only started happening recently and I haven't touched any of the CMS builder files, so wondering what this may be?

The website URL where it's occuring is http://www.minimoko.com.au/ordering/

Thanks for your help

Re: [cnorthey] Apostrophe and WYSIWYG editing problem

By Dave - May 5, 2010

Hi cnorthey,

This is due to a php "feature" called magic_quotes: http://php.net/manual/en/security.magicquotes.php
The authors of PHP discourage the use of this feature but some hosts still turn it on.

If you upgrade to the latest CMSB (v2.04) it should fix it. We've added code to detect and disable that setting when it's present.

Hope that helps! Let me know if you have any more problems with that.
Dave Edis - Senior Developer
interactivetools.com

Re: [cnorthey] Apostrophe and WYSIWYG editing problem

By Dave - May 5, 2010

Hi Chris,

yes, we've made it simpler. Just upload /cmsAdmin/.

But be sure to download a backup copy of you old /cmsAdmin/ first just to be extra safe.

Also, note that you don't want to "replace" the /cmsAdmin/ folder, just upload the new files over-top of the ones that are already there. So don't erase the existing /cmsAdmin/ or anything like that.

Let me know how it goes.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Apostrophe and WYSIWYG editing problem

By cnorthey - May 5, 2010

Hi Dave

The update seemed to work fine. Thanks for the advice.