Reputation: 3223
I have two controllers in my backend, and both works on environnement.
But on production, both returns 404. I don't understand what is the problem. The navbar menu is displayed, the database is setup, and the components are workings.
The url is /devinx/exoticproducts/categories
and /devinx/exoticproducts/products
. On dev, working, and on prod.: 404.
Note : the backend url is "backend" (default).
The source code of my plugin is avaible here : https://github.com/FelixINX/ExoticProducts
Upvotes: 2
Views: 1771
Reputation: 1
In my case i solved this by turning back on 'debug' => true in app.php
Upvotes: 0
Reputation: 1139
My guess is that it has to do with the fact that your repo is named in CamelCase, and probably you cloned it exactly like that to the production server.
However, October plugin and author namespace directories should always be completely in lower-case, i.e. plugins/devinx/exoticproducts
and not plugins/devinx/ExoticProducts
or plugins/DevINX/exoticproducts
.
Maybe if your dev server runs in a Windows environment you have not noticed this before, since Windows does not differentiate between lower- and uppercase file and directory names.
Upvotes: 1