Trouble with cfinclude within CFBuilder

This seems like the silliest question but I cannot for the life of me get a cfinclude tag to work within my application in CFBuilder.  I always get the standard "cannot find" CF error displayed instead.
I'm on OS X.  Document root is /Applications/ColdFusion9/wwwroot/site and my web root is /Applications/ColdFusion9/wwwroot
It doesn't matter if I reference any of the following, my "includes" folder is not found.
/Applications/ColdFusion9/wwwroot/site/includes
/site/includes
includes (relative)
If I put a file in the includes folder and preview it it displays without a problem.  The file outputs the following information when I use cgi.CF_Template_Path:
/Applications/ColdFusion9/wwwroot/site/includes/location-test.cfm
I've tried deleting the server instance in CFB and adjusting document/web root settings to no avail.
What am I missing (feeling pretty stupid )?  Seems like the CFINCLUDE tag just doesn't work on my local server.
Thanks in advance,
Scott

After some more troubleshooting I've narrowed down my problem to something that works currently on a CF7 box.
<cfinclude template="<cfoutput>#application.pathtoroot#</cfoutput>includes/body_header.cfm">
If I remove the <cfoutput>#application.pathtoroot#</cfoutput> the file is included properly.
#application.pathtoroot# allows me to develop on a server where the site can't start in the web root directory and in this case = "/site/".
While the above code with <cfoutput> in the template attribute of the cfinclude throws an error, the following does not so I know it's not a path issue.
<cfinclude template="/site/includes/body_header.cfm">
The error message displays the proper path when saying it cannot locate the included file "Could not find the included template /site/includes/body_header.cfm."
I also tried changing the scope from application. to mysettings. and the error still occurs.
Looks like the problem was the cfinclude tag no longer needs <cfoutput> tags wrapped around the pathtoroot variable I had set.  I knew it had to be a stupid problem!

