ElkArte Community

Project Support => General ElkArte discussions => Topic started by: Jorin on November 08, 2013, 01:43:32 am

Title: magic_quotes_gpc=on?
Post by: Jorin on November 08, 2013, 01:43:32 am
Hi there!  :D

Trying to get started with ElkArte I was getting the following error message after installation:

Quotemagic_quotes_gpc=on was detected: your host is using an unsecure PHP configuration, deprecated and removed in current versions. Please upgrade PHP.

Any solution besides contacting my host (which is All-Inkl.com, not a small one, so maybe this error message will be discussed here more often)?
Title: Re: magic_quotes_gpc=on?
Post by: TE on November 08, 2013, 01:52:56 am
yep, disable magic_quotes_gpc=on by adding a .htaccess file with these line:
Code: [Select]
php_flag magic_quotes_gpc off
Check http://all-inkl.com/wichtig/
Title: Re: magic_quotes_gpc=on?
Post by: Jorin on November 08, 2013, 02:15:46 am
Ah, thanks, it works!  :)
Title: Re: magic_quotes_gpc=on?
Post by: Adrek on January 14, 2014, 12:46:08 pm
I had the same issue, but I enabled PHP 5.4 and worked fine for me. Anyway, installer should check PHP version and show proper information to upgrade PHP version or disable magic_quotes.
Title: Re: magic_quotes_gpc=on?
Post by: Eliana Tamerin on February 06, 2015, 02:24:44 am
FYI, just encountered this on a shared host, I had to use this solution as mod_php was turned off: https://docs.joomla.org/How_to_turn_off_magic_quotes_gpc_for_Joomla_3#Yet_Another_Solution_For_Shared_Hosts
Title: Re: magic_quotes_gpc=on?
Post by: Allan on February 06, 2015, 06:38:36 am
Quote from: TE – yep, disable magic_quotes_gpc=on by adding a .htaccess file with these line:
Code: [Select]
php_flag magic_quotes_gpc off
Check http://all-inkl.com/wichtig/

This is the way I am able to turn them off as well.