Page 1 of 1

Joomla Editors insert slashes and quotation tag

Posted: Wed Jun 19, 2013 1:57 am
by Kalkas
Hello,

I am using Joomla 3.1.1

For some weird reason, all my installed editors (TinyMCE, CodeMirror and JCE Editor) insert slashes and quotation tags in my articles.

I usually write in HTML Source Editor as a Super User (text filters are set to No Filtering). I usually write it on an external editor, (i.e., BBEdit), and then copy and paste the text. I always validate the code before pasting it in Joomla's HTML Source editor.

Now, code lines such as the following ones,

Code: Select all

<a href="category/article.html">

Code: Select all

<hr id="system-readmore" />
are changed into this one:

Code: Select all

<a href="\"category/article.html\"">

Code: Select all

<hr id="\"system-readmore\"" />
The article cannot be properly dispayed because all codes are changed inside the article. I can neither add new nor edit old articles because of this problem.

Best regards,

Aleksandar

Re: Joomla Editors insert slashes and quotation tag

Posted: Wed Jun 19, 2013 11:14 am
by imanickam
I believe that the PHP setting Magic Quotes is ON in this environment. For Joomla! 3.x, the PHP setting Magic Quotes has to be OFF.

Check with your host service provider about setting Magic Quotes to OFF.

Re: Joomla Editors insert slashes and quotation tag

Posted: Wed Jun 19, 2013 6:51 pm
by Kalkas
Hello,

Thank you for your reply. I have checked by using Akeeba Backup, and according to it the Magic Quotes is OFF. This problem is not present with other sites that run with the same provider.

My site is behaving strange in last few days. Suddenly URL rewriting does not work.

Best reagards,

Aleksandar

Re: Joomla Editors insert slashes and quotation tag

Posted: Thu Jun 20, 2013 3:51 pm
by Kalkas
Hello,

I think that I found cause of my recent trouble with my site. The issue with URL rewriting was caused by a wrong line in htaccess file.

I have restored my site to a state before I encounter the problem with the editors. It is working now. However, I am not sure what caused such strange editor behaviour. Maybe Magic Quotes is the cause here. I have to admit that I did not check it if it was ON or OFF before I restored to an earlier version.

Can Magic Quotes be OFF for one domain, but ON for other, assuming that both domains are hosted by the same Hosting Service Provider?

Best regards,

Aleksandar

Re: Joomla Editors insert slashes and quotation tag

Posted: Thu Jun 20, 2013 4:43 pm
by imanickam
Kalkas wrote:Can Magic Quotes be OFF for one domain, but ON for other, assuming that both domains are hosted by the same Hosting Service Provider?
Yes, it is possible. Check whether there is any file php.ini in the site that has Magic Quotes as OFF.