undefined function do_magic_quotes_gpc

Mehr
13 Jahre 9 Monate her #315 von Support Team
Code:
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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Jahre 2 Monate her #353 von adelorenzo
Hello,

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

Please advise,

Thanks.

Adolfo Delorenzo

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Jahre 2 Monate her - 13 Jahre 2 Monate her #354 von Support Team
Please let's know what Joomla version and MarvikShop version you are running. And specify your error a little bit more.
Letzte Änderung: 13 Jahre 2 Monate her von Support Team.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Jahre 2 Monate her #355 von adelorenzo
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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Jahre 2 Monate her #356 von Support Team
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:
Code:
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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Jahre 2 Monate her #357 von adelorenzo
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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Jahre 2 Monate her #358 von Support Team
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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Events Joomla
MarvikShop
Finnaly it's here:
 
No bridges, no look a likes!
This is the ultimate integration
between Oscommerce and Joomla!
Documentation
Site Showcase
Follow us