This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

m.gomezm63677
m.gomezm63677

I keep getting a 404 Error when trying to access a Backend Menu created by the "Builder" plugin. I've followed the instructions on this video https://www.youtube.com/watch?v=9A-obKktlYw&list=PLUBR53Dw-Ef9Wb7Wa8zn8kBu30HtsOKn8&index=1

Can't really understand why, and I think I've gotten everything correctly. I have a model, and the controller, the controller pointing to the model. Nothing helps. This is a freshly build install of October.

Anyone got any clue of what could be wrong? Maybe somthing has been changed since. Thanks in advance.

Last updated

mjauvin
mjauvin

What's your plugin namespace and controller class name?

m.gomezm63677
m.gomezm63677

Thanks for the answer, but I just found the reason why it wasn't working - perhaps I should have tried to understand exactly how the plugin menu works beforehand.

The plugin needs to have at least one list under "Models" for the redirection to occur. A list with wrong content will throw an exception, but no list at all will just throw a Page Not Found (404), which to be fair - is kind of misleading.

The list should also exist before creating the controller, and the list controller behavior needs to be selected when creating it.

This is obviously a beginner mistake... I hope it helps future searchers.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.