Hi guys, I am having a bit of trouble with the app migrating to the production server. I have a class in app/model directory. Everything is working fine on localhost. But when i migrated the application to the VPS (Ubuntu and nginx) by git clone, it shows error "Class not found" for the class which is in app/models. I tried dump-autoload as well but still the same error. I also checked for mapping in vendor/composer/autoload_classmap.php and mapping is there. I dont seems to get it why this is happening.
Any help would be appreciated.
Cheers, Chintan
Could it be a php version or a setting difference? Do the laravel or php logs give you any more details like the path it is looking in?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community