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

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

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

Post by smcfarland » Tue Oct 28, 2008 8:13 am

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue Oct 28, 2008 8:40 am

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.

smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

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

Post by smcfarland » Tue Oct 28, 2008 9:43 am

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue Oct 28, 2008 10:20 am

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.

smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

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

Post by smcfarland » Tue Oct 28, 2008 10:36 am

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?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue Oct 28, 2008 10:50 am

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.

smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

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

Post by smcfarland » Wed Oct 29, 2008 5:28 am

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.

smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

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

Post by smcfarland » Wed Oct 29, 2008 9:47 am

BUMP

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Wed Oct 29, 2008 10:03 am

Could you post the store URL here if it's online

smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

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

Post by smcfarland » Wed Oct 29, 2008 10:11 am


Post Reply