News:

Support the VirtueMart project and become a member

Main Menu

[SOLVED] Magic Quotes Runtime

Started by Oly, August 18, 2013, 14:38:26 PM

Previous topic - Next topic

Oly

Hello,

First of all, thank you for this forum and your help !

To make things right, I bought a book "Joomla 2.5 and VirtueMart 2, succeed his online store", written by Valérie Isaksen.
In this book, she says that to avoid VirtueMart troubles (very difficult to diagnose later) we should put the Magic Quotes Runtimes "ON"
with the directive "php_value magic_quotes_gpc 1" in the file .htaccess (for shared server).

What do you think of this ?
Cause when I do that, it causes a server error 500.
In addition, I know "magic_quotes function" is deprecated in PHP now.
I'm very confused.

Thanks for your help.
Currently using VM 2.0.22b on Joomla 2.5.14

jenkinhill

My servers have magic_quotes_gpc to be set to off - indeed it is a requirement for Joomla 3 which will not install with it on, and as you say, is depracated in PHP5.3 and removed entirely in 5.4  I have no problems at all with many installations of Joomla & VirtueMart.

See http://docs.joomla.org/Magic_quotes_and_security
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Oly

Thank you very much Kelvin !

I think it is OK with Joomla 2.5 also, isn't it ?
Currently using VM 2.0.22b on Joomla 2.5.14

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum