Laravel5 some classes of models is not found?

Good morning ! The first time the project on Lara doing now, filled with a host in the public folder
wrote the following lines in the file .htaccess
<ifmodule mod_rewrite.c>
 RewriteEngine On
 # Redirect Trailing Slashes If Not A Folder...
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)/$ /$1 [L,R=301]
 # Handle Front Controller...
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^ index.php [L]
 # Handle Authorization Header
 RewriteCond %{HTTP:Authorization} .
 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</ifmodule>

and at the root of the document wrote .htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^ public/index.php [L]

in the end I receive an error
you can see it here.
Tell me what could be the problem?
www.profocus-studio.com
July 9th 19 at 14:00
1 answer
July 9th 19 at 14:02
SSH access to the server is? You need to peregistrirovat file autoloading artisan command. And perhaps not all filled.
php artisan cache:clear
php artisan clear-compiled
php artisan optimize
I just need to connect via SSH and nothing more? Simply typing any command I get the following error Parse error: syntax error, unexpected T_STRING in /home/profocus/profocus-studio.com/www/artisan on line 31 - Efren.Witting commented on July 9th 19 at 14:05
: a vendor was excellent? composer update - jules_Nolan10 commented on July 9th 19 at 14:08
: forgotten altogether, now will set composer and try again. - Efren.Witting commented on July 9th 19 at 14:11
: when I do composer update get the following error, posted the text here pastebin.com/yeZcuBG4 - Efren.Witting commented on July 9th 19 at 14:14
: Delete all of the vendor and artisan file in the root. Compoer and run the update again. Only in the composer.json to remove the pre-update everything. As you will have no libraries, and he will try composer update before you do anything - jules_Nolan10 commented on July 9th 19 at 14:17
: pre-update file composer.json has no such line, but there is a "post-update-cmd": I deleted everything from there and it worked except for the artisan. The vendor folder is loaded, but the file artisan no - Efren.Witting commented on July 9th 19 at 14:20
Strange. Well then copy it from here https://github.com/laravel/laravel - jules_Nolan10 commented on July 9th 19 at 14:23
: I downloaded artisan with github file, put it in the root entered the following commands and nothing happened.
pastebin.com/sP3R31Yr
here is my composer.json pastebin.com/kniZXRvk I don't understand why it refuses to work, all the files on the hosting flooded again. - Efren.Witting commented on July 9th 19 at 14:26
: The problem was that I the site was created in windows environment and production server on linux. The paths to some classes there was a discrepancy of register windows is case-insensitive, in any case, thanks for the help! - Efren.Witting commented on July 9th 19 at 14:29
: Hmm. I didn't even know) And thank you) - jules_Nolan10 commented on July 9th 19 at 14:32

Find more questions by tags PHPLaravel