Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Aloha,

It has taken me awhile to enter all of the products. I want to set this up like a menu...

Anyway, I don't get an error with all the products, but on some restaurants all the items yield this error:

 

Fatal error: Call to undefined function: clean_html_comments() in /home/alohawed/wwwroot/alohawedeliver.com/catalog/includes/header_tags.php on line 208

 

I would most appreciate it if someone could help me figure this out.

The cart is located here: Aloha We Deliver

 

No error with Wasabi's items, but you see it with the others.

 

Following are lines 200-215 from the file mentioned in the error code:

	if (empty($the_product_info['products_head_title_tag'])) {   //if not HTC title in product
  if (HTTA_CAT_PRODUCT_DEFAULT_ON=='1') {					//if HTCA checked
	$tags_array['title']= HEAD_TITLE_TAG_PRODUCT_INFO;	   //show title for this section 
  }  
  if ( HTTA_PRODUCT_INFO_ON=='1' || empty($tags_array['title'])) { //if default switch on or no entry
	$tags_array['title'].= HEAD_TITLE_TAG_ALL;			   //include the default text
  }	   
} else {	
  $tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag']);
  if (HTTA_CAT_PRODUCT_DEFAULT_ON=='1') {
	$tags_array['title'] .= ' ' . HEAD_TITLE_TAG_PRODUCT_INFO;
  }
  if ( HTTA_PRODUCT_INFO_ON=='1' ) {
	$tags_array['title'] .= ' ' . HEAD_TITLE_TAG_ALL;
  }
}

Mahalo!

Posted

You missed installing that function, the chnages to the application_top file or you are using STS (which requires changes). You should go over the install instructions again. I would also suggest you use version 2.5.9 since it fixed some problems that were in 2.5.8.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...