The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Aug 02, 2013 3:29 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Apr 16, 2012 4:39 pm
Posts: 12
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.


Last edited by spock9458 on Fri Aug 02, 2013 3:48 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Aug 02, 2013 3:42 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 7:19 am
Posts: 10485
Location: Leeds, UK
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/


Top
 Profile  
 
PostPosted: Fri Aug 02, 2013 3:47 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Apr 16, 2012 4:39 pm
Posts: 12
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.


Top
 Profile  
 
PostPosted: Fri Aug 02, 2013 4:22 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 7:19 am
Posts: 10485
Location: Leeds, UK
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/


Top
 Profile  
 
PostPosted: Mon Aug 12, 2013 4:46 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jun 27, 2012 9:11 pm
Posts: 1
Location: Los Angeles, CA
yes thank you! this fixes the problem on Hostgator dedicated server


Top
 Profile  
 
PostPosted: Tue Sep 10, 2013 7:06 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Sep 09, 2013 9:01 pm
Posts: 1
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


Top
 Profile  
 
PostPosted: Tue Sep 10, 2013 7:10 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 7:19 am
Posts: 10485
Location: Leeds, UK
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/


Top
 Profile  
 
PostPosted: Wed Oct 16, 2013 4:00 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Aug 04, 2009 9:05 am
Posts: 770
Location: Tasmania, Australia
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.

Thanks Brian, this helped me too! :)

Rather than copy the php.ini to the /administrator folder, you can add a line to your .htaccess file like this:

Code:
SetENV PHPRC /home/[account-name]/public_html

(or something similar depending on the folder structure on the server) so the php.ini settings apply to your whole website.

_________________
Please request help via the forums rather than by PM so everyone can benefit from the conversation.
NEIL ROBERTSON
Webilicious Web Design and Development
http://webilicious.com.au


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 



Who is online

Users browsing this forum: rowbygoren and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group