Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
I am getting the following error when processing an order using 5.7.3. I have tried both the "BVC one page checkout" and the "Develysis one page checkout"
Also, when I log at the error log it says "system error" and when I click it to view the details it takes me to the "Edit User" page with a user with no details but 2 orders in the history!
Thanks, Derek
........................................................... Server Error in '/' Application.
Cannot find ContentPlaceHolder 'EndOfForm' in the master page '/BVModules/Themes/Sports Shop/Checkout.master', verify content control's ContentPlaceHolderID attribute in the content page.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Cannot find ContentPlaceHolder 'EndOfForm' in the master page '/BVModules/Themes/Sports Shop/Checkout.master', verify content control's ContentPlaceHolderID attribute in the content page.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Cannot find ContentPlaceHolder 'EndOfForm' in the master page '/BVModules/Themes/Sports Shop/Checkout.master', verify content control's ContentPlaceHolderID attribute in the content page.] System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8669819 System.Web.UI.Page.get_Master() +51 System.Web.UI.Page.ApplyMasterPage() +15 System.Web.UI.Page.PerformPreInit() +45 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016 |
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Sounds like your Receipt.aspx page is missing a the ContentPlaceHolder "EndOfForm". You should see something like this at the bottom of your Receipt.aspx file: Code: <asp:Content ContentPlaceHolderID="EndOfForm" runat="server"> <uc4:AnalyticsTags ID="AnalyticsTags1" runat="server" /> </asp:Content>
|
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
UPDATE***I switched them theme to BVC5 and it works fine....
Thanks Aaron,
I checked the receipt.aspx file and it does appear as that the endofform portion is there. It shows the same as what you noted.
Could it be missing in the checkout.master file within the theme?
Thanks, d. |
|
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
Ok, I added the following to the /theme/sports_shop/checkout.master file....and it seems to work, just not sure if what I did will cause an error elsewhere
<%@ Master Language="VB" CodeFile="Checkout.master.vb" Inherits="BVModules_Themes_Sports_Shop_Checkout" %>
<%@ Register Src="./controls/Header.ascx" TagName="Header" TagPrefix="uc1" %> <%@ Register Src="./controls/Footer.ascx" TagName="Footer" TagPrefix="uc2" %> <%@ Register Src="~/BVModules/Controls/AdminPanel.ascx" TagName="AdminPanel" TagPrefix="uc3" %> [blue]<%@ Register src="../../Controls/AnalyticsTags.ascx" tagname="AnalyticsTags" tagprefix="uc4" %>[/blue] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Home</title> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> <meta name="Keywords" id="MetaKeywords" runat="server" /> <meta name="Description" id="MetaDescription" runat="server" /> <link href="./styles/styles.css" rel="stylesheet" type="text/css" /> <asp:ContentPlaceHolder ID="headcontent" runat="server"></asp:ContentPlaceHolder> </head> <body> <form id="form1" runat="server"> <uc3:AdminPanel ID="AdminPanel1" runat="server"></uc3:AdminPanel> <div id="maincontent"> <uc1:Header ID="Header1" runat="server" /> <div class="maincontentwrapper clear"> <asp:ContentPlaceHolder ID="MainContentHolder" runat="server"> </asp:ContentPlaceHolder> </div> <div class="maincontentwrapper"> <uc2:Footer ID="Footer1" runat="server" /> </div> </div> <div id="maincontentfooter"> </div> [blue] <asp:ContentPlaceHolder ID="EndOfForm" runat="Server"> <uc4:AnalyticsTags ID="AnalyticsTags1" runat="server" /> </asp:ContentPlaceHolder> [/blue] </form> </body> </html>[orange] [/orange] |
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Glad you got it fixed. I was thinking backwards about the ContentPlaceholder. The problem was in the MasterPage, not the actual page. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.