Joomla 3.1.5 Error RE: Magic Quotes
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Mon Apr 16, 2012 4:39 pm
Joomla 3.1.5 Error RE: Magic Quotes
I am running Joomla 3.1 in a test environment, and just installed the upgrade to version 3.1.5. Now in the Admin back end I have an error on every page at the top, with a pink background, that says:
Error
Your host needs to disable magic_quotes_gpc to run this version of Joomla!
I have checked with my host, and I have verified by running a phpinfo() file, all settings for magic quotes say "Off".
How do I fix this problem? Any help will be appreciated. Thanks.
Error
Your host needs to disable magic_quotes_gpc to run this version of Joomla!
I have checked with my host, and I have verified by running a phpinfo() file, all settings for magic quotes say "Off".
How do I fix this problem? Any help will be appreciated. Thanks.
Last edited by spock9458 on Fri Aug 02, 2013 3:48 pm, edited 1 time in total.
- brian
- Joomla! Master
- Posts: 12787
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Joomla 3.1.5 Error RE: Magic Quotes
On many hosts they turn off magic quotes with a local php.INI file but this needs to be done on every directory on some server configurations. It looks like this is what your hosts have done. You can confirm this by putting the phpinfo file in the /administrator folder.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Apprentice
- Posts: 14
- Joined: Mon Apr 16, 2012 4:39 pm
Re: Joomla 3.1.5 Error RE: Magic Quotes
You were exactly right, Brian. I uploaded the php.ini file they had provided for me, to the administrator directory, and the error message has disappeared. Thanks for your help.
- brian
- Joomla! Master
- Posts: 12787
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Joomla 3.1.5 Error RE: Magic Quotes
Glad to have helped. I wish host would get a clue though and disable it properly
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Jun 27, 2012 9:11 pm
- Location: Los Angeles, CA
- Contact:
Re: Joomla 3.1.5 Error RE: Magic Quotes
yes thank you! this fixes the problem on Hostgator dedicated server
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Sep 09, 2013 9:01 pm
Re: Joomla 3.1.5 Error RE: Magic Quotes
Hi! I am a beginner I encounter the same problem, I would like to know where to find the php.ini file should I ask my hosting provider?
thank you for help me
thank you for help me
- brian
- Joomla! Master
- Posts: 12787
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Joomla 3.1.5 Error RE: Magic Quotes
Ask your hosting provider the best way to disable magic quotes in THEIR server. There are many ways to do it and YOUR hosting provider can do this best for you.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
- ozneilau
- Joomla! Guru
- Posts: 872
- Joined: Tue Aug 04, 2009 9:05 am
- Location: Tasmania, Australia
- Contact:
Re: Joomla 3.1.5 Error RE: Magic Quotes
Thanks Brian, this helped me too!brian wrote:On many hosts they turn off magic quotes with a local php.INI file but this needs to be done on every directory on some server configurations. It looks like this is what your hosts have done. You can confirm this by putting the phpinfo file in the /administrator folder.
Rather than copy the php.ini to the /administrator folder, you can add a line to your .htaccess file like this:
Code: Select all
SetENV PHPRC /home/[account-name]/public_html
- ozneilau
- Joomla! Guru
- Posts: 872
- Joined: Tue Aug 04, 2009 9:05 am
- Location: Tasmania, Australia
- Contact:
Re: Joomla 3.1.5 Error RE: Magic Quotes
You may be able to disable magic quotes via your hosting control panel. Look for "PHP Settings" or similar.
Or ask your hosting company.
Or ask your hosting company.
- bhaumik
- Joomla! Apprentice
- Posts: 20
- Joined: Fri May 18, 2012 6:24 am
Re: Joomla 3.1.5 Error RE: Magic Quotes
Thanks a lot brian , your following trick did worked for me.
On many hosts they turn off magic quotes with a local php.INI file but this needs to be done on every directory on some server configurations. It looks like this is what your hosts have done. You can confirm this by putting the phpinfo file in the /administrator folder.
On many hosts they turn off magic quotes with a local php.INI file but this needs to be done on every directory on some server configurations. It looks like this is what your hosts have done. You can confirm this by putting the phpinfo file in the /administrator folder.