• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

coldfusion fusebox undefined Circuit

New Here ,
Jul 04, 2017 Jul 04, 2017

Copy link to clipboard

Copied

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 ?

Thanks

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jul 05, 2017 Jul 05, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 06, 2017 Jul 06, 2017

Copy link to clipboard

Copied

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

<parameters>

<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" />

</parameters>

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
Akos

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jul 06, 2017 Jul 06, 2017

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation