Magic Quotes problem
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.
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.
- balvanboy
- Joomla! Explorer
- Posts: 428
- Joined: Sat Sep 09, 2006 6:48 pm
- Location: Novi Sad, Serbia
- Contact:
Magic Quotes problem
How to fix this?
PHP magic_quotes_gpc setting is `OFF` instead of `ON`
PHP magic_quotes_gpc setting is `OFF` instead of `ON`
http://www.webagencija.com | Usluge u oblasti weba!
http://www.brankopajic.com/blog | Blog o web trendovima!
Twitter @baneweb
http://www.brankopajic.com/blog | Blog o web trendovima!
Twitter @baneweb
-
- Joomla! Ace
- Posts: 1070
- Joined: Mon Aug 22, 2005 7:53 pm
- Location: Ilkley, West Yorkshire, UK
- Contact:
Re: Magic Quotes problem
If you can use it in your .htaccess file, php_flag magic_quotes_gpc on, if you can't, add magic_quotes_gpc on to a php.ini file.
My sites: http://dragonrider.co.uk, http://wharfedalefestival.co.uk and several others
- balvanboy
- Joomla! Explorer
- Posts: 428
- Joined: Sat Sep 09, 2006 6:48 pm
- Location: Novi Sad, Serbia
- Contact:
Re: Magic Quotes problem
Can you give me more details?
http://www.webagencija.com | Usluge u oblasti weba!
http://www.brankopajic.com/blog | Blog o web trendovima!
Twitter @baneweb
http://www.brankopajic.com/blog | Blog o web trendovima!
Twitter @baneweb
-
- Joomla! Ace
- Posts: 1070
- Joined: Mon Aug 22, 2005 7:53 pm
- Location: Ilkley, West Yorkshire, UK
- Contact:
Re: Magic Quotes problem
Add to .htaccess file:-balvanboy wrote: Can you give me more details?
php_flag PHP magic_quotes_gpc on
If this causes your site to crash with 500 error, remove that line, resave .htaccess and site should then be back.
In that case, add to php.ini file:-
PHP magic_quotes_gpc on
My sites: http://dragonrider.co.uk, http://wharfedalefestival.co.uk and several others
- balvanboy
- Joomla! Explorer
- Posts: 428
- Joined: Sat Sep 09, 2006 6:48 pm
- Location: Novi Sad, Serbia
- Contact:
Re: Magic Quotes problem
Tnx so much. It works.
http://www.webagencija.com | Usluge u oblasti weba!
http://www.brankopajic.com/blog | Blog o web trendovima!
Twitter @baneweb
http://www.brankopajic.com/blog | Blog o web trendovima!
Twitter @baneweb
- dyrer
- Joomla! Enthusiast
- Posts: 176
- Joined: Wed Aug 24, 2005 10:33 am
- Location: Greece
- Contact:
-
- Joomla! Ace
- Posts: 1070
- Joined: Mon Aug 22, 2005 7:53 pm
- Location: Ilkley, West Yorkshire, UK
- Contact:
Re: Magic Quotes problem
It isn't.dyrer wrote: Where is php.ini located to Plesk Control Panel?
Go to your File Manager, then browse down to the folder you have your Joomla install in, Create new file, php.ini (text is fine). OK
Edit php.ini and insert the required code and save.
My sites: http://dragonrider.co.uk, http://wharfedalefestival.co.uk and several others
- dyrer
- Joomla! Enthusiast
- Posts: 176
- Joined: Wed Aug 24, 2005 10:33 am
- Location: Greece
- Contact:
Re: Magic Quotes problem
Command
php -i | grep -i magic_quotes
my results
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
But installation shows Magic_quates_gpc is OFF
php -i | grep -i magic_quotes
my results
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
But installation shows Magic_quates_gpc is OFF
- dingo1234
- Joomla! Apprentice
- Posts: 25
- Joined: Fri May 23, 2008 4:20 pm
- Location: Netherlands
- Contact:
Re: Magic Quotes problem
I really want to use magic quotes for Sobi2 (fetch coordinates - Google Maps)
In the Control Panel of my hosting provider I can see that Magic Quotes is on
In the Joomla backend System Info > PHP settings > Magic Quotes are Off
When I put the above code (see dragonrider) into the .htacces file > it gives Error 500
When I put it in a php.ini file that I made in the root dir. > nothing happend
Dingo
In the Control Panel of my hosting provider I can see that Magic Quotes is on
In the Joomla backend System Info > PHP settings > Magic Quotes are Off
When I put the above code (see dragonrider) into the .htacces file > it gives Error 500
When I put it in a php.ini file that I made in the root dir. > nothing happend
Dingo
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Apr 24, 2010 5:38 pm
- Contact:
Re: Magic Quotes problem
I was under the impression that magic quotes is not going to be included in php6. Some sort of secureity issue I believe. Why turn it on if there is some sort of security issue? Is there not an alternative?