Joomla Editors insert slashes and quotation tag

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Kalkas
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Mar 07, 2010 10:02 pm

Joomla Editors insert slashes and quotation tag

Post by Kalkas » Wed Jun 19, 2013 1:57 am

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
Last edited by imanickam on Wed Jun 19, 2013 11:15 am, edited 1 time in total.
Reason: Moved the topic from the forum Performance - Joomla! 3.x to the forum General Questions/New to Joomla! 3.x

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Joomla Editors insert slashes and quotation tag

Post by imanickam » Wed Jun 19, 2013 11:14 am

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.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

Kalkas
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Mar 07, 2010 10:02 pm

Re: Joomla Editors insert slashes and quotation tag

Post by Kalkas » Wed Jun 19, 2013 6:51 pm

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

Kalkas
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Mar 07, 2010 10:02 pm

Re: Joomla Editors insert slashes and quotation tag

Post by Kalkas » Thu Jun 20, 2013 3:51 pm

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

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Joomla Editors insert slashes and quotation tag

Post by imanickam » Thu Jun 20, 2013 4:43 pm

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.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged


Locked

Return to “General Questions/New to Joomla! 3.x”