davla
06/28/2022, 8:49 PM...
diEngine = "di1",
diComponent = "framework.ioc",
diLocations = "model, controllers"
...
whereas my old application doesn’t specify the diEngine or diComponent and has the following diLocation format:
diLocations : [ "/controllers", "/model" ]
Should it be an array or a list? I’ll have to try again tomorrow now.tonyjunkes
06/28/2022, 9:03 PMdavla
06/28/2022, 9:07 PMtonyjunkes
06/28/2022, 9:35 PMdavla
06/28/2022, 9:36 PMdavla
06/29/2022, 9:19 AMvar loc = {};
loc.rqc = serialize(rc);
return "Error 404 - Page not found.<br />#loc.rqc#";
If I load a page, e.g. /about (?action=home.about) I get this:
Error 404 - Page not found
{"action":"home.about"}
the fw/1 routes appear to be working:
routes = [
{ "/about/?$" = "/home/about" }
...
]
and I have this in variables.framework:
variables.framework = {
reload = "reload",
password = "*********",
action = "action",
defaultSection = "home",
defaultItem = "index",
error: "home.error",
missingview: "home.error",
generateSES = true,
SESOmitIndex = true,
diLocations = [ "/controllers", "/model" ],
diConfig = {...},
routes = [...]
}