Help! I'm pulling my hair off for hours now.
The problem is this.
I've made a CMS that uses ckeditor with ckfinder for uploading text and images.
It all worked great on my live server.
I tried uploading my cms on the client's live server and I have this problem.
When I press the save button, all quotation marks (") in the img tag are replaced by a slash followed by the quotation mark (\").
Does anyone have a clue why this happens?
Is server related?
Or something happens when I call the CKEDITOR.replace function?
The problem is this.
I've made a CMS that uses ckeditor with ckfinder for uploading text and images.
It all worked great on my live server.
I tried uploading my cms on the client's live server and I have this problem.
When I press the save button, all quotation marks (") in the img tag are replaced by a slash followed by the quotation mark (\").
Does anyone have a clue why this happens?
Is server related?
Or something happens when I call the CKEDITOR.replace function?
Re: Problem with img tags -> quotation marks replacement
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Problem with img tags -> quotation marks replacement
You are right!!!!
It seems that magic_quotes_gpc was enabled in my server.
I asked them to disable it and now it all woks good!!
You can also use stripslashes if you don't want to disable it (see http://www.tizag.com/phpT/php-magic-quotes.php).
Thanx a lot for your answer!!!
You have saved my week!!
cheers
Re: Problem with img tags -> quotation marks replacement
Nice to hear that you managed to solve it. Thanks for posting back results and good luck with using CKEditor and CKFinder in your CMS!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!