Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 General
 Off topic, News and Updates
 get_magic_quotes_gpc Deprecated in PHP 7.3
Author « Topic »  

qimacros
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/30/2020 :  09:34:22  
Tried to upgrade to PHP 7.3. using ECT 6.9.6. Still works in PHP 7.2.
Caused this error.
Deprecated: Function get_magic_quotes_gpc() is deprecated in /inc/incfunctions.php on line 13

Jay Arthur, The KnowWare Man, works with companies that want to solve problems of delay, defects and deviation.

Vince
Administrator

42750 Posts

Posted - 05/30/2020 :  09:42:57  
Hi Jay
The currently supported versions are v7.1 and v7.2 and this and a bunch of other issues have been resolved for working with the latest PHP releases (including PHP 7.4) in these versions. If you don't want to update your cart then just stay on PHP 7.2 which is still supported.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

tmdaslide
Advanced Member

USA
388 Posts

Pre-sales questions only
(More Details...)

Posted - 09/04/2020 :  05:00:55  
Hello,
I found this thread looking for a solution as well. We're using version 7.1.10 and get a similar error message shown with every item in the store.

"get_magic_quotes_gpc() is deprecated in /var/www/vhosts/<sitename.com>/httpdocs/vsadmin/100m-ect-com-res.php on line 15"



dbdave
ECT Moderator

USA
10406 Posts

Posted - 09/04/2020 :  07:11:40  
Hi, 100m-ect-com-res.php is not an ect shopping cart file and I believe it's part of some add on, or modification.
You should speak to the vendor of that file to get that sorted.

Thanks,
David

tmdaslide
Advanced Member

USA
388 Posts

Pre-sales questions only
(More Details...)

Posted - 09/04/2020 :  07:53:38  
Thanks. I did try contacting them with no response yet. This and another thread had me wondering if it was possibly an ECT issue.

Vince
Administrator

42750 Posts

Posted - 09/04/2020 :  08:33:37  
In that file on line 15 you should see something like this...
$magicq = (get_magic_quotes_gpc() == 1);
And change that to...
$magicq = FALSE;

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

tmdaslide
Advanced Member

USA
388 Posts

Pre-sales questions only
(More Details...)

Posted - 09/04/2020 :  08:41:49  
Thanks Vince. My host switched us back to PHP 7.3. I'll mention this and see if it works after switching back to 7.4.

Edited by - tmdaslide on 09/04/2020 08:46:51
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000