Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Variables scope variable suddenly not working

$
0
0

Hello, all,

 

Can anyone suggest reasons as to why, after 8 months of working fine, a variable set specifically in the VARIABLES scope would suddenly stop working?

 

In my Application.cfc file, within the "onRequestStart" function, I have the following line:

 

<cfset variables.praglink = "//" & cgi.server_name />

 

It's been working since March of this year.  This morning, I open a page in the browser (my DEV environment uses one physical machine for CF, one physical machine for DB, and my development system), and get the following error message:

 

Element PRAGLINK is undefined in VARIABLES
The error occurred in {dev path}/wwwroot/public/header.cfm: line 20

 

header.cfm line 20 is:

 

<link rel="stylesheet" type="text/css" href="<cfoutput>#variables.praglink#</cfoutput>/style/public.css" />

 

It was working fine, Friday; today, not at all.

 

All the other variables set in the variable scope are present.  CFDUMP shows the rest are working.  Just not PRAGLINK.

 

I've reboot the server, restarted the CF service, no change.

 

Thoughts?

 

V/r,

 

^_^


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>