Okay, it's now FOUR HOURS after I got stopped by a mystery bug, and I'm
gonna need a triple dose of Rogaine...

Here was the problem...

I'm working on a fusebox app, when suddenly, the request scope stops
working! My app bombs out immediately at index.cfm, with the message:

"Error resolving parameter REQUEST.WEBSITE_DIR 
The object WEBSITE_DIR is not present in the scope named REQUEST. It is
likely that you have misspelled the name of the object you are trying to
access"

This particular variable simply points out the current path, and has worked
forever. I use this everywhere. I use the request scope everywhere!

So I start debugging. I test. I rename stuff. I restart CFAS. I check out
IIS. I recreate virtual directories. I check client variables, I add in an
application.cfm, I take out application.cfm

AN' YOU KNOW WHAT THE STINIKIN' PROBLEM WAS????????

In my app_globals.cfm template, I had an improperly bracketed comment. It
opened with <!--- and it closed with -->. Note the closer has only 2
hyphens, while the opener had three hyphens. The cruel joke here is that it
should have been obvious. CF Studio colors it as a comment.

SoOoOo, learn from my suffering, you fusedoc'ers ! You gotta bracket those
comments right!

Argh, harumph.... maybe I should have installed that hatten_ar_bin tag; it
might have helped...

Alan McCollough
Web Programmer
Allaire Certified ColdFusion Developer
Alaska Native Medical Center


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to