Re: CFinclude issues

2012-03-04 Thread Larry Lyons

 include a file that includes the file you're including.

CF_Inception! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350226
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Eileen Harberts

 Thank you for your response.  I did take the .. away:  cfinclude 
 template=/includes/sponsors.cfm  and it still did not display the include. 
  There are not any errors that pop up, it just does not display.

Thank you,
Eileen

Are you sure you need the .. in front of the first slash?  It could 
 be a relative path issue.  What errors are you getting?
 
 Best regards,
 
 
 Bill Franklin
 
 
 -Original Message-
 From: Eileen Harberts [mailto:eil...@tdai.net] 
 Sent: Thursday, March 01, 2012 3:16 PM
 To: cf-talk
 Subject: CFinclude issues
 
 
 I am trying to code a cfinclude on a template page:
 
 cfinclude template=../includes/sponsors.cfm
 
 to show this include when its pages are displayed.  The name of the 
 include is correct, the location it is directing to is correct, but it 
 will not work.  Does someone have an easy solution to help me?
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350194
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Eileen Harberts

By 'not work' I mean the include does not display.  There is no error message, 
just a page not displaying the include.

Thank you,
Eileen

What do you meanby it does not work, is there an error, the file is not
included, what?

Regards
Russ Michaels
From my mobile
On 1 Mar 2012 21:16, Eileen Harberts eil...@tdai.net wrote:

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350196
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFinclude issues

2012-03-02 Thread Bill Franklin

Try a cfabort showerror=Here I am in the included page.  Also, try using the 
fully qualified path name for the include to see if that works.

Freundliche Grüße / Best regards,
 
Bill Franklin
Computer Integrated Mfg.


 
Bayer CropScience LP
8400 Hawthorne Road, Room 2447
Kansas City, MO 64120
Tel: +1 816 242 2148
Fax: +1 816 242 2047
E-mail: bill.frank...@bayer.com
Web: http://www.bayercropscience.com

Vorstand: Sandra E. Peterson, Vorsitzende   |  Lykele van der Broek, Achim 
Noack, Rüdiger Scheitza, Michael A. Schulz
Vorsitzender des Aufsichtsrats: Werner Baumann
Sitz der Gesellschaft: Monheim am Rhein   |   Eintragung: Amtsgericht 
Düsseldorf, HRB 46985


-Original Message-
From: Eileen Harberts [mailto:eil...@tdai.net] 
Sent: Friday, March 02, 2012 9:08 AM
To: cf-talk
Subject: Re: CFinclude issues


 Thank you for your response.  I did take the .. away:  cfinclude 
 template=/includes/sponsors.cfm  and it still did not display the include. 
  There are not any errors that pop up, it just does not display.

Thank you,
Eileen

Are you sure you need the .. in front of the first slash?  It could 
 be a relative path issue.  What errors are you getting?
 
 Best regards,
 
 
 Bill Franklin
 
 
 -Original Message-
 From: Eileen Harberts [mailto:eil...@tdai.net]
 Sent: Thursday, March 01, 2012 3:16 PM
 To: cf-talk
 Subject: CFinclude issues
 
 
 I am trying to code a cfinclude on a template page:
 
 cfinclude template=../includes/sponsors.cfm
 
 to show this include when its pages are displayed.  The name of the 
 include is correct, the location it is directing to is correct, but it 
 will not work.  Does someone have an easy solution to help me?
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350198
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Russ Michaels

if there is no error then the cfinclude is working, the content is simply
not being disaplyed.

Do you have a cfsetting somewhere set to only display cfoutpout maybe ?


On Fri, Mar 2, 2012 at 3:28 PM, Bill Franklin bill.frank...@bayer.comwrote:


 Try a cfabort showerror=Here I am in the included page.  Also, try using
 the fully qualified path name for the include to see if that works.

 Freundliche Grüße / Best regards,

 Bill Franklin
 Computer Integrated Mfg.



 Bayer CropScience LP
 8400 Hawthorne Road, Room 2447
 Kansas City, MO 64120
 Tel: +1 816 242 2148
 Fax: +1 816 242 2047
 E-mail: bill.frank...@bayer.com
 Web: http://www.bayercropscience.com

 Vorstand: Sandra E. Peterson, Vorsitzende   |  Lykele van der Broek, Achim
 Noack, Rüdiger Scheitza, Michael A. Schulz
 Vorsitzender des Aufsichtsrats: Werner Baumann
 Sitz der Gesellschaft: Monheim am Rhein   |   Eintragung: Amtsgericht
 Düsseldorf, HRB 46985


 -Original Message-
 From: Eileen Harberts [mailto:eil...@tdai.net]
 Sent: Friday, March 02, 2012 9:08 AM
 To: cf-talk
 Subject: Re: CFinclude issues


  Thank you for your response.  I did take the .. away:  cfinclude
 template=/includes/sponsors.cfm  and it still did not display the
 include.  There are not any errors that pop up, it just does not display.

 Thank you,
 Eileen

 Are you sure you need the .. in front of the first slash?  It could
  be a relative path issue.  What errors are you getting?
 
  Best regards,

 
  Bill Franklin
 
 
  -Original Message-
  From: Eileen Harberts [mailto:eil...@tdai.net]
  Sent: Thursday, March 01, 2012 3:16 PM
  To: cf-talk
  Subject: CFinclude issues
 
 
  I am trying to code a cfinclude on a template page:
 
  cfinclude template=../includes/sponsors.cfm
 
  to show this include when its pages are displayed.  The name of the
  include is correct, the location it is directing to is correct, but it
  will not work.  Does someone have an easy solution to help me?
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350199
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFinclude issues

2012-03-02 Thread Stephens, Larry V

This is a stab in the dark - but it did catch me once. It's not a cfinclude on 
a cfincluded page, is it? I didn't bother to test it just now but I don't 
believe that will work.

I'd check Firebug or IE F12 to see if it gives you a clue.

 

-Original Message-
From: Eileen Harberts [mailto:eil...@tdai.net] 
Sent: Friday, March 02, 2012 10:09 AM
To: cf-talk
Subject: Re: CFinclude issues


By 'not work' I mean the include does not display.  There is no error message, 
just a page not displaying the include.

Thank you,
Eileen

What do you meanby it does not work, is there an error, the file is not
included, what?

Regards
Russ Michaels
From my mobile
On 1 Mar 2012 21:16, Eileen Harberts eil...@tdai.net wrote:

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350201
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Cameron Childress

On Fri, Mar 2, 2012 at 1:26 PM, Stephens, Larry V steph...@iu.edu wrote:

 This is a stab in the dark - but it did catch me once. It's not a
 cfinclude on a cfincluded page, is it? I didn't bother to test it just now
 but I don't believe that will work.


For the record, that *will* work.

-Cameron

...


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350202
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Dave Watts

 This is a stab in the dark - but it did catch me once. It's not a cfinclude 
 on a cfincluded page, is it? I didn't bother to test it just now but I don't
 believe that will work.

This will work fine, actually, just like Cameron said, unless you
include a file that includes the file you're including.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350203
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans

 unless you
include a file that includes the file you're including.

Even this will work, provided you have a test to stop the recursive loop.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350204
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFinclude issues

2012-03-02 Thread Jeff Langevin

Aren't they all also relative to the original including templates path though 
even though they're nested?  I feel like I got bitten by that once...

-Original Message-
From: =?ISO-8859-1?Q?Claude_Schn=E9egans 
schneegans@interneti=71?=.outdoors.org 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans 
schneegans@interneti=71?=.outdoors.org] 
Sent: Friday, March 02, 2012 2:21 PM
To: cf-talk
Subject: Re: CFinclude issues


 unless you
include a file that includes the file you're including.

Even this will work, provided you have a test to stop the recursive loop.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350205
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans

 Aren't they all also relative to the original including templates path 
 though even though they're nested?

I would say yes. Better do this in the same directory.
Any way, I do not relly see a good occasion for using recursive includes, 
because they will all work on the same variable scope.
I sometimes use recursive custom tags though.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Brian Cain

Not to state the obvious, but you are trying to include it from a .cfm page
right?  You cannot use a cfinclude on a .htm page.

On Fri, Mar 2, 2012 at 2:16 PM,  wrote:


  Aren't they all also relative to the original including templates path
 though even though they're nested?

 I would say yes. Better do this in the same directory.
 Any way, I do not relly see a good occasion for using recursive includes,
 because they will all work on the same variable scope.
 I sometimes use recursive custom tags though.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350207
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans

 You cannot use a cfinclude on a .htm page