Similar Messages

  • Edge Animation having troubles with iOS devices within Muse Site

    Hi All! I've been creating a mobile version of my website www.rinkdesigns.com and have it all complete. I created an animation/navigation bar within Adobe Edge Animate and imported it into Muse. It functions AMAZINGLY on my Nexus 4 (Android) in Chrome but on a buddies iPhone 5 Chrome only loads about 3/4 of the animation/nav bar, in Safari the animation does not load at all and half of the page background does not load either. Please check out the preview site here http://rinkdesignsmobile.businesscatalyst.com/phone
    Has anyone else been having animation/mobile troubles with iOS devices? Any hints as to how you fixed your errors would be extremely helpful! I also posted this question in the Muse forum and haven't gotten a response...
    Thanks,
    John

    Or, how about this:
    Does anyone know how to have Edge Animate objects that utilize "_top" in an open url trigger make the Muse site that they are a part of open a new window/tab with that action (as opposed to having it open the url in the current page, or using "_blank" in the trigger)?

  • I'm having trouble with my computer, I boot it up and within a few minutes it freezes and I have to restart it, I tried updating it to the latest mavericks but it won't finish the installation it's stuck at the end, what can I do to fix this?

    As stated I'm having trouble with my computer, I boot it up and within a few minutes it freezes and I have to restart it, I tried updating it to the latest mavericks but it won't finish the installation it's stuck at the end, what can I do to fix this? I need it for homework tonight.

    Crowntheme,
    you can try this: boot your MacBook Pro into Recovery mode by holding down a Command key and the R key as it starts up. Once the Mac OS X Utilities menu appears, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Does it still freeze after a few minutes?

  • I'm having trouble with my clone tool. When I am cloning it appears OK (the image within the brush circles is the correct colours) however once the cloning is done, it processes leaving me with a darkened blur. Any help with what's going on would be appre

    I'm having trouble with my clone tool. When I am cloning it appears OK (the image within the brush circles is the correct colours) however once the cloning is done, it processes leaving me with a darkened blur. Any help with what's going on would be appreciated.

    Which tool in Camera Raw, exactly? The Spot Removal Tool? Adjustment Brush?

  • Trouble with 3rd party VST installs for Garageband, can't find instruments

    Hi,
    I am having trouble with Audio Units for Garageband when installing 3rd party software, VSTs, loops, instruments. I have more issues with Logic Pro. I am hoping that it is the same underlying issue and that I am just missing something. I have the manuals (not great for troubleshooting). I am confused with some installs use User Library and others use the Computer Library. I do go to the mfgs sites for updates. The installs sometimes work as standalones but I don't see ALL of the components of the software in say Garageband or Logic. Mostly, I am missing the "instruments" and "loops" that I want to access within the DAW. Some examples:
    • Here is some of the software I am talking about:  East West sample libraries (Play and Native Instruments); Vienna Symphonic librarires; Sylenth1 (just last night); Sample Tank 2 and Total Workstation 2 from IK Multimedia and others.
    • In GB I see the Audio Units for Vienna, Play, Sylenth, some of the IK Multimedia but NOT any instruments when I go to the "Sound Generator" -- I seem to be missing the instruments and loops. I see less AUs in Logic Pro. Some of these are VST instruments.
    • Can I just drag-drop samples to the library folders to fix this?
    • The plug-ins do not seem to work (though Sylenth1 worked for a single sound). When there is a standalone app (as in Sample Tank), I finally got the "sounds" to be reinstalled and loaded, those sounds/samples don't show up in any DAW.
    • When and if the sounds/loops/samples show up in GB's "Instruments" section will I be able to tell that they belong to that particular software or library?
    Thanks in advance.
    John

    Found the answer myself, it was simple:
    • Select the Track
    • Show the Instrument (info area)
    • Click on Edit
    • Click on the "Sound Generator" pop up field.
    • At the bottom of the pop-up list, select from the Audio Units that you have installed. This is where you see "Sample Tank 2, Vienna Instruments..."
    • NEXT -- IMPORTANT:   CLICK ON THE PICTURE next to the Sound Generator pop-up field.The AU unit loads up, the interface pops up, you load up the instruments in this AU Unit. You do NOT see the sounds from the AU unit in the normal Apple instrument list.
    This was not intuitive but once you know it, fairly simple.
    Still, the devil is in the details -- more questions on the way.

  • Having trouble with multiple user accounts

    I am still getting used to Aperture and am having trouble with multiple user accounts on my Mac.
    My wife and I have separate accounts on our Mac, and both have Administrator rights. We keep our Aperture library in the "Shared" folder, and I have made sure that both she and I have read/write capabilities on the Aperture library.
    However, she has difficulty creating new projects, saving data, and viewing thumbnails in Aperture. Whenever she creates a project, it does not save into Aperture, and cannot be viewed by any user. In addition, changes she makes to photos do not save. She also cannot view thumbnails of any photos (although she can see the photos in the viewer).
    Are there any changes I need to make to the user accounts so she can have all these capabilities?
    Many Thanks.

    Rather than having the Aperture library reside in the shared folder, keep it within a folder residing at the top level of your mac, eg.
    I actually keep mine on one of my RAID disks.
    Tony

  • I have a new MacBook and I'm having trouble with the help section. I would like to rearrange the order of my photos with in an Event, how do I do this? I follow the directions but it will not work. Thanks for some tips.

    I have a new MacBook Pro and I'm having trouble with some of the Help sections. I want to rearrange the order of my photo's within an Event. I have followed the directions but it will not let me do it, what am I missing?  Thanks for any tips.

    Are you talking about iPhoto? If you are please post this in the iPhoto forum, thanks!

  • Trouble with Mac Unexpectedly Quitting

    I have a iMac with the following hardware overview:
    Model Name: iMac
    Model Identifier: iMac7,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.4 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache (per processor): 4 MB
    Memory: 2 GB
    Bus Speed: 800 MHz
    Boot ROM Version: IM71.007A.B03
    SMC Version: 1.20f4
    I have trouble with programs unexpectedly quitting and am having trouble finding out what's wrong. The most problems occur when using Photoshop Elements 4.0.1 (which happens multiple times daily, usually if not always when I'm trying to save), but I've also had Safari quit unexpectedly. I've been working with both Apple Care and the Adobe technical support and have found no solutions as of yet. Here are all of the things I've tried to date (and none have yet solved the problem):
    - Emptied Cache and Cookies folders
    - Run Repair Disk Permissions & Verify Disk
    - Re-installed Adobe Photoshop Elements
    - Created a new user account and tried running the program from within there
    - Booted up the computer in safe mode and run the program (still quit unexpectedly)
    Was being helped by Apple Care once again and they were going to have me re-install Max OS X, but the guy suggested I post here first for advice.
    I do have the option of upgrading to Max OS X Leopard, but didn't want to complicate things (although maybe they'd improve).
    Any advice would be greatly appreciated. Definitely not a tech wiz, but do understand a bit.
    Thanks for reading this...

    Welcome to the Forums
    Did you run Repair Disk from your Install Disc? Boot holding down the C Key
    From the Installer Menu select Utilities>Disk Utility>Repair Disk..Reboot
    Then..Applications>Utilities>Disk Utility>Repair Disk Permissions.

  • Having trouble with dreamweaver cs 6 spry tabbed panels, all content in each tab showes through like

    Having trouble with dreamweaver cs 6 spry tabbed panels, all content in each tab showes through like it was all created on one page, plus mouse over doesnt work on them.
    This started all of a sudden.
    The entire website is a series of spry tabbed panels.
    http://pacificlaser.com/const.html
    if you click on General construction tab things work ok...
    if you click on Machine control tab, mouse over doesnt work and all page content of each tab show through.
    ive been looking for the answer for 4 months with no success.
    Hope a fellow dreamwever-person can help
    Thanks Rick

    You called it: your links to the SpryAssets are linking to your hard drive, not to the files within the folder on the server.
    Correct these links:
    <script src="file:///C:/Users/work/Desktop/Sites/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="file:///C:/Users/work/Desktop/Sites/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    And you should be good to go.
    Beth
    ps. If you run into more difficulties with the Spry Widgets, take your questions to the Dreamweaver Spry Forum http://forums.adobe.com/community/labs/spry, where they will get quicker attention.
    B

  • TROUBLE WITH PAYMENT METHOD USED DIFFRENT VISA PAYMENTS STILL WONT WORK

    TROUBLE WITH PAYMENT METHOD USED DIFFRENT VISA PAYMENTS STILL WONT WORK

    This is a case for the iTunes Store Support:
    1. Go to expresslane.apple.com
    2. select 'itunes' and then 'itunes store' on the right
    3. select a topic and a subject
    4. click 'continue' and then 'email'
    5. fill out the form and explain your situation
    6. they will respond within 24 hours usually
    Good luck
    Stijn

  • I am currently having trouble with an attached PDF fill-able form created in Acrobat being non savable in Reader

    Hello, I was wondering if you would be able to help me out?
    I am having trouble with my attached PDF fill-able form, I am creating a form that has a limit of one page so in order for more room in a certain field I have added a Hyperlink to an additional fill-able(secondary) form within the Parent document (primary fill-able form. The secondary form is inserted as an attachment into the Primary form. My problem is when I open this document up in Adobe Reader, the Primary fill-able form is savable but the attached Secondary form for which the hyperlink leads to is non-savable and is a must print only. Is there a way to make the Secondary form savable as well within the same document? or is there another way I could execute what it is I am trying to achieve?
    Trying to save other as extended reader has not worked, also if I save the attachment file as an extended reader first I am unable to attach a return hyperlink back to the Parent document,
    Help would be greatly appreciated please and thank you!

    I can't say for certain without looking at the actual PDF but it does appear that they created one large text box over multiple lines. For a fillable form it may have been smarter to remove the lines and create a box with smaller text that supports multiple lines.
    At any rate, nothing you can do about it with the free Reader (and depending on the security, maybe nothing with Acrobat either.)

  • Margin trouble with a Flash object in Dreamweaver.

    Hi everyone,
    I am having trouble with the top and bottom margins of a banner created in Flash and then inserted into Dreamweaver. I thought I had done the proper zero margin adjustments, I usually use IE8 and everything looked fine.
    However, when viewing the page with IE in some (not all) other computers a red (background color) line appears accross the white frame at the top and another one interrupting the shadow at the bottom of the banner. Not sure whether the difference was the IE version or a question of settings.
    Any ideas as to what may be causing this problem and how I to solve it?
    Also, in Safari and Chrome everything looks good, but with Firefox (version 3.5.1) for some reason the white bottom margin within the banner's frame is bigger than the top. Not as big a deal as the first problem, but I guess they are probably related.
    Here is the link to the page in question: http://www.migtraducciones.com.ar/who_we_are.html
    Thanks in advance for any helpful hints.
    Regards,
    Eduardo.

    Thanks for your answer.
    I mean that I can't find the folder to authorize. I will be more clear: this is the dialog box (it's in italian, but you all know what is about).
    How can I tell Flash Player to authorize the iWeb widget folder if I can't find it in my Mac?
    I'm under Mac, OS X 10.6.7.

  • I am currently having trouble with an attached PDF fill-able form...Help Please

    Hello, I was wondering if you would be able to help me out?
    I am having trouble with my attached PDF fill-able form, I am creating a form that has a limit of one page so in order for more room in a certain field I have added a Hyperlink to an additional fill-able(secondary) form within the Parent document (primary fill-able form. The secondary form is inserted as an attachment into the Primary form. My problem is when I open this document up in Adobe Reader, the Primary fill-able form is savable but the attached Secondary form for which the hyperlink leads to is non-savable and is a must print only. Is there a way to make the Secondary form savable as well within the same document? or is there another way I could execute what it is I am trying to achieve?
    Help would be greatly appreciated please and thank you!

    Here is the code, thought I had put it in the first time, guess not heh. Anyway, I converted the arrayList(accountList) to a String so that I could see the that element I am trying to index is in there, which it is. I also checked the file that i'm populating the arrayList from and it also has the element in it.
    public static void getAccountNumbers() {
              accountList = LoadStoreAccounts.readCollectionObject();     
              accountInfo = accountList.toString();
              JOptionPane.showMessageDialog(null, accountInfo);
              acctNumIndex = accountList.indexOf(accountNumber);
              acctIndex = String.valueOf(acctNumIndex);
              JOptionPane.showMessageDialog(null, "Index of accountNumber    is: " + acctIndex);

  • I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes does not have a ringtone tab.  I can not sync the ringtones.

    I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes library does not have a ringtones tab.  I can not sync the ringtones (or I don't know how)!  Please help.

    Yes, the file extension is M4R.  Does it matter where I save these files on my Macbook?  I then opened them in Itunes and played them.  I did find the Tones folder in Itunes but the Tones or Ringtones tab does not show up when I select Iphone (within Itunes).  When I open the Tones folder in the Library, it is empty.  Thanks in advance for your help.

  • Problems with cmdlets within the Exchange 2013 powershell

    Hi,
    i've following problem: I can't access all possible powershell cmdlets within the exchange powershell. For example following cmdlet is missing: "Get-Queue". Also we have trouble with some other cmdlets: Get-Mailbox only lists one of 30 mailboxes
    and if we want to modify a mailbox identified by the logonname an error shows up that the user can't be found. Only the one listed user can be modified.
    What can I do to solve this problem?
    Yours
    Achim

    Hi Achim,
    You need to be assigned appropriate permissions or roles before you can run all cmdlet. Although all parameters for this cmdlet are listed, you may not have access to some parameters if they're not included in the permissions assigned to you. For example
    to run Get-Queue cmdlet - your user account must be assigned the "Organization Management" or at least "Server Management" role.
    You can try this to view roles assigned to your account:
    Get-ManagementRoleAssignment -RoleAssignee 'yourUserAcc' -Role "organization*" | fl role
    Get-ManagementRoleAssignment -RoleAssignee 'yourUserAcc' -Role "*transport*" | fl role
    Otherwise you can view and change role assignments with EAC:
    In the EAC, navigate to Permissions > Admin Roles.
    Select the role group you want to view the members of.
    In the role group details pane, view the members in the role group details pane.
    ▲ Vote if Helpful / Mark if Answer
    MCSE: Messaging 2013 Charter / Private Cloud / Server Infrastructure
    MaximumExchange.ru

Maybe you are looking for

  • How do you get your passwords on itunes if your device is disabled?

    How do you get your password for your device on itunes?

  • Automated Facebook process?

    Every once in a while, something will flash on my screen for a split second.  It looks like a standard popup box with OK and Cancel but I can't ever read what it says.  So I looked in Console and the process that keeps popping up is this: com.apple.l

  • When I connect iPod to computer & open iTunes, some menus do not show

    I just got this new computer and loaded iTunes and downloaded all necessary updates. On my iPod, I have some TV shows and photos that I can view fine on the iPod. When I connect it to the computer and launch iTunes, the video and photo options do not

  • Ways of shutting down a headless Mac Mini unit

    Aside from setting for a time for it to shut down automatically and hard shut down, are there other ways of shutting down a headless Mac Mini?

  • RKA- posting key in OBYC.

    Hi experts, We are developing configuration for the below situation. Purchase order value is USD 100 Goods receipt for the value USD 100 but when vendor send the invoce for USD 105 it should accept for miro. (client want +5 % /  -5% invoice to be pos