<!--#include virtual - HELP!

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default <!--#include virtual - HELP!


    Im trying to using the "includes" on an asp file
    I have one file called services.asp and ive included a footer on this page
    as PageBot.asp

    they are both in the root of the site but it doesn't include the contents of
    pagebot.asp

    if i view source on services.asp, it has this at the bottom of the page
    <!--#include virtual="pageBot.asp"-->
    when in fact it should include the footer html

    I've tried using 'file' and 'virtual' on the includes bit but it still
    doesn't work

    it works locally but not on the server,
    I think the live environment is running apache

    to view it have a look here
    [url]http://www.ais2000.co.uk/test.asp[/url]



    Mark Guest

  2. Similar Questions and Discussions

    1. #26186 [Opn->Bgs]: include_path ignored using include with virtual path
      ID: 26186 Updated by: wez@php.net Reported By: jon at banton dot plus dot com -Status: Open +Status: ...
    2. Include virtual does not work on 2003-server?
      Hi I have 9 asp-sites on a Win2003 server, and would like to use the same include file, but it does not work. The path for the servers default...
    3. Will new Domain affect virtual include?
      I am getting twisted by the possibility that my virtual includes which currently work great on non-domain remote IP will crash if I purchase a...
    4. include virtual
      Assuming /inc/ is a subfolder of your web application, not directly off the web root, you will want to ditch the leading slash: <!--#include...
    5. include virtual problem
      i am using dreamweaver to create an asp page. I have the following code incorporated on the page. :- <!--#include virtual="/includes/meta.asp"...
  3. #2

    Default Re: <!--#include virtual - HELP!

    I don't see any problems with footers on that page. You do have an issue
    with the link to services in the menu however, in that yif you click on the
    link, and not the drop downs it brings up your directory.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "Mark" <mr.davies@SPAMMMM-pleaseNoneVirgin.net> wrote in message
    news:d0iipd$jic$1@forums.macromedia.com...
    >
    > Im trying to using the "includes" on an asp file
    > I have one file called services.asp and ive included a footer on this page
    > as PageBot.asp
    >
    > they are both in the root of the site but it doesn't include the contents
    of
    > pagebot.asp
    >
    > if i view source on services.asp, it has this at the bottom of the page
    > <!--#include virtual="pageBot.asp"-->
    > when in fact it should include the footer html
    >
    > I've tried using 'file' and 'virtual' on the includes bit but it still
    > doesn't work
    >
    > it works locally but not on the server,
    > I think the live environment is running apache
    >
    > to view it have a look here
    > [url]http://www.ais2000.co.uk/test.asp[/url]
    >
    >
    >

    Paul Whitham TMM Guest

  4. #3

    Default Re: <!--#include virtual - HELP!

    Thanks paul but the footer isn't on the page
    see here for an example of the footer
    [url]http://www.ais2000.co.uk/AISpreview.jpg[/url]

    Thanks for letting me know about the link though

    if you view source on this page and scroll to the bottom you will see this
    text
    <!--#include virtual="pageBot.asp"-->

    that clearly shouldn't be there!!


    "Paul Whitham TMM" <paul@valleybiz.net> wrote in message
    news:d0ijdb$kff$1@forums.macromedia.com...
    >I don't see any problems with footers on that page. You do have an issue
    > with the link to services in the menu however, in that yif you click on
    > the
    > link, and not the drop downs it brings up your directory.
    >
    > --
    > Regards
    >
    > Paul Whitham
    > Macromedia Certified Professional for Dreamweaver MX2004
    > Valleybiz Internet Design
    > [url]www.valleybiz.net[/url]
    >
    > Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    > [url]www.macromedia.com/support/forums/team_macromedia[/url]
    >
    > "Mark" <mr.davies@SPAMMMM-pleaseNoneVirgin.net> wrote in message
    > news:d0iipd$jic$1@forums.macromedia.com...
    >>
    >> Im trying to using the "includes" on an asp file
    >> I have one file called services.asp and ive included a footer on this
    >> page
    >> as PageBot.asp
    >>
    >> they are both in the root of the site but it doesn't include the contents
    > of
    >> pagebot.asp
    >>
    >> if i view source on services.asp, it has this at the bottom of the page
    >> <!--#include virtual="pageBot.asp"-->
    >> when in fact it should include the footer html
    >>
    >> I've tried using 'file' and 'virtual' on the includes bit but it still
    >> doesn't work
    >>
    >> it works locally but not on the server,
    >> I think the live environment is running apache
    >>
    >> to view it have a look here
    >> [url]http://www.ais2000.co.uk/test.asp[/url]
    >>
    >>
    >>
    >
    >

    Mark Guest

  5. #4

    Default Re: <!--#include virtual - HELP!

    Looks to me as the server doesn't support ASP

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  6. #5

    Default Re: <!--#include virtual - HELP!

    Thanks Julian I'll look into it

    i;m sure they said it was apache and that it would support asp,
    is there any config issues with apache and include files?


    "Julian Roberts" <newsg@charon.co.uk> wrote in message
    news:d0immb$p10$1@forums.macromedia.com...
    > Looks to me as the server doesn't support ASP
    >
    > --
    > Jules
    > [url]http://www.charon.co.uk/charoncart[/url]
    > Charon Cart 3
    > Shopping Cart Extension for Dreamweaver MX/MX 2004
    >
    >

    Mark Guest

  7. #6

    Default Re: <!--#include virtual - HELP!

    Looks like your server has a FrontPage server extension compatabilty
    component installed (it is a Linux server):

    [url]http://uptime.netcraft.com/up/graph/?host=www.ais2000.co.uk[/url]

    I don't see anything that looks like an ASP parser, though.

    Best regards,
    Chris


    Chris In Madison Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139