Well, actually you can, ... but it will include nothing ;-)

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350208
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Andrew Scott

Actually you can't being an html file, it will never be run by ColdFusion,
and will only be seen as a standard html comment.



-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543



On Sat, Mar 3, 2012 at 7:53 AM,  wrote:


  You cannot use a cfinclude on a .htm page

 Well, actually you can, ... but it will include nothing ;-)

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350209
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Brian Cain

Yes Andrew, that was the point I was making.

On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote:


 Actually you can't being an html file, it will never be run by ColdFusion,
 and will only be seen as a standard html comment.



 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543



 On Sat, Mar 3, 2012 at 7:53 AM,  wrote:

 
   You cannot use a cfinclude on a .htm page
 
  Well, actually you can, ... but it will include nothing ;-)
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350210
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFinclude issues

2012-03-02 Thread DURETTE, STEVEN J

Actually you can... The web server can be set up to have ColdFusion process any 
file you want it to. I had to work on one site once where it was all 
ColdFusion, but all the extensions were .htm. 

-Original Message-
From: Brian Cain [mailto:bcc9...@gmail.com] 
Sent: Friday, March 02, 2012 4:01 PM
To: cf-talk
Subject: Re: CFinclude issues


Yes Andrew, that was the point I was making.

On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote:


 Actually you can't being an html file, it will never be run by ColdFusion,
 and will only be seen as a standard html comment.



 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543



 On Sat, Mar 3, 2012 at 7:53 AM,  wrote:

 
   You cannot use a cfinclude on a .htm page
 
  Well, actually you can, ... but it will include nothing ;-)
 
 

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350211
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Brian Thornton

Do a view source

Depending on the server .html could be rendered at cfm

On Fri, Mar 2, 2012 at 3:56 PM, Andrew Scott andr...@andyscott.id.au wrote:

 Actually you can't being an html file, it will never be run by ColdFusion,
 and will only be seen as a standard html comment.



 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543



 On Sat, Mar 3, 2012 at 7:53 AM,  wrote:


  You cannot use a cfinclude on a .htm page

 Well, actually you can, ... but it will include nothing ;-)



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Andrew Scott

Well the point was lost, because saying you can, implies that it can be
called or used by ColdFusion.


-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543


On Sat, Mar 3, 2012 at 8:00 AM, Brian Cain bcc9...@gmail.com wrote:


 Yes Andrew, that was the point I was making.

 On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.au
 wrote:

 
  Actually you can't being an html file, it will never be run by
 ColdFusion,
  and will only be seen as a standard html comment.
 
 
 
  --
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+: http://plus.google.com/108193156965451149543
 
 
 
  On Sat, Mar 3, 2012 at 7:53 AM,  wrote:
 
  
You cannot use a cfinclude on a .htm page
  
   Well, actually you can, ... but it will include nothing ;-)
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350213
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Brian Cain

Andrew:  You must have meant that for the other guy.  My original reply said 
you cannot  use cfinclude in a .htm file.  I will add the addendum that being 
the case in a traditional server configuration.

Brian Cain

On Mar 2, 2012, at 4:06 PM, Andrew Scott andr...@andyscott.id.au wrote:

 
 Well the point was lost, because saying you can, implies that it can be
 called or used by ColdFusion.
 
 
 -- 
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543
 
 
 On Sat, Mar 3, 2012 at 8:00 AM, Brian Cain bcc9...@gmail.com wrote:
 
 
 Yes Andrew, that was the point I was making.
 
 On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.au
 wrote:
 
 
 Actually you can't being an html file, it will never be run by
 ColdFusion,
 and will only be seen as a standard html comment.
 
 
 
 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543
 
 
 
 On Sat, Mar 3, 2012 at 7:53 AM,  wrote:
 
 
 You cannot use a cfinclude on a .htm page
 
 Well, actually you can, ... but it will include nothing ;-)
 
 
 
 
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350218
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-02 Thread Andrew Scott

Then it is not an html file then is it, if someone sets the server up to
server files to ColdFusion server, I would not consider this an html file.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543



