Skip to main content
Participating Frequently
March 12, 2025
Answered

Upgrade to CF2023 has disabled all URL's

  • March 12, 2025
  • 1 reply
  • 897 views

Since an update was made on where my site is being hosted, i can't get the URL's to work.  Unfortunately my site was written over 20 years ago (not by me) , i do have experience with HTML and CSS, but cold fusion....well no.    From what I have seen is that it has something to do with Scoped Variables.  The URL's are showing in the browser, but it remains on the homepage.  I'm using a page to control most of my nav.

 

So for example

<a href="./inc_executive.cfm?show=executive">Executive & Coaches</a>

 simply resets to the homepage.

Any help or suggestions would be appreciated

Thanks

    Correct answer BKBK

    Hi BKBK

    Were hosting with Hostek.  I do not have that folder or access to jvm.config. 

    Thanks for responding


    quote

    Were hosting with Hostek.  I do not have that folder or access to jvm.config. 


    By @Daffy_Ducks

     

    No problem. There is an alternative to the jvm.config setting. 

    Add the following to the Application.cfc file:

    <cfset this.searchImplicitScopes=true>

    or, if you use Application.cfm instead,

    <cfapplication searchImplicitScopes="true">

     

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    March 12, 2025

    My guess is that you'll find it works if you change the code (perhaps in your application.cfm or cfc, that receives the request and forwards it based on that show variable in the url) so that instead of just using show, you use url.show.

     

    There was an update to both cf2021 and 2023 last March that introduced an important change in behavior. There are also alternative workarounds you can enable at the application level or server (jvm config) level, to affect more than this one set of code. For more, see the technote for that March update, or my blog post from that day:

     

    https://www.carehart.org/blog/2024/3/12/cf_updates_march_2024_possible_breaking_change

     

    Let us know if that quick fix I offered works, or not. 

    /Charlie (troubleshooter, carehart. org)
    Participating Frequently
    March 13, 2025

    Hi Charlie

    Thanks for such a quick reply!  Unfortuantely the quick fix did not work. mind you I only made the change in one location which was the navigation.cfm

    Let me know 

    Thanks!

    Charlie Arehart
    Community Expert
    Community Expert
    March 13, 2025

    If the quick fix was the url.show and that "didn't fix things", well, we're still left guessing what's amiss. So before anything else, try the application level setting, or the jvm setting. See my blog post above for details. 

    /Charlie (troubleshooter, carehart. org)