2
votes

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

2
Is the backend url correct : domain.com/backend/devinx/exoticproducts/categories ?Raja Khoury

2 Answers

1
votes

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.

0
votes

In my case i solved this by turning back on 'debug' => true in app.php