I am getting errors when I upgraded my install of Mach II. What are the common problems? - Mach-II/Mach-II-Framework GitHub Wiki
Common Errors
If you are updating your Mach-II installation from an older version, you must clear your template cache and restart your CFML engine after you replace your older version with a newer version. This will resolve most upgrade problems.
If you do not clear your template cache and restart your server, you will receive an error similar such as:
The value returned from function getAppFactory() is not of type MachII.framework.AppFactory.
The value returned from function getMessageManager() is not of type MachII.framework.MessageManager.
Element AppLoader undefined in application[MACHII_APP_KEY].
- Etc. (Too many to list here as it vary from what version you upgraded from)
Other Errors
If you are upgrading from a version earlier than Mach-II 1.5.0, you might get an error similar to this if you have the CFML session scope disable on your CFML engine:
Session scope not enabled
This occurs because the default scope for redirect persist support (which was added in 1.5) is the session scope. You'll have to change the scope by adding this line to your configuration file:
<property name="redirectPersistScope" value="application"/>