jvddrift
06/12/2024, 7:53 AMfilebrowser
another undocumented key in settings.ini.cfm
?
{
"error": {
"message": "Unhandled Exception",
"code": "server_error",
"stacktrace": {
"extended_info": "",
"message": "key [filebrowser] doesn't exist",
"detail": "",
"additional": {},
"tagcontext": [
{
"raw_trace": "resourcebundle.resourcebundle_cfc$cf$2b.udfCall(/mura/resourceBundle/resourceBundle.cfc:233)",
"codeprintplain": "231: \t\t}\n232: \n233: \t\treturn variables.resourceBundleStruct[key];\n234: \n235: \t}\n",
"column": "0",
"line": "233",
"template": "/var/www/html/local/zmc/www/core/mura/resourceBundle/resourceBundle.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "231: \t\t}<br>\n232: <br>\n<b>233: \t\treturn variables.resourceBundleStruct[key];</b><br>\n234: <br>\n235: \t}<br>\n"
},
{
"raw_trace": "resourcebundle.resourcebundlefactory_cfc$cf.udfCall(/mura/resourceBundle/resourceBundleFactory.cfc:117)",
"codeprintplain": "115: \n116: \tpublic function getKeyStructure(required string locale=\"#variables.locale#\", key) output=false {\n117: \t\treturn getResourceBundle(arguments.locale).getKeyStructure(arguments.key);\n118: \t}\n119: \n",
"column": "0",
"line": "117",
"template": "/var/www/html/local/zmc/www/core/mura/resourceBundle/resourceBundleFactory.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "115: <br>\n116: \tpublic function getKeyStructure(required string locale="#variables.locale#", key) output=false {<br>\n<b>117: \t\treturn getResourceBundle(arguments.locale).getKeyStructure(arguments.key);</b><br>\n118: \t}<br>\n119: <br>\n"
},
{
"raw_trace": "core.modules.v1.filebrowser.model.beans.filebrowser_cfc$cf$52.udfCall2(/muraWRM/core/modules/v1/filebrowser/model/beans/filebrowser.cfc:912)",
"codeprintplain": "910: \t\targuments.siteid == \"\" ? \"default\" : arguments.siteid;\n911: \t\tvar m=getBean('$').init(arguments.siteid);\n912: \t\tvar rb = application.rbFactory.getKeyStructure(session.rb,'filebrowser');\n913: \n914: \t\treturn rb;\n",
"column": "0",
"line": "912",
"template": "/var/www/html/local/zmc/www/core/modules/v1/filebrowser/model/beans/filebrowser.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "910: \t\targuments.siteid == "" ? "default" : arguments.siteid;<br>\n911: \t\tvar m=getBean('$').init(arguments.siteid);<br>\n<b>912: \t\tvar rb = application.rbFactory.getKeyStructure(session.rb,'filebrowser');</b><br>\n913: <br>\n914: \t\treturn rb;<br>\n"
},
{
"raw_trace": "core.modules.v1.filebrowser.model.beans.filebrowser_cfc$cf$52.udfCall2(/muraWRM/core/modules/v1/filebrowser/model/beans/filebrowser.cfc:938)",
"codeprintplain": "936: \t\t\teditfilelist = m.globalConfig().getValue(property='filebrowsereditlist',defaultValue=editfilelist); // settings.ini.cfm: filebrowsereditlist\n937: \t\t\timagelist = m.globalConfig().get(property='filebrowserimagelist',defaultValue=imagelist); // settings.ini.cfm: filebrowserimagelist\n938: \t\t\tvar rb = getResourceBundle(arguments.siteid);\n939: \t\t\tresponse.settings = {\n940: \t\t\t\teditfilelist: editfilelist,\n",
"column": "0",
"line": "938",
"template": "/var/www/html/local/zmc/www/core/modules/v1/filebrowser/model/beans/filebrowser.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "936: \t\t\teditfilelist = m.globalConfig().getValue(property='filebrowsereditlist',defaultValue=editfilelist); // settings.ini.cfm: filebrowsereditlist<br>\n937: \t\t\timagelist = m.globalConfig().get(property='filebrowserimagelist',defaultValue=imagelist); // settings.ini.cfm: filebrowserimagelist<br>\n<b>938: \t\t\tvar rb = getResourceBundle(arguments.siteid);</b><br>\n939: \t\t\tresponse.settings = {<br>\n940: \t\t\t\teditfilelist: editfilelist,<br>\n"
},
{
"raw_trace": "client.api.json.v1.jsonapiutility_cfc$cf$4d.udfCall2(/mura/client/api/json/v1/jsonApiUtility.cfc:1172)",
"codeprintplain": "1170: \n1171: \t\t\t\t\t\tvar entity=getBean(params.entityName);\n1172: \t\t\t\t\t\tvar result=invoke(entity,pathInfo[3],params);\n1173: \t\t\t\t\t\treturn serializeResponse(statusCode=200,response={'apiversion'=getApiVersion(),'method'=params.method,'params'=getParamsWithOutMethod(params),'data'=result});\n1174: \t\t\t\t\t} else if (params.entityName=='content') {\n",
"column": "0",
"line": "1172",
"template": "/var/www/html/local/zmc/www/core/mura/client/api/json/v1/jsonApiUtility.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "1170: <br>\n1171: \t\t\t\t\t\tvar entity=getBean(params.entityName);<br>\n<b>1172: \t\t\t\t\t\tvar result=invoke(entity,pathInfo[3],params);</b><br>\n1173: \t\t\t\t\t\treturn serializeResponse(statusCode=200,response={'apiversion'=getApiVersion(),'method'=params.method,'params'=getParamsWithOutMethod(params),'data'=result});<br>\n1174: \t\t\t\t\t} else if (params.entityName=='content') {<br>\n"
},
{
"raw_trace": "content.contentserver_cfc$cf$22.udfCall2(/mura/content/contentServer.cfc:615)",
"codeprintplain": "613: \t\t\t<cfset siteid=\"default\">\n614: \t\t</cfif>\n615: \t\t<cfreturn getBean('settingsManager').getSite(siteid).getApi('json','v1').processRequest(arguments.path)>\n616: \t<cfelseif left(arguments.path,len(restendpoint)) eq restendpoint or left(arguments.path,len(restendpoint)) eq restendpoint>\n617: \t\t<cfset request.muraAPIRequest=true>\n",
"column": "0",
"line": "615",
"template": "/var/www/html/local/zmc/www/core/mura/content/contentServer.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "613: \t\t\t<cfset siteid="default"><br>\n614: \t\t</cfif><br>\n<b>615: \t\t<cfreturn getBean('settingsManager').getSite(siteid).getApi('json','v1').processRequest(arguments.path)></b><br>\n616: \t<cfelseif left(arguments.path,len(restendpoint)) eq restendpoint or left(arguments.path,len(restendpoint)) eq restendpoint><br>\n617: \t\t<cfset request.muraAPIRequest=true><br>\n"
},
{
"raw_trace": "content.contentserver_cfc$cf$22.udfCall2(/mura/content/contentServer.cfc:777)",
"codeprintplain": "775: \n776: \t<cfif listFindNoCase('_api,tasks',listFirst(path,'/'))>\n777: \t\t<cfreturn handleAPIRequest(path)>\n778: \t<cfelse>\n779: \n",
"column": "0",
"line": "777",
"template": "/var/www/html/local/zmc/www/core/mura/content/contentServer.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "775: <br>\n776: \t<cfif listFindNoCase('_api,tasks',listFirst(path,'/'))><br>\n<b>777: \t\t<cfreturn handleAPIRequest(path)></b><br>\n778: \t<cfelse><br>\n779: <br>\n"
},
{
"raw_trace": "index_cfm$cf.call(/index.cfm:75)",
"codeprintplain": "73: modified version; it is your choice whether to do so, or to make such modified version available under the GNU General Public License \n74: version 2 without this exception. You may, if you choose, apply this exception to your own modified versions of Mura CMS.\n75: ---><cfoutput>#application.contentServer.handleRootRequest()#</cfoutput>\n",
"column": "0",
"line": "75",
"template": "/var/www/html/local/zmc/www/index.cfm",
"id": "??",
"type": "cfml",
"codeprinthtml": "73: modified version; it is your choice whether to do so, or to make such modified version available under the GNU General Public License <br>\n74: version 2 without this exception. You may, if you choose, apply this exception to your own modified versions of Mura CMS.<br>\n<b>75: ---><cfoutput>#application.contentServer.handleRootRequest()#</cfoutput></b><br>\n"
}
],
"errorcode": "0",
"errnumber": "0",
"type": "expression",
},
"method": "invalid",
"apiversion": "v1"
}