you may wanna try this
<cfinclude template="page2.cfm">
instead of
<cfinclude "page2.cfm">
dave
----- Original Message -----
From: "Richard Crawford" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 3:56 PM
Subject: Re: Permissions
> At 03:35 PM 6/9/2003 -0400, you wrote:
> >cold fusion aka "coldfusion" is wonderful.
> >go try those other "more stable and usable technologies" and we will see
ya
> >back here soon;)
>
> (My rant in response is at the bottom of this e-mail. You may ignore or
> flame me as you see fit, but I think it would be best to keep replies
> off-list.)
>
>
> >as was suggested how about posting some code so we can help you
>
> Here is some code that will cause an error on my system currently:
>
> <cfif "hello" IS "hello">
> Hello
> </cfif>
>
> ...and some more:
>
> <cfinclude "page2.cfm"> # Yes, page2.cfm exists.
>
> ...and some more:
>
> <cfparam name="message" default="">
>
> In other words, the very first bit of code that the interpreter encounters
> when loading a page causes the "Context validation error"; any code at
all,
> well-formed or not, will cause this error. Since it shows up for every
> page, regardless of the code that is within it, I didn't think that the
> specifics of the code itself were relevant.
>
> However, the "context validation error" itself is irrelevant at this
> point. When getting to the front page of my site -- the login page, where
> I must login to proceed, produces this error:
>
> Index: 216, Size: 81
>
> The only error log which seems to echo this error is the
> default-event.log. When encountering this error in the past, I was able
to
> delete relevant iles from the
> ${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this
> case, though, when I do that I receive "file not found" errors, or
> "directory browsing forbidden" errors.
>
> 06/09 12:49:52 error Index: 216, Size: 81
> java.lang.IndexOutOfBoundsException: Index: 216, Size: 81
> at java.util.ArrayList.RangeCheck(ArrayList.java:508)
> at java.util.ArrayList.get(ArrayList.java:320)
> at
> coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:203)
> at
> coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:191)
> at coldfusion.compiler.ClassReader.rewrite(ClassReader.java:283)
> at
>
coldfusion.compiler.NeoTranslator.rewriteLineNumberTable(NeoTranslator.java:
390)
> at
> coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:327)
> at
> coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:171)
> at
>
coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:225)
> at coldfusion.util.LruCache.get(LruCache.java:188)
> at
>
coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateCla
ssLoader.java:200)
> at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
> at coldfusion.util.SoftCache.get(SoftCache.java:81)
> at
>
coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:32
2)
> at coldfusion.filter.PathFilter.invoke(PathFilter.java:49)
> at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
> at
>
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence
Filter.java:27)
> at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:51)
> at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at coldfusion.CfmServlet.service(CfmServlet.java:99)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at
> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
> at
> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> at
>
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
> at
>
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
> at
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
> at
>
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
>
>
>
>
> ======================================================
> Rant mode on:
>
> I've used PHP for years with hardly any problems at all... and when
> problems showed up, I had very little trouble finding a solution.
>
> This is just my opinion. I don't like using Cold Fusion. It has been
> nothing but frustration for me. I find it unstable, I find the server
> incomprehensible and impossible to configure without the
> frequently-malfunctioning web-based admin page. If the admin page
crashes,
> you're in hot water if you need to try adjusting configurations to make
> anything work again.
>
> Unfortunately, I am currently in a job where the tool of choice is Cold
> Fusion, and my job is to get it working on our production server. After
> four weeks of pain, it has not worked for more than a couple of days
> without something or other going wrong. I have followed all of the
> documentation faithfully, but I have also found that support which goes
> beyond the official documentation is either lacking or requires money to
> get to (another reason why I prefer PHP and other similar tools). But
> since it is currently my job to make Cold Fusion work, I'm doing my
> best. I will say that I have never had to expend this much effort making
> Apache/PHP or Apache/Perl work... and once they did work, they stayed
> working with little interference from me beyond the occasional security
> upgrade.
>
> I am on this list to get technical help when trying to get this POS
product
> working. I am not here because I like it.
>
> As I said, this is my opinion. Your mileage may vary, and that's fine.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4