- Berichten: 106
- Ontvangen bedankjes 10
undefined function do_magic_quotes_gpc
- Support Team
- Onderwerp Auteur
- Offline
- Moderator
Minder
Meer
13 jaren 9 maanden geleden #315
door Support Team
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.
undefined function do_magic_quotes_gpc werd gestart door 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.
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- adelorenzo
- Offline
- Nieuw lid
Minder
Meer
- Berichten: 3
- Ontvangen bedankjes 0
13 jaren 2 maanden geleden #353
door adelorenzo
Beantwoord door adelorenzo in 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
I am running 5.3 and am getting the do_magic_quotes_gpc() error too.
Please advise,
Thanks.
Adolfo Delorenzo
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- Support Team
- Onderwerp Auteur
- Offline
- Moderator
Minder
Meer
- Berichten: 106
- Ontvangen bedankjes 10
13 jaren 2 maanden geleden - 13 jaren 2 maanden geleden #354
door Support Team
Beantwoord door Support Team in 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.
Laatst bewerkt 13 jaren 2 maanden geleden doorSupport Team.
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- adelorenzo
- Offline
- Nieuw lid
Minder
Meer
- Berichten: 3
- Ontvangen bedankjes 0
13 jaren 2 maanden geleden #355
door adelorenzo
Beantwoord door adelorenzo in 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
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
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- Support Team
- Onderwerp Auteur
- Offline
- Moderator
Minder
Meer
- Berichten: 106
- Ontvangen bedankjes 10
13 jaren 2 maanden geleden #356
door Support Team
Beantwoord door Support Team in 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:
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.
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.
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- adelorenzo
- Offline
- Nieuw lid
Minder
Meer
- Berichten: 3
- Ontvangen bedankjes 0
13 jaren 2 maanden geleden #357
door adelorenzo
Beantwoord door adelorenzo in 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
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
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- Support Team
- Onderwerp Auteur
- Offline
- Moderator
Minder
Meer
- Berichten: 106
- Ontvangen bedankjes 10
13 jaren 2 maanden geleden #358
door Support Team
Beantwoord door Support Team in 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.
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.
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.