Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

View more specials error


tdoherty

Recommended Posts

I am running osCommerce 2.2-MS2 and have 2 specials live and when you click on "more" next to the specials...I get this error...

 

Fatal error: Call to undefined function: clean_html_comments() in /usr/www/users/models/rtodd/includes/header_tags.php on line 141

 

This is the code in header_tags.php that I have...

 

$the_specials='';

while ($new_values = tep_db_fetch_array($new)) {

$the_specials .= clean_html_comments($new_values['products_name']) . ', ';

}

 

Has anyone run into this error? I cannot find any reference to this in the forums.

Link to comment
Share on other sites

  • 7 months later...

quick fix, make sure you added this to the bottom of your application_top.php before the closing ?>

 

// BOF: WebMakers.com Added: Header Tags Controller v2.5.2
 require(DIR_WS_FUNCTIONS . 'header_tags.php');
// Clean out HTML comments from ALT tags etc.
 require(DIR_WS_FUNCTIONS . 'clean_html_comments.php');
// EOF: WebMakers.com Added: Header Tags Controller v2.5.2

 

this should fix it for you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...