samedi 29 août 2015

Laravel 5 - Class not found

My problem is, when i try to call a class from my controller, Laravel returns that did not found the class

In my controller:

$get_connections = Mail_server_connection::get_connection();
print_r($get_connections);

Error:

Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)    
Class 'App\models\Mail_server_connection' not found 

It is the first time that i occur this error, i want also to notice that i have modified the auth.php and the User.php model in order to change Laravel's default User.php to a custom one with a custom table in MySql

Any suggestion will be helpful.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1JD42Sg
via IFTTT

Aucun commentaire:

Enregistrer un commentaire