John Beynon

Confessions of a code Junkie and anything else i fancy!

Lesson 4 – anatomy of a fusebox request

This is a look into what the core files are acutally doing during a request and the actions they take before content is displayed

Download Lesson 4 PDF

No related posts.

Tagged as:

4 Comments

  1. Excellent series of primers. I’m very much looking forward to this (number4) upcoming tutorial. Can you take a guess at when you’ll have it up?

  2. Whoopsi,

    Error Occurred While Processing Request
    Element DSN is undefined in REQUEST.

    The error occurred in C:\Websites\beynonorguk\www\_model\mBlog\act_download.cfm: line 1
    Called from C:\Websites\beynonorguk\www\parsed\blog.dodownload.cfm: line 118
    Called from C:\Websites\beynonorguk\www\fusebox4.runtime.cfmx.cfm: line 433
    Called from C:\Websites\beynonorguk\www\fusebox4.runtime.cfmx.cfm: line 426
    Called from C:\Websites\beynonorguk\www\fusebox4.runtime.cfmx.cfm: line 1
    Called from C:\Websites\beynonorguk\www\index.cfm: line 3

    1 : <cfquery name="getFileName" datasource="#request.dsn#">
    2 : select filename from BlogAttachments where fileID = <cfqueryparam cfsqltype="cf_sql_varchar" maxlength="35" value="#attributes.fileID#">
    3 : </cfquery>

    ——————————————————————————–

    Please try the following:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    Remote Address 199.208.157.35
    Referrer
    Date/Time 17-Jan-05 12:03 PM

    Stack Trace (click to expand)

  3. The line numbers are wrong in Lesson 4 pdf. I assume this is because the fusebox files have been updated since this lesson was written. However, it makes the lesson a bit confusing to follow.

  4. yep, again correct…that’s a blog thing. The entry was dated 10 September 2004, Fusebox 4.1 didn’t officially release till January 2005. I’ll make it more obvious it’s Fusebox 4 and not 4.1

Leave a Response