- Posts: 106
- Thank you received: 10
undefined function do_magic_quotes_gpc
- Support Team
- Topic Author
- Offline
- Moderator
Less
More
13 years 7 months ago #315
by 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 was created by 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.
Please Log in or Create an account to join the conversation.
- adelorenzo
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 1 month ago #353
by adelorenzo
Replied by adelorenzo on 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
Please Log in or Create an account to join the conversation.
- Support Team
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 106
- Thank you received: 10
13 years 1 month ago - 13 years 1 month ago #354
by Support Team
Replied by Support Team on 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: 13 years 1 month ago by Support Team.
Please Log in or Create an account to join the conversation.
- adelorenzo
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 1 month ago #355
by adelorenzo
Replied by adelorenzo on 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
Please Log in or Create an account to join the conversation.
- Support Team
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 106
- Thank you received: 10
13 years 1 month ago #356
by Support Team
Replied by Support Team on 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.
Please Log in or Create an account to join the conversation.
- adelorenzo
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 1 month ago #357
by adelorenzo
Replied by adelorenzo on 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
Please Log in or Create an account to join the conversation.
- Support Team
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 106
- Thank you received: 10
13 years 1 month ago #358
by Support Team
Replied by Support Team on 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.
Please Log in or Create an account to join the conversation.