ParseMetaTags compilation error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
rpb3
Lieutenant (LT)
Lieutenant (LT)
Posts: 60
Joined: Fri Jan 23, 2009 11:20 am

ParseMetaTags compilation error

Post by rpb3 » Fri Jun 24, 2011 10:06 am

New upgrade/install of AC 7.0.7 and when I try to edit any content pages I get this error.

Compiler Error Message: CS0117: 'PageHelper' does not contain a definition for 'ParseMetaTags'

Source Error:


Line 39: string metaDescription = string.Empty;
Line 40:
Line 41: List<HtmlMetaWraper> hmwList = PageHelper.ParseMetaTags(htmlHead);
Line 42: foreach (HtmlMetaWraper hmw in hmwList)
Line 43: {

Source File: [site-path]\Admin\Website\ContentPages\EditContentPage.aspx.cs Line: 41

I have two sites doing this, was installed clean as 7.0.6 and upgraded to 7.0.7 and one was upgraded from 7.0.0 to 7.0.7.

rpb3
Lieutenant (LT)
Lieutenant (LT)
Posts: 60
Joined: Fri Jan 23, 2009 11:20 am

Re: ParseMetaTags compilation error

Post by rpb3 » Fri Jun 24, 2011 10:10 am

Figured it out, had to download the patch from here...

http://help.ablecommerce.com/index.htm# ... _tasks.htm

Here is the direct link to the patch.

ftp://ftp.ablecommerce.com/patches/PageHelper.zip

User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

Re: ParseMetaTags compilation error

Post by NC Software » Sat Jun 25, 2011 5:00 pm

The original patch for PageHelper.cs was missing this method. I found this out and reported it, they then updated the PageHelper.cs file. If you updated PageHelper.cs I highly recommend you verify you have the latest one. The bottom method to ParseMetaTags was missing.
Neal Culiner
NC Software, Inc.

Post Reply