Is there a directory for your addressBook in @app/views, with an index.php in it?
Edit:
I am having doubts about the fact that you have camelCased your model/controller/view.
Normally, for a URL (action) like addressBook, the corresponding action would be address-book …
If you simply renamed your controller to ‘Addressbook’, you could test that - the generated URL would then be just all lowercase addressbook or addressbook/index.
Might be unrelated by I learned not to use camel case actions in Yii2, i.e. ‘addressBook’. Yii2 doesn’t seem to like that. I would use ‘addressbook’ or some better looking single word in all lowercase.
-On Edit: I guess I missed your reply along the same lines, but yeah, the camel case is an issue.
hello i’m having the same issue… the thing is that the SQL i’m checking out has 3 foreign key on its model…
i’m having the issue 404 error… it seems like it’s a problem with multiple foreign key with that table in particular
i’m using bitnami as a localhost with mysql on windows…
i really dont know what’s going on… i just created 6 CRUD from tables with no problem but this one is tricky because as i said i created a MIDDLE table i mean in order to stablish a many to many relationship between tables i’ve got to create a new one that wouuld do the trick…
when you generate CRUD from gii sometime gii engine generate controller namespace with capital letter and sometime small, here need app\controller not app\Controller please check your new generate controller