View Full Version : Warning in phpMyAdmin haven't enabled magic_quotes_gpc
reeljustice
12-05-2000, 02:05 AM
Anyone know how o deal with this?[nbsp][nbsp]Warning: You haven't enabled magic_quotes_gpc in your PHP configuration. PhpMyAdmin needs this to work properly. Please have a look at the configuration section of the PHP manual for information on how to enable it.
I have access protected the directory.[nbsp][nbsp]I also included the following in the file, but, it crashed so I reverted to the .htaccess file as created when protected. --
php_value magic_quotes_gpc 1
Terra
12-05-2000, 02:51 AM
PHP3 and PHP4 have differing syntax, which is causing your error...
PHP3: php3_magic_quotes_gpc On
PHP4: php_value magic_quotes_gpc On
One of the gotcha's of upgrading from PHP3 --> PHP4... :(
If this is for coastaloutdoors.com, then you are on SIX which would use the PHP3 style...
--
Terra
--That was like pulling the pin out of the grenade--
FutureQuest
[This message has been edited by ccTech (edited 12-05-00@02:58 am)]
reeljustice
12-05-2000, 03:16 AM
Yep, it's on coastaloutdoors.com
Tried putting the below quote in the same file, at top of file, at bottom of file, inside it's own #CNC php3_etc #/CNC after the main info, page won't display at all.
#CNC
php3_magic_quotes_gpc 1
AuthUserFile /big/dom/xcoastaloutdoors/CNC_Protect/.passwd
AuthName Protected_Area
AuthType Basic
require user myusername
#/CNC
Changed back to eliminate the php3_magic-quotes_gpc 1
and page displayed fine, but still has the disabled warning.
Thanks
Joel
Terra
12-05-2000, 03:58 AM
I blew it![nbsp][nbsp]Editing my post above... :(
--
Terra
--1!=On && 0!=Off--
FutureQuest
reeljustice
12-05-2000, 04:13 AM
The edit did it.[nbsp][nbsp]Changed to:
#CNC
AuthUserFile /big/dom/xcoastaloutdoors/CNC_Protect/.passwd
AuthName Protected_Area
AuthType Basic
require user myusername
php3_magic_quotes_gpc On
#/CNC
and the Warning disappeared.
You guys are the best when it comes to tech support.
Thank you
Joel
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.