Project / Support Center
Welcome, Guest. Please login or register. January 16, 2022, 07:49: PM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  Open Source Topics  |  OS Commerce  |  Topic: Fatal error: Cannot redeclare do_magic_quotes_gpc() after adding a mod 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Fatal error: Cannot redeclare do_magic_quotes_gpc() after adding a mod  (Read 17241 times)
admin
Guest
« on: June 24, 2008, 01:21: PM »

Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home2/damefata/public_html/catalog/admin/includes/functions/compatibility.php:18) in /home2/damefata/public_html/catalog/admin/includes/functions/compatibility.php on line 30

This error is most likely caused by a file being called for more that once.

Check your mod files and see if there is any where in which a file is being required more than once.

In the case of the Product Inventory Editor Mod v 1.2 the product_list.php was being called at the beginning of the file. What was actually being called was the 'include/languages/product_list.php which held the column heading titles.

We deleted the  require('includes/languages/product_list.php'); in line 14 and manually enter the column headings starting in line 84 replacing <?php echo TABLE_HEADING_PART_NO; ?> with Part #

Once this was done everything worked fine.

BTW this was for a site using STD
« Last Edit: June 24, 2008, 01:24: PM by Web Global Net » Report to moderator   Logged
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  Open Source Topics  |  OS Commerce  |  Topic: Fatal error: Cannot redeclare do_magic_quotes_gpc() after adding a mod « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!