Answer the question
In order to leave comments, you need to log in
Why doesn't composer autoload work after transferring the site to hosting?
Good day!
Tell me what could be the problem. Autoload is registered in the composer:
"autoload": {
"psr-0": {
"models\\": "app/",
"views\\": "app/",
"controllers\\": "app/"
}
}
new controllers\Routes();
Answer the question
In order to leave comments, you need to log in
It seems to me that the problem is in the case sensitivity of Linux and the case insensitivity of Windows - there they rolled namespaces with a small letter, but on hosting - no
did you move the vendor folder? if yes, then it is better to delete and form the vendor on a new one
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question