3 Replies Latest reply on Jul 6, 2017 9:23 AM by Steve Sommers

    coldfusion fusebox undefined Circuit


      hi there, I am maintaining a website which was originally built on fusebox (not by myself).
      I'm keep getting this error:

      undefined Circuit

      You specified a Circuit of home which is not defined.


      Now the weird thing is that it throws the error and 1 sec later you can load the same page with no issues.  Then you browse to the next page it gives the error you refresh the page and it loads correctly.
      It looks like it needs more 'time' to work properly.


      Anyone has come across similar ? Is this a CF server issue or fusebox itself ?



        • 1. Re: coldfusion fusebox undefined Circuit
          Steve Sommers Level 4

          I'm guessing a fusebox configuration issue of some sort. The only time I have seen behavior like you're describing is when the fusebox mode was set to "development-full-load" instead of "production". Fusebox is not thread safe in development-full-load mode and it can cause some strange results. Also make sure you have a parsed folder under your site root with read-write access - but I think this would throw a different exception.

          • 2. Re: coldfusion fusebox undefined Circuit
            AkosF Level 1

            Thank you Steve, would this be the one in fusebox.xml.cfm ?


            <parameter name="fuseactionVariable" value="page" />

            <parameter name="defaultFuseaction" value="home.index" />

            <parameter name="precedenceFormOrUrl" value="form" />

            <parameter name="password" value="spharm_app1" />

            <parameter name="execute" value="true" />

            <parameter name="reparse" value="true" />

            <parameter name="parseWithComments" value="false" />

            <parameter name="mode" value="development" />

            <parameter name="scriptlanguage" value="cfmx" />

            <parameter name="scriptFileDelimiter" value="cfm" />

            <parameter name="maskedFileDelimiters" value="htm,cfm,cfml,php,php4,asp,aspx" />



            The site has been running for about 10 years and we noticed this behaviour since CF9 was upgraded to CF10, I have also been told that we should upgrade fusebox itself from 4 to 5 ?
            Could that be also to do with it ?
            Yes we do have a parsed folder.
            Many thanks

            • 3. Re: coldfusion fusebox undefined Circuit
              Steve Sommers Level 4

              Yes, the line you highlighted should not (cannot in my experience) be set development on a production server. Try canging that setting to "production" and restart your site - or reload it via the fb reload parameter and password.