Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ColdFusion 2018 Admin Console Shows Indestructible Search Bar

When I login to ColdFusion 2018 admin console the screenshot below shows up. The close button is not working. Neither is the search box. Restarting the WebLogic server and reopening console are not helpful. How to fix this? I never had this issue using ColdFusion console before this.

enter image description here

This is the console log in browser. No error reported in Eclipse.

enter image description here

like image 463
not_Prince Avatar asked Oct 24 '18 07:10

not_Prince


2 Answers

You are missing the /cf_scripts mapping that serves the jQuery script that is required to run the frontend of the CF2018 admin console.

The mapping should point to /ColdFusion2018/cfusion/wwwroot/cf_scripts/.

If you are using the built-in Tomcat, locate /ColdFusion2018/cfusion/runtime/conf/server.xml and adjust your context:

<Context path="" docBase="/your-webroot/" workDir="/ColdFusion2018/cfusion/runtime/conf/Catalina/localhost/tmp">
    <Resources>
        <PreResources className="org.apache.catalina.webresources.DirResourceSet" base="/ColdFusion2018/cfusion/wwwroot/CFIDE" webAppMount="/CFIDE" />
        <PreResources className="org.apache.catalina.webresources.DirResourceSet" base="/ColdFusion2018/cfusion/wwwroot/WEB-INF" webAppMount="/WEB-INF" />
        <PreResources className="org.apache.catalina.webresources.DirResourceSet" base="/ColdFusion2018/cfusion/wwwroot/cf_scripts" webAppMount="/cf_scripts" />
    </Resources>
</Context>

If you are using IIS, you can simly add a virtual directory. A symlink would probably work too for that matter.

like image 78
Alex Avatar answered Dec 04 '22 21:12

Alex


It seems to be an incorrect value in your neo-runtime.xml file. CfFormScriptSrc value should be just "/cf_scripts/scripts/". For those who don't understand, refer to the discussion at https://forums.adobe.com/message/10705035

like image 20
Edwin Samuel Jonathan Avatar answered Dec 04 '22 20:12

Edwin Samuel Jonathan