Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
mab123 #1
wrong template being run
Hi,
We are experiencing a problem where a service is trying to run a template at a
path like this:
domains/mydomain.org/rcpt.cfm
but is actually running a similarly named template living one directory higher
at:
domains/rcpt.cfm
This is an itermittent problem. It seems like it might happen after
domains/rcpt.cfm is legitimately run. After that, trying to run rcpt.cfm in the
subdirectory below it runs the top-level template instead. (We've already done
significant debugging to show the service is in fact requesting hte correct
template and so are pretty certain the problem doesn't lie there.) So I'm
supposing this might be a problem with ColdFusion 6,1,0,63958 and its caching
of compiled templates. To confirm this, I'm wondering it there is a way to turn
of template caching on a per template basis. That is, can I force ColdFusion to
parse a particular set of CFM files every time they are requested? Or does
anyone have any other ideas about how to debug what might be happening?
Thanks,
Mike
mab123 Guest
-
template inside another template
Hi All! I have a problem with templates! As far as I know there is a nested template in dw. A nested template means that a template can be... -
Is there something WRONG WITH THIS TEMPLATE?
Using the attached template, I'm having trouble creating docs when I introduce a form in them. The editable region tags get the yellow html... -
What's wrong with bandwidth selection template
I've been trying to stream a video with the bandwidth selection template, but something is going bad. Can anyone tell me if the following... -
Using a Template as the base for another Template
Hi, - Dreamweaver MX - Created a HTML-Template with some menu-items (normal hyperlinks) - I need to create on that menu-items some submenu-items... -
Am I doing anything wrong?
Could you advise if I am doing anything wrong? Page: bdConnect.asp <% Set DataConn = Server.CreateObject("ADODB.Connection")... -
Lupus 23 #2
Re: wrong template being run
I'd start by renaming the offending template. You might then be able to produce
an error that sheds some light on the subject.
If you are using variables to determine path, check those to make sure there
are no shared variables.
Look for offending CFLOCATION calls.
If these applications have 2 different application.cfm files, be sure that the
application names in each are different. If you don't they will share a session
scope which can cause some very unusual things to happen.
Lupus 23 Guest
-
mab123 #3
Re: wrong template being run
Thanks for the suggestions. Unfortunately we can't rename the files as the
product we are using (inFusion Mail Server) dictates what names they should be.
The mail server is logging where it's getting the template from and so I'm
pretty confident it's not a problem with how the path is being built up. We are
using different Application.cfm files for the two rcpt.cfm files - I'll try
changing that to avoid any session scope issues.
mab123 Guest
-
mab123 #4
Re: wrong template being run
We corrected the problem by turning off "Cache web server paths" in the CF admininstrator.
mab123 Guest



Reply With Quote