On Sat, Mar 3, 2012 at 8:07 AM, Brian Thornton br...@cfdeveloper.comwrote:


 Do a view source

 Depending on the server .html could be rendered at cfm

 On Fri, Mar 2, 2012 at 3:56 PM, Andrew Scott andr...@andyscott.id.au
 wrote:
 
  Actually you can't being an html file, it will never be run by
 ColdFusion,
  and will only be seen as a standard html comment.
 
 
 
  --
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+: http://plus.google.com/108193156965451149543
 
 
 
  On Sat, Mar 3, 2012 at 7:53 AM,  wrote:
 
 
   You cannot use a cfinclude on a .htm page
 
  Well, actually you can, ... but it will include nothing ;-)
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350219
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFinclude issues

2012-03-01 Thread Eileen Harberts

I am trying to code a cfinclude on a template page:

cfinclude template=../includes/sponsors.cfm

to show this include when its pages are displayed.  The name of the include is 
correct, the location it is directing to is correct, but it will not work.  
Does someone have an easy solution to help me?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350188
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFinclude issues

2012-03-01 Thread Bill Franklin

Are you sure you need the .. in front of the first slash?  It could be a 
relative path issue.  What errors are you getting?

Best regards,
 
Bill Franklin


-Original Message-
From: Eileen Harberts [mailto:eil...@tdai.net] 
Sent: Thursday, March 01, 2012 3:16 PM
To: cf-talk
Subject: CFinclude issues


I am trying to code a cfinclude on a template page:

cfinclude template=../includes/sponsors.cfm

to show this include when its pages are displayed.  The name of the include is 
correct, the location it is directing to is correct, but it will not work.  
Does someone have an easy solution to help me?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFinclude issues

2012-03-01 Thread Russ Michaels

What do you meanby it does not work, is there an error, the file is not
included, what?

Regards
Russ Michaels
From my mobile
On 1 Mar 2012 21:16, Eileen Harberts eil...@tdai.net wrote:


 I am trying to code a cfinclude on a template page:

 cfinclude template=../includes/sponsors.cfm

 to show this include when its pages are displayed.  The name of the
 include is correct, the location it is directing to is correct, but it will
 not work.  Does someone have an easy solution to help me?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: BlueDragon cfinclude issues

2004-08-20 Thread Ken Ferguson
Well it's partly the curiosity, partly a sense of adventure, but mostly
I think it's the fame and the money. (stolen line from H2G2, but it
seemed to fit so perfectly!)

Really I just want to switch because, WHY NOT give it a shot. If I can
employ the free version when the application doesn't need any more than
that, then I can get people on smaller projects who wouldn't normally
consider ColdFusion due to cost that they can go with CF by using BD. As
far as I'm concerned, the more sites built in CFML the better. Whether
they run on CFMX or BD is largely irrelevant to us as developers on the
whole. The point is that some people pass on using CF in favor of PHP or
ASP due to cost, so now that I have a chance to test it out, I'll be in
a better position to advise people on how to use BD to develop a site in
CFML without worrying about the expense of the application server. The
CF dev community can only benefit from this, as all of those people who
have used the cost argument to say that ASP is better have now just lost
a large part of their argument.

Also, like I said, I've had a few little issues with some of my
functions in BD and I'm sending them over to the guys at NewAtlanta
today, but I'm actually liking it quite a lot so far. Even the problems
I've had have been pretty simple to fix.

_

From: Alexander Sherwood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 10:20 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

At 11:09 AM 8/19/2004, you wrote:
I didn't think it through very well before posting. I just got
frustrated and asked.

 So, in the end, I'm not sure if
I'm going to be switching over to BD at all. 

Why switch to begin with? Do you need functionality in BD that is not in
CFMX, or is it the price of the license?

--
Alex
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: BlueDragon cfinclude issues

2004-08-20 Thread Dick Applebaum
Another advantage to BD is that you can sell to production Mac OS X 
based clients -- this may not be a large base, but it is growing. 
Nothing wrong with having more potential customers.

A slight disadvantage is that PHP, Perl, etc. come pre-installed on Mac 
OS X.But BD has a very simple install that makes it easy to get up 
and running with CFML.

Dick

On Aug 20, 2004, at 7:05 AM, Ken Ferguson wrote:

 Well it's partly the curiosity, partly a sense of adventure, but mostly
