Page 1 of 1

[[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Tue Oct 28, 2008 8:13 am
by smcfarland
I am getting the following error on checkout. Is this an error just due to the email for the app? We are on a test server and there is no way to test the email without the domain name in place.
Home > Your Account > View Order
[[ConLib:ReceiptPage]] The directive 'page' is unknown.

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Tue Oct 28, 2008 8:40 am
by mazhar
It seems that you have some customization. Edit the ConLib/ReceiptPage.ascx file if there is some page statement as below

Code: Select all

<%@ Page Language="C#" ............ %>
remove it.

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Tue Oct 28, 2008 9:43 am
by smcfarland
I had a code at the beginning of the page:

Code: Select all

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ReceiptPage.ascx.cs" Inherits="ConLib_ReceiptPage" %>
I have never opened these pages before and reuploaded the files just in case, with the same error.

I deleted the code above and saved it to the server, but still get the same error.

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Tue Oct 28, 2008 10:20 am
by mazhar
The above code you mentioned is valid and it must be there in control. If you haven't customized the ConLib/RecieptPage, Checkout/Receipt.aspx, and Receipt Page scriptlet files then replace them with the default ones.

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Tue Oct 28, 2008 10:36 am
by smcfarland
I replaced the conlib files and the scriplet file. To no avail. Still getting the error.

Again, I know many carts will give an error if the mail host info is not correct. Is this the case here? We are on a temp site and the mail would usually be mail.ourdomain.com, but since the site isn't live, it will not work.

If this is the case, is there a way to disable this for testing purposes?

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Tue Oct 28, 2008 10:50 am
by mazhar
I replaced the conlib files and the scriplet file. To no avail. Still getting the error.

Again, I know many carts will give an error if the mail host info is not correct. Is this the case here? We are on a temp site and the mail would usually be mail.ourdomain.com, but since the site isn't live, it will not work.

If this is the case, is there a way to disable this for testing purposes?


Report this post
No this is nothing to do with Email at all. The problem seems to be with ASPX code. Please confirm that you have checked the Checkout/Reciept.aspx file and also make sure that there is no Receipt Page.htm file in Scriptlets/Custom/Content directory.

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Wed Oct 29, 2008 5:28 am
by smcfarland
I replaced the conlib files and the scriplet file. There is nothing in the custom folder.

As far as the templates go, I have customized the header, the footer and the right side panel css, but not added anything other than asthetics, and that was done via notepad.

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Wed Oct 29, 2008 9:47 am
by smcfarland
BUMP

We are ready to test and this is the only issue holding us back (besides the buy one get one free discount).

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Wed Oct 29, 2008 10:03 am
by mazhar
Could you post the store URL here if it's online

Re: [[ConLib:ReceiptPage]] The directive 'page' is unknown.

Posted: Wed Oct 29, 2008 10:11 am
by smcfarland