Hello,
I'm getting the following error in the footer of all my cart pages:
Active Server Pages error 'ASP 0140'
Page Command Out Of Order
[snip]..\STORE\PC\../../rss.asp, line 1
The @ command must be the first command within the Active Server Page.
The file rss.asp sits in the site root. Here's the first couple lines of code from that file:< mailto:%'@LANGUAGE="VBSCRIPT - %'@LANGUAGE="VBSCRIPT " CODEPAGE="1252"%> <!--#include file="../../includes/MXRSS/MX_Rss.inc.asp" --> <!--#include file="../../Connections/connSunSoft.asp" --> <% Dim MXRSS_rsRSS: Set MXRSS_rsRSS = new MX_RssReader MXRSS_rsRSS.setConnection MM_connSunSoft_STRING MXRSS_rsRSS.setCacheTime 60 MXRSS_rsRSS.getFeed " http://www.adobe.com/go/rss_dreamweaver/index.rdf - http://www.adobe.com/go/rss_dreamweaver/index.rdf "
As you can see the first line contains the @command. I'm sure that since the SSI is being called from the footer file that the @command must already exist because of the PC pages being processed inside the header. However, I can't tell from the error message if the @command has been recognized by the ASP parser in IIS from processing all the header files ect..
This is the code to bring in the file: <!--#include file="../../rss.asp"--> I've tried commenting out the @ command but still get the error.
The file to be included runs from the site root because it was having path problems from a temp cache file buried deep inside the rss components folder structure. The rss reader works just fine from the root, so I'm trying to to pull it into the footer.
Any help would be appreciated.
|