The error is the standard for when you have either mis-spelled a parameter or it doesn't exist. I've got round it by adding the CFPARAMs to each page that uses the variables but since they're all included from the first, it doesn't seem very neat. Mind you, none of the coding in this site is neat!
-----Original Message----- From: Damian Watson [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 16:49 To: [EMAIL PROTECTED] Subject: RE: RE: [ cf-dev ] CFPARAM's Lol, leave it aht trouble. So what are your errors then?? Have you tried taking out your declared params to see if it breaks entirely etc? :-P -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 17:43 To: [EMAIL PROTECTED] Subject: Re: RE: [ cf-dev ] CFPARAM's not you again! I would do that but I'm trawling through someone else's code and so don't want to start changing too much. D > Try using the request scope for your vars... that persists through the > compiled page-- what are the "funny errors" though? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 29 April 2004 17:37 > To: [EMAIL PROTECTED] > Subject: Re: [ cf-dev ] CFPARAM's > > Hi all, > > I have several cfparams in my index.cfm file which set variables like > 'sectionID = 1'. In that file I have several cfincluded files (to get > the navigation, main body etc...). > > Now, I keep getting funny errors where the included files are unable to > resolve the values of the parameters (for which I've set defaults in the > cfparams). It gets a little stranger in that if I browse to another page > then click back, the error's disappeared. Click refresh, it's back > again. > > Any thoughts? Is it because the variables are not set in any scope that > they won't persist from the index.cfm to the included pages? > > Thanks, > Damien > > -- > These lists are syncronised with the CFDeveloper forum at > http://forum.cfdeveloper.co.uk/ > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF > provided by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists hosted by > gradwell.com* > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > -- > These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* > > To unsubscribe, e-mail: [EMAIL PROTECTED] > -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
