bkellum Posted March 10, 2007 Share Posted March 10, 2007 I am trying to make STS 4.4 and Header Tags Controller 2.6.2 to work with no luck. I tried to follow the instructions in STS Power pack plus to see if that made a difference with no luck. First error: Fatal error: Cannot redeclare clean_html_comments() (previously declared in /hsphere/local/home/xxxx/xxxxx.xxx/osc/includes/functions/clean_html_comments.php:11) in /hsphere/local/home/xxxx/xxxxx.xxx/osc/includes/functions/clean_html_comments.php on line 11 Then in includes/header_tags.php i changed the following as described in this forum thread: require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); to require_once(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); Then I get this error: Fatal error: Cannot redeclare tep_get_header_tag_products_title() (previously declared in /hsphere/local/home/xxxx/xxxxx.xxx/osc/includes/functions/header_tags.php:7) in /hsphere/local/home/xxxx/xxxxx.xxx/osc/includes/functions/header_tags.php on line 7 What is the problem? Also: The error you are experiencing maybe because you have modified the index.php file (and probably other pages in your shop as well) to include header_tags.php, and now STS includes it again.Solution: Remove the include of header_tags.php from each file in your store as it is NOT needed when using STS. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.