I think it's the fame and the money. (stolen line from H2G2, but it
seemed to fit so perfectly!)

Really I just want to switch because, WHY NOT give it a shot. If I can
employ the free version when the application doesn't need any more 
 than
that, then I can get people on smaller projects who wouldn't normally
consider ColdFusion due to cost that they can go with CF by using BD. 
 As
far as I'm concerned, the more sites built in CFML the better. Whether
they run on CFMX or BD is largely irrelevant to us as developers on 
 the
whole. The point is that some people pass on using CF in favor of PHP 
 or
ASP due to cost, so now that I have a chance to test it out, I'll be 
 in
a better position to advise people on how to use BD to develop a site 
 in
CFML without worrying about the expense of the application server. The
CF dev community can only benefit from this, as all of those people 
 who
have used the cost argument to say that ASP is better have now just 
 lost
a large part of their argument.

Also, like I said, I've had a few little issues with some of my
functions in BD and I'm sending them over to the guys at NewAtlanta
today, but I'm actually liking it quite a lot so far. Even the 
 problems
I've had have been pretty simple to fix.

  _  

From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 10:20 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

At 11:09 AM 8/19/2004, you wrote:
I didn't think it through very well before posting. I just got
frustrated and asked.

 So, in the end, I'm not sure if
I'm going to be switching over to BD at all.

Why switch to begin with? Do you need functionality in BD that is not 
 in
CFMX, or is it the price of the license?

--
Alex

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
This happens on BD 6.1 as my dev server.

I have this code:

cfset variables.incfilename = attributes.mode  .cfm

cfif fileexists(evaluate(variables.incfilename))

cfinclude template=#variables.incfilename#

cfelse

Which produces the error: CFML Runtime error: billingandshipping.cfm
does not exist.

So I replaced the whole thing with this code:

cfinclude template=billingandshipping.cfm 

And it all works just fine???

So then I changed the original, just to test, like this:

cfset variables.incfilename = billingandshipping.cfm

cfif fileexists(evaluate(variables.incfilename))

cfinclude template=#variables.incfilename#

cfelse

Which produces the error: CFML Runtime error: billingandshipping.cfm
does not exist.

Has anyone got any bright ideas on why this is so? In both instances
where it is throwing the error, it gets to the cfinclude, but thinks the
file doesn't exist. But the middle one just including the file straight
away works perfectly. Incidentally, the first, second and third code
blocks all work fine on my prod server running CFMX.

Thanks,

Ferg
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Matt Liotta
Maybe I am reading the following line wrong, but it looks like you are
trying to evaluate the filename as a variable.

cfif fileexists(evaluate(variables.incfilename))

Shouldn't the above be as follows?

cfif fileexists(variables.incfilename)

-Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: BlueDragon cfinclude issues

2004-08-19 Thread Scott Brady
You have this block:

 cfif fileexists(evaluate(variables.incfilename))

 
 cfinclude template=#variables.incfilename#

 cfelse
...

I think the issue is that you're testing to see if
Evaluate(variables.incfilename) exists, but then you're only
including variables.incfilename.Try cfinclude
template=#Evaluate(variables.incfilename)# Instead.

Or, better yet, find a way to get rid of the evaluate. (I haven't used
BD, but Evaluate is probably slow as it is in Macromedia CF)

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
Right, first I had cfif fileexists(variables.incfilename), but it
yields the same result, I was just playing around to see if anything
would help and my last revolution was trying the evaluate. It doesn't
really matter though, because it IS getting past that cfif and into the
cfinclude, but then it craps out.

Ken Ferguson

Fitz and Floyd

http://www.fitzandfloyd.com http://www.fitzandfloyd.com 

http://www.exclusivelyfitz.com http://www.exclusivelyfitz.com/ 

http://stores.ebay.com/fitzandfloydscharmingtails

_

