Guest Posted May 9, 2007 Share Posted May 9, 2007 I'm using a custom template and whenever I try to add a contribution (in this case FAQ's) it gives me this page error. Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/comgear/public_html/store/includes/header.php:134) in /home/comgear/public_html/store/includes/boxes/categories.php on line 13 It displays everything but in the area where the FAQ's should be it has that. Has the same error for returns tracking. Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 9, 2007 Share Posted May 9, 2007 I think you'll find that the FAQ contibution needs to be modified to work with your custom template /includes/header.php as categories.php is being called twice. Your FAQ php file is including column_left.php in all probability where your custom template /includes/header.php is including categories.php already. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2007 Share Posted May 9, 2007 I think you'll find that the FAQ contibution needs to be modified to work with your custom template /includes/header.php as categories.php is being called twice. Your FAQ php file is including column_left.php in all probability where your custom template /includes/header.php is including categories.php already. So what should I do? Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2007 Share Posted May 9, 2007 aahhh fixed it... Yeah it was trying to load column_left when it didn't need to as everything for this template is loaded within the header file. sweet. I should of looked harder. Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 9, 2007 Share Posted May 9, 2007 Examine your custom template includes/header.php Compare it with the FAQ.php (whatever it is called) and remove from FAQ.php any lines that are already called via custom template includes/header.php other than doing it for you that is all I can offer. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2007 Share Posted May 9, 2007 thanks for the info but yeah I found the issue. I find it really weird that everything loads within the header file but it makes things a lot easier. Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2007 Share Posted May 9, 2007 Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/comgear/public_html/store/includes/functions/general.php on line 42 Now i'm getting this on the checkout page... any ideas? Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2007 Share Posted May 9, 2007 Could someone please help with the error above??? I'm really stuck Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.