VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Oly on August 18, 2013, 14:38:26 PM

Title: [SOLVED] Magic Quotes Runtime
Post by: Oly on August 18, 2013, 14:38:26 PM
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.
Title: Re: Magic Quotes Runtime
Post by: jenkinhill on August 18, 2013, 15:37:23 PM
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
Title: Re: Magic Quotes Runtime
Post by: Oly on August 18, 2013, 15:52:36 PM
Thank you very much Kelvin !

I think it is OK with Joomla 2.5 also, isn't it ?
Title: Re: Magic Quotes Runtime
Post by: jenkinhill on August 18, 2013, 16:26:35 PM
Yes, J2.5 does not need it.