From: Matt Liotta [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:40 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

Maybe I am reading the following line wrong, but it looks like you are
trying to evaluate the filename as a variable.

cfif fileexists(evaluate(variables.incfilename))

Shouldn't the above be as follows?

cfif fileexists(variables.incfilename)

-Matt

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
Nope, same result.

Also, cfoutput#variables.incfilename#/cfoutput gives the same value
as cfoutput#evaluate(variables.incfilename)#/cfoutput

The evaluate just got in there as I was playing around with things. It's
not really useful in this code. Remove all the evaluates and you still
get the same thing.





_

From: Scott Brady [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:42 AM
To: CF-Talk
Subject: Re: BlueDragon cfinclude issues

You have this block:

cfif fileexists(evaluate(variables.incfilename))

 cfinclude template=#variables.incfilename#

cfelse
...

I think the issue is that you're testing to see if
Evaluate(variables.incfilename) exists, but then you're only
including variables.incfilename.Try cfinclude
template=#Evaluate(variables.incfilename)# Instead.

Or, better yet, find a way to get rid of the evaluate. (I haven't used
BD, but Evaluate is probably slow as it is in Macromedia CF)

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Mark A. Kruger - CFG
You are not modifying it for path so fileexists( ) should crap out - unless BD does relative paths... does it? Also -
what's with the evaluate( ) function? Seems superflous to me.

-mk
-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 9:31 AM
To: CF-Talk
Subject: BlueDragon cfinclude issues

This happens on BD 6.1 as my dev server.

I have this code:

cfset variables.incfilename = attributes.mode  .cfm

cfif fileexists(evaluate(variables.incfilename))

cfinclude template=#variables.incfilename#

cfelse

Which produces the error: CFML Runtime error: billingandshipping.cfm
does not exist.

So I replaced the whole thing with this code:

cfinclude template=billingandshipping.cfm

And it all works just fine???

So then I changed the original, just to test, like this:

cfset variables.incfilename = billingandshipping.cfm

cfif fileexists(evaluate(variables.incfilename))

cfinclude template=#variables.incfilename#

cfelse

Which produces the error: CFML Runtime error: billingandshipping.cfm
does not exist.

Has anyone got any bright ideas on why this is so? In both instances
where it is throwing the error, it gets to the cfinclude, but thinks the
file doesn't exist. But the middle one just including the file straight
away works perfectly. Incidentally, the first, second and third code
blocks all work fine on my prod server running CFMX.

Thanks,

Ferg
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Matt Liotta
In testing locally I found that FileExists() seems to be the problem.
Basically, nothing inside the cfif executes. Simply including a template
based on a variable without checking to see if it exists works.

In fact, the following template shows this strange behavior.

cfset foo = index.cfm
cfif FileExists(foo)
	cfabort
/cfif
cfinclude template=#foo#

When called index.cfm will be included.

-Matt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Ken Ferguson
 Sent: Thursday, August 19, 2004 10:43 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues
 
 Right, first I had cfif fileexists(variables.incfilename), but it
 yields the same result, I was just playing around to see if anything
 would help and my last revolution was trying the evaluate. It doesn't
 really matter though, because it IS getting past that cfif and into the
 cfinclude, but then it craps out.
 
 
 
 Ken Ferguson
 
 Fitz and Floyd
 
 http://www.fitzandfloyd.com http://www.fitzandfloyd.com
 
 http://www.exclusivelyfitz.com http://www.exclusivelyfitz.com/
 
 http://stores.ebay.com/fitzandfloydscharmingtails
 
 
 
_
 
 From: Matt Liotta [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 19, 2004 9:40 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues
 
 
 
 Maybe I am reading the following line wrong, but it looks like you are
 trying to evaluate the filename as a variable.
 
 cfif fileexists(evaluate(variables.incfilename))
 
 Shouldn't the above be as follows?
 
 cfif fileexists(variables.incfilename)
 
 -Matt
 
_
 
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
I didn't think it through very well before posting. I just got
frustrated and asked.

The problem was, or rather is, that I am an idiot. The evaluate was
only in there because I was playing around with it. I was getting the
EXACT same results without it in there. However, I was causing another
problem INSIDE the included file when I was outputting a variable that
didn't exist. I got hung up on the fact that I thought it was failing to
include the file and didn't think about the fact that the error might be
happening on the first line of the included file. So I took the blinders
off and tried looking at it all again. I went into
billingandshipping.cfm and found the error on line 2. Now it all works
fine and next time I'll try looking a little harder before throwing up
my hands in frustration. 

It's just that I've had so many issues with BD and functions. I seem to
have been forced to rework every single one of them in the move from
CFMX. They're all flying well on my prod server which runs MX, but they
fail on BD for any number of reasons. So, in the end, I'm not sure if
I'm going to be switching over to BD at all. 

Sorry to waste everyone's time, he says walking away feeling like a
total moron.

--Ferg

_

From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:53 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

You are not modifying it for path so fileexists( ) should crap out -
unless BD does relative paths... does it? Also -
what's with the evaluate( ) function? Seems superflous to me.

-mk
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Jim Davis
Are you sure that the CFIF is getting passed?It really seems like that
should fail.

It seems like the error could be misleading and being thrown at the CFFF
rather than the CFINCLUDE - try commenting out the CFINCLUDE and see if you
still get the problem.

If you do then you know, at least, that the error message is less than
specific.;^)

Jim Davis

_

From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 10:49 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

Nope, same result.

Also, cfoutput#variables.incfilename#/cfoutput gives the same value
as cfoutput#evaluate(variables.incfilename)#/cfoutput

The evaluate just got in there as I was playing around with things. It's
not really useful in this code. Remove all the evaluates and you still
get the same thing.



_

From: Scott Brady [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:42 AM
To: CF-Talk
Subject: Re: BlueDragon cfinclude issues

You have this block:

cfif fileexists(evaluate(variables.incfilename))

 cfinclude template=#variables.incfilename#

cfelse
...

I think the issue is that you're testing to see if
Evaluate(variables.incfilename) exists, but then you're only
including variables.incfilename.Try cfinclude
template=#Evaluate(variables.incfilename)# Instead.

Or, better yet, find a way to get rid of the evaluate. (I haven't used
BD, but Evaluate is probably slow as it is in Macromedia CF)

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/

_

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Mark A. Kruger - CFG
Matt,

Yes but... fileexists requires the fule path (i.e. e:\wwwroot\index.cfm - not just index.cfm) so I would definitley
expect the cfif to return FALSE - or am I missing something?

-mark
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 10:05 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

In testing locally I found that FileExists() seems to be the problem.
Basically, nothing inside the cfif executes. Simply including a template
based on a variable without checking to see if it exists works.

In fact, the following template shows this strange behavior.

cfset foo = index.cfm
cfif FileExists(foo)
cfabort
/cfif
cfinclude template=#foo#

When called index.cfm will be included.

-Matt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Ken Ferguson
 Sent: Thursday, August 19, 2004 10:43 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues

 Right, first I had cfif fileexists(variables.incfilename), but it
 yields the same result, I was just playing around to see if anything
 would help and my last revolution was trying the evaluate. It doesn't
 really matter though, because it IS getting past that cfif and into the
 cfinclude, but then it craps out.



 Ken Ferguson

 Fitz and Floyd

 http://www.fitzandfloyd.com http://www.fitzandfloyd.com

 http://www.exclusivelyfitz.com http://www.exclusivelyfitz.com/

 http://stores.ebay.com/fitzandfloydscharmingtails



_

 From: Matt Liotta [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 19, 2004 9:40 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues



 Maybe I am reading the following line wrong, but it looks like you are
 trying to evaluate the filename as a variable.

 cfif fileexists(evaluate(variables.incfilename))

 Shouldn't the above be as follows?

 cfif fileexists(variables.incfilename)

 -Matt

_




 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Alexander Sherwood
At 11:09 AM 8/19/2004, you wrote:
I didn't think it through very well before posting. I just got
frustrated and asked.

 So, in the end, I'm not sure if
I'm going to be switching over to BD at all. 

Why switch to begin with? Do you need functionality in BD that is not in CFMX, or is it the price of the license?

--
Alex
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Mark A. Kruger - CFG
full path not fule 
-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 10:12 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues

Matt,

Yes but... fileexists requires the fule path (i.e. e:\wwwroot\index.cfm - not just index.cfm) so I would definitley
expect the cfif to return FALSE - or am I missing something?

-mark
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: BlueDragon cfinclude issues

2004-08-19 Thread Matt Liotta
Nope, you aren't missing something. I read his code and ran with it instead
of thinking about what the FileExists() function expects.

-Matt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Mark A. Kruger - CFG
 Sent: Thursday, August 19, 2004 11:12 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues
 
 Matt,
 
 Yes but... fileexists requires the fule path (i.e. e:\wwwroot\index.cfm -
 not just index.cfm) so I would definitley
 expect the cfif to return FALSE - or am I missing something?
 
 -mark
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 10:05 AM
To: CF-Talk
Subject: RE: BlueDragon cfinclude issues
 
 
In testing locally I found that FileExists() seems to be the problem.
Basically, nothing inside the cfif executes. Simply including a template
based on a variable without checking to see if it exists works.
 
In fact, the following template shows this strange behavior.
 
cfset foo = index.cfm
cfif FileExists(foo)
cfabort
/cfif
cfinclude template=#foo#
 
When called index.cfm will be included.
 
-Matt
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 On Behalf Of Ken Ferguson
 Sent: Thursday, August 19, 2004 10:43 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues

 Right, first I had cfif fileexists(variables.incfilename), but it
 yields the same result, I was just playing around to see if anything
 would help and my last revolution was trying the evaluate. It doesn't
 really matter though, because it IS getting past that cfif and into
 the
 cfinclude, but then it craps out.



 Ken Ferguson

 Fitz and Floyd

 http://www.fitzandfloyd.com http://www.fitzandfloyd.com

 http://www.exclusivelyfitz.com http://www.exclusivelyfitz.com/

 http://stores.ebay.com/fitzandfloydscharmingtails



_

 From: Matt Liotta [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 19, 2004 9:40 AM
 To: CF-Talk
 Subject: RE: BlueDragon cfinclude issues



 Maybe I am reading the following line wrong, but it looks like you are
 trying to evaluate the filename as a variable.

 cfif fileexists(evaluate(variables.incfilename))

 Shouldn't the above be as follows?

 cfif fileexists(variables.incfilename)

 -Matt

_




 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




converting to BD (was RE: BlueDragon cfinclude issues)

2004-08-19 Thread Matt Liotta
 It's just that I've had so many issues with BD and functions. I seem to
 have been forced to rework every single one of them in the move from
 CFMX. They're all flying well on my prod server which runs MX, but they
 fail on BD for any number of reasons. So, in the end, I'm not sure if
 I'm going to be switching over to BD at all.
 
I'm not sure exactly what issues you are having, but my experience has been
that it can indeed be a challenge to move over. I am currently working on a
rather large application based on CFMX that we want to move over to BD.NET
for deployment on .NET. I knew there would be certain incompatibilities like
the lack of cfchart, which we use as well as other tiny details like the
handling of GUIDs.

These tiny details can be annoying when you first start the process, but I
have found them to be quite beneficial in the end as the resulting code not
only works on BD, but works better on CFMX than it did in the first place. I
was so impressed by this fact that I know test all CFMX applications I write
in BD as well just for quality purposes.

-Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: converting to BD (was RE: BlueDragon cfinclude issues)

2004-08-19 Thread Adam Haskell
Big warning though if you use XMLsearch In BD don't expect to get the
same results in MX if you are using functions... count(//*) works
great in BD not so much in MX...that being said if anyone has a work
around for it other than using Stuct functions on the XML object let
me know. I am working on an XMLsearch tutorial and I would love to
have a workaround for it in xmlsearch.

AdamH

On Thu, 19 Aug 2004 11:32:57 -0400, Matt Liotta [EMAIL PROTECTED] wrote:
  It's just that I've had so many issues with BD and functions. I seem to
  have been forced to rework every single one of them in the move from
  CFMX. They're all flying well on my prod server which runs MX, but they
  fail on BD for any number of reasons. So, in the end, I'm not sure if
  I'm going to be switching over to BD at all.
 
 I'm not sure exactly what issues you are having, but my experience has been
 that it can indeed be a challenge to move over. I am currently working on a
 rather large application based on CFMX that we want to move over to BD.NET
 for deployment on .NET. I knew there would be certain incompatibilities like
 the lack of cfchart, which we use as well as other tiny details like the
 handling of GUIDs.
 
 These tiny details can be annoying when you first start the process, but I
 have found them to be quite beneficial in the end as the resulting code not
 only works on BD, but works better on CFMX than it did in the first place. I
 was so impressed by this fact that I know test all CFMX applications I write
 in BD as well just for quality purposes.
 
 -Matt
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]