Slkrz Posted September 6, 2008 Posted September 6, 2008 Hi guys... I just installed the 'add order number and date to invoice and packing slip' contribution and was testing it out... When I tried to print the invoice or packing slip from my admin page, this is what I got... Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in mydomain\catalog\admin\includes\functions\compatibility.php:18) in mydomain\catalog\admin\includes\functions\compatibility.php on line 30 when I checked the compatibility file, this is what's at line 30.. reset($ar); } if (PHP_VERSION >= 4.1) { $HTTP_GET_VARS =& $_GET; $HTTP_POST_VARS =& $_POST; $HTTP_COOKIE_VARS =& $_COOKIE; $HTTP_SESSION_VARS =& $_SESSION; $HTTP_POST_FILES =& $_FILES; $HTTP_SERVER_VARS =& $_SERVER; } else { if (!is_array($HTTP_GET_VARS)) $HTTP_GET_VARS = array(); if (!is_array($HTTP_POST_VARS)) $HTTP_POST_VARS = array(); if (!is_array($HTTP_COOKIE_VARS)) $HTTP_COOKIE_VARS = array(); } // handle magic_quotes_gpc turned off. if (!get_magic_quotes_gpc()) { do_magic_quotes_gpc($HTTP_GET_VARS); do_magic_quotes_gpc($HTTP_POST_VARS); do_magic_quotes_gpc($HTTP_COOKIE_VARS); } What went wrong? Can anyone help?
Slkrz Posted September 6, 2008 Author Posted September 6, 2008 Solved it!! Uploaded the wrong files to the admin/includes/languages/english folder... Thtats the problem with files of the same name in different folders...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.