I'm in the unenviable position of trying to get the forum system from
www.stickshiftsolutions.com to work on MX.  (It's for my brother's
racing site, www.grapeaperacing.com).  I'm not pleased with it (many
bugs, some outright omissions and really poor, I think, code).

However the thing that I just struggled with doesn't seem to be the
fault of the author.

There's a CFLOCATION formatted as:

<cflocation
url="thread.cfm?tID=#Form.threadID#&forumID=#URL.forumID#&confID=#url.co
nfID#" addtoken="No">

Which results in something like:

http://www.grapeaperacing.com/GrapeApeRacing/OpenForums/thread.cfm?threa
dId=165&forumID=21&confID=1

The weird thing is that this link produces a completely blank page - as
if the browser was never given a response (you can't �ven "view source"
- it's just nothing).

I tried passing the parameter with no variables (just copy/paste the
actual URL) and this completely fails in the same way.  However if you
remove the "threadID" parameter the Cflocation works (you get an error,
but at least you get something!)

Add it in, blank page, remove it - error page (correct).

Again this was even with a hardcoded value and even if the parameter was
alone on the line.  It happens only with a CFLOCATION.

Now for the fun part.  Take ANY CFLOCATION and add "threadID=1" (or any
number) to it and it seems to have the same behavior.  I've tried this
on the two MX servers that I have and both showed the same behavior.  It
doesn't exhibit the behavior on 4.5.

Is this old news?

By the way.  What I did to "fix" this was change the param to "TID" and
add the following line of code in the page:

<cfif IsDefined("URL.TID")><cfset URL.threadID = URL.TID></cfif>

Not pretty but it works and means that I don't have rewrite any more of
this app.

Jim Davis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to