Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error on site


amanisuperstore

Recommended Posts

Posted

Hi guys I am getting an error message on the site my when a link takes you to product info. The error message is as follows:

 

Fatal error: Call to undefined function: clean_html_comments() in /home/amaniwe/public_html/royaltyfragrance/includes/header_tags.php on line 185

 

 

This only happens on product_info.php what do you this the problem could be.

 

Eric.

Posted

do a quick compare of the fist 30 lines of product_info.php against another file from your top level (i.e. index.php). You should find the majority of it is the same, especially the include functions. I think you may have one missing from your product_info.php file. Take a backup before you begin playing, but if you find an include missing, paste it in and see if it fixes your problem. If it doesnt, restore your backed up copy and you are still no worse off - gotta be worth a try...?

  • 3 months later...
Posted

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.

Archived

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

×
×
  • Create New...