Using Server Side include from site root |
Post Reply |
Author | |
dcunningham
Newbie Joined: 08-July-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 09-September-2006 at 11:46am |
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:<%'@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> 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. Edited by dcunningham - 09-September-2006 at 11:52am |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |