ASP Include File issue

I have been trying to use a form as an include file.
I created the file as a separate asp page, and then tried to
add it as an
include, the page fails when I try in on my testing server.
If I create the
form within the page I get no problems!!
Also when the page displays in the design view I get the
</Head> tag showing
within the include file of the page.
Anyone any suggestions to fixing these issues.
Thanks
Lez

The way to think of it is that the server reads original
page, and if it has
an include, it grabs that and throws it in the code where you
told it to be.
What you get is one compiled page that goes to the browser.
So any CSS or
other info at the top of your calling page will affect
everything in the
page. Look at your page in a browser, then check out "View
Source" and
you'll see that it looks like one page. The browser doesn't
know, or care,
whether it was assembled from several parts or is just one
whole page from
the get go.
So yes, it can go...as long as that CSS call is in the top of
the calling
page! Which I don't think it is (but it should be).
MD
"Lez" <[email protected]> wrote in message
news:[email protected]...
> Do I not need to leave the CSS link in, or will it pick
up from the main
> page ?
>
> "Mad Dog" <[email protected]> wrote
in message
> news:[email protected]...
>> You still have one stray line in the include that
doesn't belong there:
>>
>> <link href="standard.css" rel="stylesheet"
type="text/css" />
>>
>> As to the next question, you need to set the ACTION
to go to a forms
>> handler. That's what will process it and send an
email with the info they
>> filled in to someone. The easiest thing, is to check
with whoever is
>> hosting the site. They usually have a forms handler
in place (such as
>> formmail) along with an FAQ and instructions on how
to set it up and use
>> it.
>>
>> MD
>>
>>
>> "Lez" <[email protected]> wrote in
message
>> news:[email protected]...
>>> OK have changed and saved the page as ASP and
now seems to work
>>> fine....do you know How I can send a mail to an
email address advising
>>> when this has been completed...have had a real
problem sorting that one
>>> out?
>>> Lez
>>>
>>>
>>> "Lez" <[email protected]> wrote
in message
>>> news:[email protected]...
>>>> The 'INCLUDE' form page has the asp
extension, does the main page also
>>>> require to be an ASP, as these pages will be
done by someone else?
>>>>
>>>> Thanks
>>>> Lez
>>>>
>>>> "Nancy - Adobe Comm. Expert"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> An ASP page has to have an ASP
extension. Your page has an html
>>>>> extension.
>>>>>
>>>>>
>>>>> --
>>>>> Nancy Gill
>>>>> Adobe Community Expert
>>>>> Author: Dreamweaver 8 e-book for the DMX
Zone
>>>>> Co-Author: Dreamweaver MX: Instant
Troubleshooter (August, 2003)
>>>>> Technical Editor: Dreamweaver CS3: The
Missing Manual,
>>>>> DMX 2004: The Complete Reference, DMX
2004: A Beginner's Guide
>>>>> Mastering Macromedia Contribute
>>>>> Technical Reviewer: Dynamic Dreamweaver
MX/DMX: Advanced PHP Web
>>>>> Development
>>>>>
>>>>> "Lez"
<[email protected]> wrote in message
>>>>>
news:[email protected]...
>>>>>> Sorry if I sounded off hand, I
followed the help file that does not
>>>>>> say remove any surrounding tags, I
have now removed them and the page
>>>>>> looks OK, however, the submit button
does not submit the form. On
>>>>>> hovering the button it displays the
<% ==MM_editAction %> and fails
>>>>>> to complete the insert as it should
do.
>>>>>>
>>>>>> the testing URL is
>>>>>>
>>>>>>
http://millmaxnetwork.com/Copy%20of%20SpecificInv_GNT_1.html
>>>>>>
>>>>>> Regards
>>>>>> Lez
>>>>>>
>>>>>>
>>>>>> "Mad Dog"
<[email protected]> wrote in message
>>>>>>
news:[email protected]...
>>>>>>> What I said could very likely be
helpful. Without seeing the pages
>>>>>>> online or the files it's
impossible to know for sure, but since you
>>>>>>> said you could "get the
</Head> tag showing within the include file
>>>>>>> of the page" in Design View, it
sounds like you might have more in
>>>>>>> the include page than you
should. As I said, an include should not
>>>>>>> have anything other than the
"guts" of the page. Does your include
>>>>>>> file have any <header>,
<body> or other "top of the page" elements
>>>>>>> included? If so, that could be
the culprit. From your description, I
>>>>>>> would expect it might only
include the area from <form> to </form>.
>>>>>>> If this isn't being helpful and
you already have it stripped down, I
>>>>>>> apologize and hope you'll post a
URL where we can see it or include
>>>>>>> the code so someone can look at
it.
>>>>>>>
>>>>>>> MD
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> "Lez"
<[email protected]> wrote in message
>>>>>>>
news:[email protected]...
>>>>>>>>
>>>>>>>> If you can't add anything
helpful ....why reply ?
>>>>>>>>
>>>>>>>>
>>>>>>>> "Mad Dog"
<[email protected]> wrote in message
>>>>>>>>
news:[email protected]...
>>>>>>>>> For starters, the
include file should have nothing but the actual
>>>>>>>>> body of the code. No
header, no <head> tag, no <body> tag. Just
>>>>>>>>> the guts.
>>>>>>>>>
>>>>>>>>> MD
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Lez"
<[email protected]> wrote in message
>>>>>>>>>
news:[email protected]...
>>>>>>>>>>I have been trying to
use a form as an include file.
>>>>>>>>>>
>>>>>>>>>> I created the file
as a separate asp page, and then tried to add
>>>>>>>>>> it as an include,
the page fails when I try in on my testing
>>>>>>>>>> server. If I create
the form within the page I get no problems!!
>>>>>>>>>>
>>>>>>>>>> Also when the page
displays in the design view I get the </Head>
>>>>>>>>>> tag showing within
the include file of the page.
>>>>>>>>>>
>>>>>>>>>> Anyone any
suggestions to fixing these issues.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Lez
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>

Similar Messages

  • Inserting swfs in ASP include files, CS4?

    I'm having a problem inserting SWFs into ASP include files in CS4 and am wondering if there's a solution other than going back to CS3.
    I've been adding pages to this site on a daily basis and at some point a few years ago we needed to start using ASP includes. The C-wrapper is in the ASP file and the content is in the included file.
    Unfortunately, the way CS4 insists on adding SWFs leads to broken pages. The error in Firefox is:
    Active Server Pages error 'ASP 0139'
    Nested Object
    /MySite/MyFolder/MyTopic/include/includedFile.htm, line 93
    An object tag cannot be placed inside another object tag.
    So, MyFile.ASP uses include/includeFile.htm. The SWF is inserted into includeFile.htm. DWCS4 uses this code:
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="510" height="384">
          <param name="movie" value="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="9.0.45.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="/Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" width="510" height="384">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <param name="expressinstall" value="/Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
    I understand the problem with nested objects. I think what I'd really like is to keep CS4 but go back to the method CS3 was using to insert SWF files. This current method is especially difficult because when I change it and later reopen the file DW wants to "correct" it.
    Any helpful hints would be appreciated.
    Rob Mack

    Okay, my solution was to go find the old CS3 code and make a snippet out of it. This way I always have a piece of code that works -sort of- and at least it stays consistant. It's a little more work now but if the old CS3 code for a swf is present then CS4 won't complain.
    It seems to me that hard coding this into the CS4 product makes it kind of inflexible.
    Here is the CS3 code. It works in a file that will later be included in an ASP file. The CS4 code quoted previously doesn't work.
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','510','height','384','src','/MySite/MyFolder/MyTopic/images/oneOfMany','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','/MySite/MyFolder/MyTopic/images/oneOfMany' ); //end AC code
        </script>
          <noscript>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="510" height="384">
            <param name="movie" value="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" />
            <param name="quality" value="high" />
            <embed src="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="510" height="384"></embed>
          </object>
        </noscript>
    Rob Mack

  • Dreamweaver 8 - Include File issue

    Can anyone help.
    I have managed to fix this on previous versions of
    Dreamweaver however its not working on Dreamweaver 8.
    The problem is I'm trying to view Include files (.inc) in
    Design view, but Dreamweaver 8 will only allow me to view this in
    code view.
    The link I used to solve this on previous versions is as
    follows:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16410
    The main problem is I cannot find my MMDocumentTypes.xml file
    so I think this could have something to do with it not working.
    Any help would be great

    Why not rename your *.inc files to *.htm(l)?
    > The main problem is I cannot find my MMDocumentTypes.xml
    file so I think
    > this
    > could have something to do with it not working.
    It's in the -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\
    folder.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "mattbuk1984" <[email protected]> wrote in
    message
    news:endmm0$7u9$[email protected]..
    > Can anyone help.
    >
    > I have managed to fix this on previous versions of
    Dreamweaver however its
    > not
    > working on Dreamweaver 8.
    >
    > The problem is I'm trying to view Include files (.inc)
    in Design view, but
    > Dreamweaver 8 will only allow me to view this in code
    view.
    >
    > The link I used to solve this on previous versions is as
    follows:
    >
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16410
    >
    > The main problem is I cannot find my MMDocumentTypes.xml
    file so I think
    > this
    > could have something to do with it not working.
    >
    > Any help would be great
    >

  • Include file issue

    I've got a form in a tabe that i've got as an include file
    throughout the
    site. For some reason in firefox the form sits flush with the
    table above it
    & in ie there is a margin of about 10/15px.
    Firefox is displaying as it should as i have checked all the
    surrounding
    code in the include file and in the html file it is being
    included in and
    there is no spacing at all - not even in the css applied to
    it.
    In design view the include form drops low as the hidden items
    are visible
    (form tags & the include tags) but these shouldn't affect
    the positioning?
    Absolutely no idea what could be causing this.
    Please help - Thanks!

    Good luck!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "JimR99" <[email protected]> wrote in message
    news:[email protected]...
    > Yep, It worked a treat. Thanks Murray!
    >
    > Bit of a doh! moment....
    >
    >
    >
    >
    > "JimR99" <[email protected]> wrote in message
    > news:[email protected]...
    >> I'll try that & if it doesn't work i'll post the
    code.
    >>
    >> Thanks Murray
    >>
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >> > Show us, please.
    >> >
    >> > I'm guessing you need to control the margin-top
    value of the form tag.
    >> >
    >> > --
    >> > Murray --- ICQ 71997575
    >> > Adobe Community Expert
    >> > (If you *MUST* email me, don't LAUGH when you
    do so!)
    >> > ==================
    >> >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >> >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >> >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >> >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> > ==================
    >> >
    >> >
    >> > "JimR99" <[email protected]> wrote in
    message
    >> > news:[email protected]...
    >> > > I've got a form in a tabe that i've got as
    an include file throughout
    >> the
    >> > > site. For some reason in firefox the form
    sits flush with the table
    >> above
    >> > > it
    >> > > & in ie there is a margin of about
    10/15px.
    >> > >
    >> > > Firefox is displaying as it should as i
    have checked all the
    > surrounding
    >> > > code in the include file and in the html
    file it is being included in
    >> and
    >> > > there is no spacing at all - not even in
    the css applied to it.
    >> > >
    >> > > In design view the include form drops low
    as the hidden items are
    >> visible
    >> > > (form tags & the include tags) but
    these shouldn't affect the
    >> positioning?
    >> > >
    >> > > Absolutely no idea what could be causing
    this.
    >> > >
    >> > > Please help - Thanks!
    >> > >
    >> > >
    >> >
    >> >
    >>
    >>
    >
    >

  • !--#include file="file.asp"--

    Hi,
    When I am using "<!--#include file="top.asp"-->" in asp
    page, I am unable to view page in design mode.
    Please help !

    Are you referring to "top.asp", or "the page that includes
    it"?
    If you are using DW CS4, and you've opened the a page that
    has that
    include statement, you'll see "top.asp" listed as a related
    file. If you
    click on the "top.asp" tab, you see only the code in the Code
    View. To
    view it in Design View, right-click on the tab and choose
    "Open as
    Separate File".
    Randy
    > When I am using "<!--#include file="top.asp"-->"
    in asp page, I am unable to view page in design mode.

  • Failure in Precompilation of JSPs  due to include file in WL6.1 SP2

    Hi
              We are getting the following error when we try to do precompilation of JSPs using
              precompile param to true in weblogic.xml
              We are deploying our application as war files.
              eagerly waiting for your help
              sincerely
              Ramesh
              Issue description and StackTrace:
              Issue:
              Precompilation of JSPs fail while using precompile param to true in weblogic.xml and deploy it as War file. It is througing "failure pre-compiling JSP's
              weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              xception: Could not include index.jsp" exception.
              OS: Windows 2000
              Jdk: Sun Jdk1.3.1
              Weblogic: 6.1 SP2
              ***Stacktrace*************
              <Dec 17, 2002 1:05:51 PM CST> <Error> <HTTP> <[WebAppServletContext(3961036,AdvW
              eb,/AdvWeb)] failure pre-compiling JSP's
              weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              xception: Could not include index.jsp
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1025)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:80)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:183)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255
              

    Ramesh,
              We experienced this sympton as well. In our JSPs, we converted
              <%@ include file="xyz.jsp"%> (static include, source time) to
              <jsp:include page="licensedQuote.jsp"/> (dynamic include, run time)
              and the problem went away.
              We still use static includes at the very start of the JSPs. It seems the problem only occurs when the static include is inside of a tag whose body does JSP evaluation.
              -Charlie
              "Ramesh Danala" <[email protected]> wrote in message news:[email protected]...
              > Hi
              > We are getting the following error when we try to do precompilation of JSPs using
              > precompile param to true in weblogic.xml
              > We are deploying our application as war files.
              > eagerly waiting for your help
              > sincerely
              > Ramesh
              >
              > Issue description and StackTrace:
              > Issue:
              >
              > Precompilation of JSPs fail while using precompile param to true in weblogic.xml and deploy it as War file. It is througing "failure pre-compiling JSP's
              > weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              > xception: Could not include index.jsp" exception.
              >
              > OS: Windows 2000
              > Jdk: Sun Jdk1.3.1
              > Weblogic: 6.1 SP2
              >
              > ***Stacktrace*************
              >
              > <Dec 17, 2002 1:05:51 PM CST> <Error> <HTTP> <[WebAppServletContext(3961036,AdvW
              > eb,/AdvWeb)] failure pre-compiling JSP's
              > weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              > xception: Could not include index.jsp
              > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1025)
              > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:80)
              > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:183)
              > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              > at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255
              > )
              

  • Help using asp includes in Dreamweaver

    I'm using asp includes ( <!--#include
    file="incl_menu.asp"--> ) in my
    website. When viewing the site in Dreamweaver sometimes I
    don't see the
    included page. Is there a way to always see the included
    page?
    I have version 7.01 of dreamweaver on a window xp machine.

    You need to set up a testing server. Are you using XP home or
    pro? If it's home then you are going to have problems.

  • Unable To Include Files In iOS Package

    Hi,
    I an using the latest release version of Flash Builder, trying to package an app for the iPad. I have an AIR application that I created to run on a desktop, and have modified it to run on the iPad. It works fine, however I cannot package the need resource files it uses, such as jpg, xml, swf, and flv files within the ipa file using Flash Builder. It seems that if I select more than 30-40 of these types of files to include, Flash Builder will not compile the ipa file without some sort of error, the most common one talks about:
    "Cannot run program "java.exe" (in directory "C\Users\lee\AppData\Local\Temp\AOT1308010984915"): CreateProcess error=206, The filename or extension is too long"
    Now I am guessing that Flash Builder is appending all of my selected files to a command line string or something somewhere, and so it can't handle that long of string on the command line. If I stick to less than 30 files, it works fine, but if I try and the 1000 or so files that I need to, it will not work.
    This app would never be in the app store, but rather on internal company iPads. The reason for so many files is the number of products the app covers, and the number of languages it supports. So yes the ipa file would be about 500Mb, but that should not be an issue, since an ipa file is basically a zipped archive. I think this is a bug though in Flash Builder; the program also becomes unresponsive when trying to access the include file list located in Project Properties -> ActionScript Build Packaging -> Apple iOS settings dialog. It make take several minutes before FB becomes responsive again when working with this number of files.
    Does anyone have any suggestions?
    thanks

    Hello,
    Since I first encountered this bug, I have always had my asset files in
    subfolders. See the attached screen shot. This is my project folder, and
    every subfolder is included except for the com folder, which for some
    reason FB copied into the bin directory on it's own.
    So I do not think this fixed. In this report, they are not using the same
    number of files as I am, so it is possible that this only works with a low
    number of files.
    thx
    Anirudh Sasikumar <[email protected]>
    06/23/2011 01:26 AM
    Please respond to
    [email protected]
    To
    Keith Lee <[email protected]>
    cc
    Subject
    Unable To Include Files In iOS Package
    Caterpillar: Confidential Green Retain Until: 07/23/2011
    Here is the bug: https://bugs.adobe.com/jira/browse/FB-31616
    The comments seem to indicate that if you put your files in a subfolder
    rather than directly in src, it should work.
    Let us know how it goes.
    -Anirudh

  • How do I get a link to work in an "include" file?

    I have link to a picture in a php web page. <a href="../images/testpic.jpg">
    index.php
    --include/maincontent.inc.php
    --images/testpic.jpg
    I call this file "maincontent.inc.php" from another file "index.php" in the root directory using a php include statement.  <?php include("include/maincontent.inc.php"); ?>
    I have tried absolute links also but nothing seems to work.
    I have had this problem before and just put the include file in the root directory. That works.
    Have had this same problem with a sample from a php book. Figured if the author can do it why can't I :-(.

    Have you tried opening the links in a different browser to verify it's an issue withing FF locally, and not the website/page itself rather than browser specific?

  • ASP Includes in Dreamweaver cs3

    Hi all,
    My issue is that I can't get more than 1 include to display
    in the editor view of dreamweaver...I have all my settings setup
    correctly for my site, but it fails to show anything past the first
    one. I don't ever use this editor view, but my boss is going to
    take over the site when I leave so he needs to be able to view
    stuff in the editor view because he has zero code experience...Any
    ideas? Here's a generic page of code...
    <html>
    <head><title>Sutter-Yuba Mosquito Vector Control
    District (SYMVCD)</title>
    <link rel="stylesheet" type="text/css"
    href="Styles.css">
    </head>
    <body>
    <div id="Page">
    <!--#include file ="includes/Logo.inc"-->
    <!--#include file ="includes/Menu.inc"-->
    <!--#include file ="includes/News.inc"-->
    <div id="HomePageContent">
    <p align="center" class="ContentHeading">
    Welcome!</p>
    <p class="ContentText">
    </p>
    </div>
    <!--#include file ="includes/SiteMap.inc"-->
    </div>
    </body>
    </html>

    > my boss is going to take over the site when I leave so
    he needs to be able
    > to view stuff in the editor view because he has zero
    code experience...
    Damn scary. Guess who is going to clean up all the messes?
    Do any of your includes contain <html>, <head>,
    or <body> tags?
    (and by the way, those are ordinary HTML includes)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "snowboarder1985ca" <[email protected]>
    wrote in message
    news:f8o454$7ue$[email protected]..
    > Hi all,
    >
    > My issue is that I can't get more than 1 include to
    display in the editor
    > view
    > of dreamweaver...I have all my settings setup correctly
    for my site, but
    > it
    > fails to show anything past the first one. I don't ever
    use this editor
    > view,
    > but my boss is going to take over the site when I leave
    so he needs to be
    > able
    > to view stuff in the editor view because he has zero
    code experience...Any
    > ideas? Here's a generic page of code...
    >
    > <html>
    > <head><title>Sutter-Yuba Mosquito Vector
    Control District (SYMVCD)</title>
    > <link rel="stylesheet" type="text/css"
    href="Styles.css">
    > </head>
    >
    > <body>
    >
    > <div id="Page">
    >
    > <!--#include file ="includes/Logo.inc"-->
    > <!--#include file ="includes/Menu.inc"-->
    > <!--#include file ="includes/News.inc"-->
    > <div id="HomePageContent">
    >
    > <p align="center" class="ContentHeading">
    Welcome!</p>
    >
    > <p class="ContentText">
    >
    > </p>
    > </div>
    >
    > <!--#include file ="includes/SiteMap.inc"-->
    >
    > </div>
    > </body>
    > </html>
    >
    >

  • ADMT 3.2 Group Migration - Include File error: The object was not found in the domain

    Hello,
    I have been digging for weeks and still no answer. I am trying to migrate Group across two domains and if I select the group, it works just fine. But I want to bulk-migrate groups. So I am going the Include-File route. when ever I load the file I get
    the bulk of the groups processed but I get a dialogue box that states:
    The following objects are either not found or do not meet selection requirement. No migration will be performed on these objects.
    Then I get a list a group and the message states:
    The object was not found in the domain "contoso.com"
    Does any one know anything about this or how to fix it? I have compared the files with good/bad versions using ADSI edit and from its POV they look the same.

    Hi,
    Thanks for your post.
    There is an attribute named "showInAdvancedViewOnly" which specifies whether the object is to be visible in the "Advanced" mode of user interfaces. This is to say, if the schema attribute "ShowInAdvanceViewOnly" is set to TRUE for any security principal
    in AD, we would not be able to find that account or group while trying to migrate it except the simple ADUC search. Just as the issue you encountered.
    Therefore, please enable the "Advanced" mode in Active Directory Users and Computers, and then check if the three groups could be migrated or not.
    If anything unclear or you have any questions about this case, please feel free to let me know.
    Thanks and I look forward to your reply.
    Best regards,
    Ann Zhu

  • INCLUDE File Concept Questions

    Hello All!
    I am extremely new to ABAP development; most of my experience is in Windows Programming.
    While building a Local Class Hierarchy in an INCLUDE file, I ran into a few "quirks". Hopefully, answers to these questions will help me understand the inter-op between REPORT files and INCLUDE Files much better as well.
    **NOTE** I have searched through SAP Library, this forum (admittedly, I may have missed older threads) and Googled each topic for each of these issues and not found information that satisfactorily answered my questions. I'm hoping the experts here may shed some light on my questions.
    My questions are in regard to the linking between a REPORT and an INCLUDE file. When I created the INCLUDE file, I started a new instance of SE38 and went through the option dialogs to establish the file as an INCLUDE. Then, UML in hand, I started coding. Since I am new to ABAP, I run Syntax checks regularly (Finally getting used to those periods!!!). Not suprisingly, I couldn't run a Syntax check on the include. I decided to start another instance of SE38 and open the REPORT file this INCLUDE is being built for (initially). I added the INCLUDE statement and ran a Syntax Check, Success! Ever since that point however, the quirks have been appearing.
    For instance, I would like to define Text Elements local to the include file; however, when I bring up the Text Elements Screen (from the INCLUDE file), the Text Elements from the REPORT are loaded in. Is it possible to define Text Elements Local to an INCLUDE file? If not, are INCLUDE files really intended to be used by multiple REPORTs? It would seem not since it looks to be tightly coupled to the REPORT I have it included in; # this could lead to naming conflicts with Text Elements as well #.
    I think I may have thought of a reason for the other quirk, but would like to run it by you all to see if I am on the mark. When I have the INCLUDE file open and attempt to activate it, if a syntax error is in the active version of the report due to the include file (i.e. Tables declared more then once), it will warn me before activating. I believe this is due to the fact that SAP will try make sure existing applications will not be harmed by changes to an include file. If this is true, then INCLUDE files must be fairly closely coupled with each REPORT they are included in. Is this correct?
    Thank you for your time and consideration.
    I look forward to the day I know enough to begin helping each of you as well.
    Steven Coolbaugh
    Edited by: Steven Coolbaugh on Jan 20, 2009 6:21 PM - Clarifying a Thought - # Delimited.

    Hi
    U should considere the INCLUDE is just like a box can be inserted in a program (REPORT), the include can't exist without a report (the main program).
    The include can be used to arrange the program: several thounsends of abap code lines can be in a program, if you split them in several includes, it'll be easier to read and manage the program.
    It can group components of the same type (for example the data declaration, the routine definitions,....) into the same include, in this way it'll be easier to manage the program for the maintenaces in the future.
    An include can be used by different programs, so if u need to use certain definations for many program, u can insert them in a include once and then call the include in all program u need: in this way if you update that include you'll update all program using that include.
    So you'll need to insert the corrections in the include just once instead of to repeate it for every program.
    Anyway all text elements used in include belongs to main program, not to the include, so u need to define it again for every program.
    Max

  • Dreamweaver Templates and Include files

    Hi,
    I am using dreamweaver templates so that my users can create
    new pages on our Intranet using Contribute.
    When I create a template and try and use an inculde file for
    the menu systems I get an error. I am trying to use the following
    code to inculde the asp file:
    <!--#include file="/includes/menu.asp" -->
    And I get the following error when saving the template:
    Unbalanced body tag
    I have checked and I definetly have opening and closing body
    tags in the HTML. So I am wondering whether the error is caused by
    the fact that the file is a dwt and not as asp.
    So, is there anyway of using include files in a dreamweaver
    template?
    Thanks in advance for any help.

    That's the wrong syntax for a file include. It should be
    either of these -
    <!--#include virtual="/includes/menu.asp" -->
    or
    <!--#include file="includes/menu.asp" -->
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Alan" <[email protected]> wrote in
    message
    news:C568040E.31895D%[email protected]..
    >
    >
    >> <!--#include file="/includes/menu.asp" -->
    >>
    >> And I get the following error when saving the
    template:
    >>
    >> Unbalanced body tag
    >>
    >> I have checked and I definetly have opening and
    closing body tags in the
    >> HTML.
    >
    > Is the include file JUST the html that would be correct
    syntax for where
    > it
    > is used in the main file?
    >
    > In other words- included files should not be complete
    html docs with their
    > own head and body tags. That would result in multiple
    head and body tags
    > in
    > the assembled files.
    >
    >
    > --
    > Alan
    > Adobe Community Expert, dreamweaver
    >
    >
    http://www.adobe.com/communities/experts/
    >
    >
    >

  • Sudden MTS File Issues

    I have been editing MTS files (AVCHD) from a Panasonic GH2 (Some hacked some stock firmware) for over 2 years with little to no issues. I am using the CS5.5 Master Collection, Premiere Pro in this case, on a 3 year old Sager laptop (64-bit, i-7 720qm, 8GB RAM, 2 internal HDDs, nVidia GeForce GTX 285M). I am not sure if I am having hardware issues or a corrupt file but something is not right.
    I am now in the middle of a project and all of the sudden my computer is VERY sluggish and it takes minutes before things update (such as scrolling in my timeline to a different frame) and sometimes it just freezes up all together. There is also an issue (could be related) with the second set of spanned clips (detailed below) from this project.
    The timeline is DV 24P widescreen since it is going to DVD and also uses footage shot from a DVX100b for cutaways. The GH2 footage was all shot with stock firmware 1.1 at 24H, all shot on one day and the first recording time was just shy of an hour, then about 20 minutes and then another for about an hour. This produced 3 mts files for the first section, 1 solo file for the short section and 4 files for the last long section.  I copied the whole card to my D drive without altering any of the folder structure like a good boy. I brought in the clips to the project window and had no issues with editing the first hour section. I will say that I did not use the media browser as I have learned recently is the preferred way to import these clips. For the last 2 years I have dragged and dropped using the windows explorer window and have not had any issues until now. I have dealt with spanned clips, a music video hat required over ten video tracks and much higher bit rates so I am not sure what the trigger is for these issues. What is odd about the second longer clip is that when the first clip is dragged in to the timeline( 00004), it only brings that clip, not the others that should be attached. The first section worked but not this one. And all of the files that follow this clip are numbered differently but look identical to (00004) when dragged to the timeline. They all appear normal in explorer (smaller clips that should be spanned together) so the footage is in tact, just not in PP.
    I experimented a little and copied clip 0005 into it's own folder, dragged it in and it then displayed properly (not a copy of 00004). The sluggish issue is still there so I am not ready to just grin and bear it with this workaround. I also experimented by creating a brand new project, copying the original footage from my archive drive (never imported into a timeline so no xmp files) into a new folder and used media browser to bring in the footage. It didn't show clips 00005 and up since the media browser is only supposed to show the first of the spanned clips but it was still only 24 minutes long and obviously not including the rest of the clips. MEdia browser recognizes these clips are supposed to be together, but PP is seeing them all as copies of 00005.
    I will greatly appreciate any opinions but bear in mind that I have used this same workflow on this same system for over 2 years. The only variable is that these spanned clips may be slightly longer than I have used in the past but not by much. I really don't know if there is a peice of hardware malfunctioning, if the clip is somehow corrupt or if I am missing something obvious.
    What coulod cause this sudden change in performance? Would editing with a proxy help? Should I convert this trouble clip to a different format? Am I asking too much of my system? Are there ways to check if my computer is functioning properly?
    Thanks in advance for any insight and for reading this rather lengthy explaination.
    Cole

    I wanted to give a quick update on this MTS file issue. I was able to get my system back to normal by isolating the trouble files in their own folders outside of the "Private" folder(the actual source files, not in the premiere project). I copied the first clip of the group into a folder by itself and the last 3 clips into another folder. I deleted the originals from premiere and imported (dragging and dropping from windows, not using media browser) the isolated files and they worked fine. Obviously they were now 4 independent files that I had to place side by side in the timeline but they lined up and there is no more lag in the system and there are no more duplicate files.
    Far from conventional but it has me editing again and I didn't have to buy a new computer to be back in business. I can only guess that something glitched when it was conforming and it wouldn't recognize the spanned clips.
    A special thanks to Eric at ADK for offering some suggestions that I fortunately didn't have to try.

  • Problems using a php include file with an Add-on Domain.

    Hello,
    I am having an issue getting a php include file to work with a new add-on domain I am working on getting up and running.
    This include file is one that supplies the rest of the php code to a contact form page.  It works as it should for my original domain, same file no difference.  I made sure that the files hosted on the remote server had all read, write, execute permissions turned on.
    I have tried putting the include file in several different locations as a test, such as:
    I don't remember the exact name of the include file at the moment, as I'm at work so I will designate it below as 'includefile.php'.
    file path for add-on domain - ../public_html/lorentzpainting/includes/includefile.php
    alternatives I tried moving the file to - ../public_html/lorentzpainting/includefile.php
    When none of those options worked, I tried just pointing the path towards other places on the server that have the include file such as:
    ../public_html/includes/includefile.php
    ../public_html/includefile.php
    What can I do here?  Should I just give up on using the include and put all the code back in the page?  Doesn't seem like it should be this complicated, it works perfectly fine for my other site.. and still does.
    Thanks ahead of time to those who may assist me.

    here is the contents of the include file:
    <?php
    if (isset($_SERVER['SCRIPT_NAME']) && strpos($_SERVER['SCRIPT_NAME'],
    '.inc.php')) exit;
    // remove escape characters from POST array
    if (PHP_VERSION < 6 && get_magic_quotes_gpc()) {
      function stripslashes_deep($value) {
        $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
        return $value;
      $_POST = array_map('stripslashes_deep', $_POST);
      // assume that there is nothing suspect
        $suspect = false;
        // create a pattern to locate suspect phrases
        $pattern = '/Content-Type:|Bcc:|Cc:/i';
          // function to check for suspect phrases
      function isSuspect($val, $pattern, &$suspect) {
        // if the variable is an array, loop through each element
        // and pass it recursively back to the same function
        if (is_array($val)) {
          foreach ($val as $item) {
            isSuspect($item, $pattern, $suspect);
        else {
          // if one of the suspect phrases is found, set Boolean to true
          if (preg_match($pattern, $val)) {
            $suspect = true;
    //check the $_POST array and any subarrays for suspect content
    isSuspect($_POST, $pattern, $suspect);
        if (!empty($_POST['url'])) {
            $suspect = true;
        if ($suspect) {
            $mailSent = false;
            unset($missing);
        } else {
        //process the $_POST variables
        foreach ($_POST as $key => $value) {
            // assign to temporary variable and strip whitespace if not an array
            $temp = is_array($value) ? $value : trim($value);
            // if empty and required, add to $missing array
            if (empty($temp) && in_array($key, $required)) {
                array_push($missing, $key);
            } elseif (in_array($key, $expected)) {
                // otherwise, assign to a variable of the same name as $key
                ${$key} = $temp;
        //validate the email address
        if (!empty($email)) {
            // regex to identify illegal characters in email address
    $checkEmail = '/^[^@]+@[^\s\r\n\'";,@%]+$/';
    //reject the email address if it doesn't match
    if (!preg_match($checkEmail, $email)) {
        $suspect = true;
        $mailSent = false;
        unset($missing);
    //go ahead only if all required fields OK
        if (!$suspect && empty($missing)) {
    //initialize the $message variable
            $message = '';
    // loop through the $expected array
            foreach($expected as $item) {
    // assign the value of the current item to $val
                if (isset(${$item}) && !empty(${$item})) {
                    $val = ${$item};
                } else {
    // if it has no value, assign 'Not selected'
                    $val = 'Not selected';
    // if an array, expand as comma-sparated string
                if (is_array($val)) {
                    $val = implode(',', $val);
    // add label and value to the message body
      $message .= ucfirst($item).": $val\r\n\r\n";
    //limit line length to 70 characters
        $message = wordwrap($message, 70);
    //create Reply-To header
        if (!empty($email)) {
            $headers .= "\r\nReply-To: $email";
    // send it
        $mailSent = mail($to, $subject, $message, $headers);
        if ($mailSent) {
    // $missing is no longer needed if the email is sent, so unset it
            unset($missing); echo('Thank you for contacting Common Wealth Web Solutions');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    </body>
    </html>

Maybe you are looking for

  • Insert a link on xml report. The link should open up a document(PDFS).

    Is it possible to insert a link in the report? The value would come from a sql query. The link when clicked on would open up the pdf or doc. Is this done thru a href or by inserting a dynamic hyper link. The release Release 5.6.2 documentation refere

  • Coding a Driver. Please HELP

    // I need to code a driver for Employee class below. // Need help getting started // I fix prior errors, thank everyone import java.text.NumberFormat; import java.io.*; public class Employee private String firstName, midInitial, lastName; private dou

  • Popup cancel Issue

    Hi All, Jdev version: 11g (11.1.1.6.0 ) , ADF I have problem in cancelling the popup.This is my code.I am calling the 'addNomineePopup' popoup. In 'popup fetch event' I am checking percentage.If the condition ok then cancel the popup, show the errror

  • How to export string in CDATA with the jaxb xml writer?

    How to export string in CDATA with the jaxb xml writer? It read CDATA no problem but it is lost on write.

  • Need help with long movie

    I created a movie in iMovie that runs 56 minutes. iMovie keeps crashing when I try to share it in large format, so I broke the movie into two parts and was able to share. I needed to add chapters and did that in GarageBand. How do I combine the two m