Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Packinglist error


Desertsky

Recommended Posts

Posted

Something went wrong with my cart and when I go to print a packing list I get this error:

 

Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/mcintos/public_html/rc-bearings/catalog/admin/includes/functions/compatibility.php:18) in /home/mcintos/public_html/rc-bearings/catalog/admin/includes/functions/compatibility.php on line 30

 

I have the following contributions installed:

 

Bundled Products 1.6

Contact Short Captcha v1-2

CustomerDiscount 1.1

Monthly Sales and Tax Report v2.3.1

Order Editor 5.0.6.6

 

I think it started when I tried to install Freeamount 3.5e but I have since removed that one and the error still persists.

 

Anyone have an idea what is happening here?

 

Thanks.

Posted

In the course of installing these contribution an extra copy of the function do_magic_quotes_gpc() was installed somewhere. One is in

 

/catalog/admin/includes/functions/compatibility.php

 

 

I'ld search for

 

n do_magic_quotes_gpc()

 

In all the files in the directory /admin and sub-directories.

 

Then you can decide which one to remove. The one mentioned above is quite a good pplace to keep it.

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...