Answer the question
In order to leave comments, you need to log in
Laravel 4.2 stopped working on the server, where to look for the problem?
On the working machine everything worked without errors. Uploaded the project to the server, the error began to appear:
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException"
,"message":"Class 'work' not found","file":"\/home\/site \/vendor\/laravel\/framework\/src
\/Illuminate\/Database\/Eloquent\/Model.php","line":792}}
<?php
class Work extends Eloquent {
protected $table = 'works';
}
Answer the question
In order to leave comments, you need to log in
It also says
>>Class 'work'
and you have Work.
Watch the register of files and classes so that there are no incidents on unix systems
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question