undefined function do_magic_quotes_gpc

More
7 years 6 months ago #315 by Support Team
Support Team created the topic: undefined function do_magic_quotes_gpc
Install fails on Step 2. Fatal error: Call to undefined function do_magic_quotes_gpc() in /administrator/components/com_oscommerce/includes/functions/compatibility.php on line 33

People who get this error. The problem solved beneath.

You should not be running with PHP 6.0. First of all, it's an unreleased test version, and is not considered ready for any kind of production use. Second, osC makes use of many of the functions that PHP is removing in PHP 6.0, among them get_magic_quotes_gpc() (there seems to be some discussion about putting that one back in). Read this: us.php.net/ma....deprecated.php . As of PHP 5.3, they will generate "deprecated" errors, warning you to upgrade your code.

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #353 by adelorenzo
adelorenzo replied the topic: Re: undefined function do_magic_quotes_gpc
Hello,

I am running 5.3 and am getting the do_magic_quotes_gpc() error too.

Please advise,

Thanks.

Adolfo Delorenzo

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago - 7 years 2 weeks ago #354 by Support Team
Support Team replied the topic: Re: undefined function do_magic_quotes_gpc
Please let's know what Joomla version and MarvikShop version you are running. And specify your error a little bit more.
Last Edit: 7 years 2 weeks ago by Support Team.

Please Log in or Create an account to join the conversation.

More
7 years 1 week ago #355 by adelorenzo
adelorenzo replied the topic: Re: undefined function do_magic_quotes_gpc
Hello,

PHP Version 5.3.1
Joomla! Version Joomla! 1.7.0 Stable [ Ember ] 19-Jul-2011 14:00 GMT
Joomla! Platform Version Joomla Platform 11.1 Stable+Modified [ Ember ] 01-Jun-2011 06:00 GMT

The MarvikShop I am using is 2.0, the latest which I downloaded two days ago.

Best regards,

Adolfo

Please Log in or Create an account to join the conversation.

More
7 years 1 week ago #356 by Support Team
Support Team replied the topic: Re: undefined function do_magic_quotes_gpc
We don't have this error ourself that's because we don't use 5.3.
What you can do before we do in the new version is to look at this link:
http://forums.oscommerce.com/topic/269681-problem-after-updating-to-22rci-cannot-redeclare-do-magic-quotes-gpc/

MarvikShop is almost Oscommerce. So the code is almost the same.

Maybe there is a new compatibility.php file which you can overwrite and looking for difference with winmerge.

I hope the problem is not to difficult to solve with these tips.

We will put this on our buglist.

Please Log in or Create an account to join the conversation.

More
7 years 1 week ago #357 by adelorenzo
adelorenzo replied the topic: Re: undefined function do_magic_quotes_gpc
Hello,

I followed your suggestion and went on replacing compatibility.php and a series of other files (html_output.php, application_top, and others) and ended with a crippled installation. The process was quite cumbersome. What php version do you use? What is the recommended versions?

Thanks.

BRgds,

Adolfo Delorenzo

Please Log in or Create an account to join the conversation.

More
7 years 1 week ago #358 by Support Team
Support Team replied the topic: Re: undefined function do_magic_quotes_gpc
Php 5.2.13
MySQL 5.0.67

I did a year ago an upgrade. I thought MySQL. All my Joomlasites on the server where crippled at once, so I downgrade this to these version I got now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds

Marvikshop


Events Joomla


About


 

Documentation


General

Site Showcase


 

Login


Support Forums


 

Download