JohanVZ Posted September 26, 2009 Posted September 26, 2009 I was doing some general design work on a couple of pages when I suddenly noticed that my product information page can't be viewed. When I click on a product I get: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /usr/local/pem/vhosts/147171/webspace/httpdocs/catalog/includes/functions/compatibility.php:18) in /usr/local/pem/vhosts/147171/webspace/httpdocs/catalog/includes/functions/compatibility.php on line 18 I have no idea what I have done. I have a couple of addons installed but they all worked a couple of days ago. I've tried restoring the files I think I've worked on to my backups, but it doesn't help either, and I'm not good enough at PHP to figure out what is wrong. url: http://www.flashlights.se/product_info.php...;products_id=30
germ Posted September 27, 2009 Posted September 27, 2009 Usually caused by uploading a "code" page into the languages folder. Similar thread: click here If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
JohanVZ Posted September 27, 2009 Author Posted September 27, 2009 Usually caused by uploading a "code" page into the languages folder. Similar thread: click here Problem solved! Thanks alot.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.