HomeHome Product Discus... Product Discus...SmithCartSmithCartCart page load errorCart page load error
Previous
 
Next
New Post
1/9/2012 5:23 AM
 

Hi,

 

I am currently testing the Smith Cart version 4.85 and I met the following error:

AssemblyVersion: 6.1.1

PortalID: 0

PortalName: Dnn611

UserID: 3

UserName: test

ActiveTabID: 479

ActiveTabName: SmithBuyNow

RawURL: /SmithBuyNow/tabid/479/ctl/Cart/mid/814/language/en-US/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http:// [...] /en-us/smithbuynow.aspx

UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 209be2bc-15cf-44da-9b7d-dbce813bc55d

InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.UI.ControlCollection.Add

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.Add(Control child) at Smith.DNN.Modules.BuyNow.Cart.ShowTrialVersion() at Smith.DNN.Modules.BuyNow.Cart.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

The error occurs when I click on the 'View Cart' button and event if there is no item in the cart. It seems to be related to the trial version (BuyNow.Cart.ShowTrialVersion() statement).

The cart module is located on the same page as the buyNow one, its 'BuyNow Page Name' is set to the correct page (ie the same page).

 

How can I fix this error ?

 

Thanks.

 

 

 
New Post
1/9/2012 1:21 PM
 

I have download now the same version 4.85, and i have the same error, you have fix this error ?

 
New Post
1/9/2012 2:34 PM
 

Hi Rico and Marcello,

The bug where the trial message causes an error on the cart page has been fixed and is available in cart v4.86.

For others reading this post the bug only existed in cart v4.85 and only if you are running the trial version of the cart 


Thanks for reporting the issue!

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCart page load errorCart page load error