A
A
Alexander2016-08-07 13:54:38
Laravel
Alexander, 2016-08-07 13:54:38

Uploaded the project to the hosting, how to fix the problem?

Made a local project with Laravel 5.2 version . Now I want to upload it to hosting, I chose hostinger.ru free plan. Here is what the logs show:

[07-Aug-2016 15:36:58] PHP Fatal error:  Uncaught ReflectionException: Class App\Exceptions\Handler does not exist in /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:734
Stack trace:
#0 /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(734): ReflectionClass->__construct('App\\Exceptions\\...')
#1 /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(629): Illuminate\Container\Container->build('App\\Exceptions\\...', Array)
#2 /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(697): Illuminate\Container\Container->make('App\\Exceptions\\...', Array)
#3 /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(230): Illuminate\Foundation\Application->make('App\\Exceptions\\...', Array)
#4 /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\Container\Container->Illuminate\Container\{closure}( in /home/u103864227/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 734

Has anyone encountered this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sasha, 2016-08-07
@sanek1106

Hostinger is not a reliable free plan, constantly slows down and has all sorts of problems all the time. Better take a normal paid hosting, especially since many have a test period. What kind of project if not a secret?

N
nehaeve, 2016-08-12
@nehaeve

If Fatal error, then most likely you are using some kind of library, like json, which is not installed on the hoster. On free tariffs, as a rule, they cut off everything that can load servers. Try a paid plan.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question