-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0 CamelCase problem with routes and helpers #4821
Comments
You should maybe have a look to #4729 |
And here in the doc : http://book.cakephp.org/3.0/en/development/routing.html#routes-configuration |
@antograssiot Thanks you, that fixed all the routes problems. |
@Xety Take care of casing when specifying class names. It shoul be "Html" not "html". Since windows file system is case insensitive it works for you locally, but will generate error on Linux servers. |
@ADmad Ah ok that's due to the OS System, thanks for that information, i didn't know. ^^ |
Hello,
I'm using custom routes in my app, like these routes :
As you can see, all the controllers names are in lowercase. These routes work perfectly in localhost but not on my server =>
pagesController
doesn't not exist, You can see the error here : http://xeta.ioAnd i have exactly the same error with Helpers : (work in localhost, but not on the server)
So, my question is :
Is that normal i get an error or not ?
If yes, why you don't convert any helper/controller name with
ucfirst
?For information, i have the same configuration in my dev environment and in my production environment.
The text was updated successfully, but these errors were encountered: