简体   繁体   中英

Application.cfm file not executing on Lucee 5.2.8.50

I currently have a legacy ColdFusion application running in my production environment on Lucee 4.5.2018 and a MYSql DB that utilizes Application.cfm files. (Yes I know, I should be using Application.cfc instead)

I have setup a brand new Windows 2016 server running Lucee 5.2.8.50 and MySQL and copied over my webapp files and data dump file. But on this new server, it doesn't seem as though anything is processing in my application.cfm file. I have some basic queries that run against my DB in my application.cfm file and I set some variables to the returned data and none of that is functioning on my new server.

In my production environment, everything works fine. All data and cfm files are exact on both server. Just the lucee and MySql versions are different.

Is there anything I need to do on my new Lucee server to enable legacy Application.cfm files to run correctly?

Thanks -Brian

Keep in mind that Application.cfc (eg. from the default lucee installation home page) can override your Application.cfm. that was my problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM