Why I get this?
Sometimes I think we are having issues with permission and linux. Lucee is running as root, as running as
Lucee 5.3.3.62 Error (expression) Message key [server] doesn't exist Stacktrace The Error Occurred in /admin/web.cfm: line 207 called from /admin/server.cfm: line 2
It seems we tried to install it as a service with lucee_ctl… don’t understand
@glasnhost , Did you face the issue again? Please make sure to confirm this issue.
i have seen this randomly
<cfif isDefined('xml.custom')>
<cftry><cfset var custom=xml.custom><cfcatch><cfdump var="#isDefined('xml.custoiihm')#"><cfdump var="#xml#" abort></cfcatch></cftry>
<cfloop index="idx" from="1" to="#arraylen(custom)#">
<cfset language[custom[idx].XmlAttributes.key]=custom[idx].XmlText>
</cfloop>
</cfif>
</cfif>
<cfreturn language>
</cffunction>
<cfset navigation = stText.MenuStruct[request.adminType]>
<cfset plugins = []>
<cfif structKeyExists(session, "password" & request.adminType)>
<cftry>
<cfadmin action="getPluginDirectory"
type="#request.adminType#"
password="#session["password" & request.adminType]#"
returnVariable="pluginDir">
<cfset mappings['/lucee_plugin_directory/']=pluginDir>
<cfapplication action="update" mappings="#mappings#">
that value gets set here
type="#request.adminType#"
password="#session["password"&request.adminType]#"
returnVariable="request.hasRemoteClientUsage">
<cfcatch>
<cfset request.hasRemoteClientUsage=true>
</cfcatch>
</cftry>
<cfset stText.menuStruct.web = createMenu(stText.menu,"web")>
<cfset stText.menuStruct.server = createMenu(stText.menu, "server")>
<cfelse>
<cfset languages=application.languages>
<cfset stText = application.stText[session.lucee_admin_lang]>
</cfif>
<!--- TODO what is thios good for? it does not work, URL does not exist
<cfif not structKeyExists(application, "stWebHelp") or structKeyExists(url, "reinit")>
<cftry>
<cfhttp url="#sHelpURL#" method="GET" timeout="1"></cfhttp>
but only when all these conditions get met
<cfset sHelpURL = "http://www.lucee.org/help/stHelp.json">
<cfparam name="request.stLocalHelp" default="#structNew()#">
<cfparam name="request.stWebMediaHelp" default="#structNew()#">
<cfparam name="request.stWebHelp" default="#structNew()#">
<cfparam name="application.stText" default="#structNew()#">
<!---
<cfset structDelete(application, "stText")>
<cfset structDelete(application, "stWebHelp")>
--->
<cfif structKeyExists(form, "lang") || !structKeyExists(application, "languages") || !structKeyExists(application.stText, session.lucee_admin_lang) || structKeyExists(url, "reinit")>
<cfinclude template="menu.cfm">
<cfset langData = getAvailableLanguages()>
<cfset languages = {}>
<cfloop collection="#langData#" item="value" index="key">
<cfset languages[key] = value.name>
</cfloop>
<cfset application.languages = languages>
Any suggestions on how to fix this? I’m running into it with 1 site. Others on the same server are fine. Running 5.3.6.61 on W2K19 and IIS.
Thanks!
@ObiWebKenobi : Maybe you’ve done that already, I’m just asking to be sure: did you try stopping lucee service, delete the WEB-INF folder, and restart the service? That should recreate the web-inf folder. Before doing that, please backup the web-inf of that website context, because some configurations that have been set up through your web admin will be deleted (e.g. scheduler-task that have been setup. You can also use commandbox cfconfig to backing up most of that configurations.
A restart did take care of this.
1 Like