Slash's showing with apostrophes and quotation

  • Shawn
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 5 months ago #22124 by Shawn
Hello all;

I have run into a problem lately, when ever I use apostrophes and quotation marks they get proceeded with Slash (\) symbols.

So if in a description I type:
This is a "great" program.

What I get showing is:

This is a \"great\" program.

Any idea what is causing this?

Thanks

No matter where you go.
There you are!

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #22158 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Slash's showing with apostrophes and quotation
Hi Shawn

Where do you see this problem ? When you enter data in event description or enter information into Messages in Configuration? Please give me more information so that I can check it.

Tuan

Please Log in or Create an account to join the conversation.

  • Shawn
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 5 months ago #22186 by Shawn
Hi Tuan;

This is when I create event descriptions, both the long and short descriptions do this. When I go in and delete the slashes, they reapear when I save the event.

Shawn

No matter where you go.
There you are!

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #22292 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Slash's showing with apostrophes and quotation
Hi Shawn

It seems this is something related to PHP settings of your server . The setting is called Magic Quotes ( php.net/manual/en/security.magicquotes.php ). It is recommended by Joomla to set this setting off. For some reasons, I believe the setting is on on your server and it causes the issue.

Please ask your hosting to change the setting for you to make it off and the issue will be solved.

Tuan

Please Log in or Create an account to join the conversation.

  • Shawn
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 5 months ago #22341 by Shawn

Administrator wrote: Hi Shawn

It seems this is something related to PHP settings of your server . The setting is called Magic Quotes ( php.net/manual/en/security.magicquotes.php ). It is recommended by Joomla to set this setting off. For some reasons, I believe the setting is on on your server and it causes the issue.

Please ask your hosting to change the setting for you to make it off and the issue will be solved.

Tuan


Thanks Tuan;

That fixed it perfectly.

This is a fix that can be done by the end user as well. If you need it, here is the fix.
Create a file named "php.ini".
In the file add the following lines.

magic_quotes_gpc = Off
magic_quotes_runtime = Off
error_reporting = E_ALL & ~E_NOTICE

That's it, upload to you root directory and your administrator folder.

No matter where you go.
There you are!

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc