I’m sorry for my English.
Good day, developers,
I need your help, I have an app that I must migrate https://creamedicinaprepagada.com/ It is developed in Laravel + VueJS, at the moment it is hosted in AWS CPANEL, but I must migrate to CPANEL HOSTINGER. I am passing all the files and databases from the AWS CPANEL to CPANEL HOSTINGER, the app i did not develop it and those are the only files I have.
In the first image you can see the public html and in the second what the AppGestorContenido folder contains.
It gives me error 500.
Stack trace: #0 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): IlluminateEventsEventServiceProvider->IlluminateEvents{closure}(Object(IlluminateFoundationApplication), Array) #1 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): IlluminateContainerContainer->build(Object(Closure)) #2 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): IlluminateContainerContainer->resolve('events', Array) #3 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): IlluminateContainerContainer->make('events', Array) #4 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(1227): IlluminateFoundationApplication->make('events') #5 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php(40): IlluminateContainerContainer->offsetGet('events') #6 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): IlluminateRoutingRoutingServiceProvider->IlluminateRouting{closure}(Object(IlluminateFoundationApplication), Array) #7 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): IlluminateContainerContainer->build(Object(Closure)) #8 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): IlluminateContainerContainer->resolve('router', Array) #9 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): IlluminateContainerContainer->make('router', Array) #10 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(927): IlluminateFoundationApplication->make('router') #11 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(855): IlluminateContainerContainer->resolveClass(Object(ReflectionParameter)) #12 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(816): IlluminateContainerContainer->resolveDependencies(Array) #13 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): IlluminateContainerContainer->build('App\Http\Kernel') #14 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(265): IlluminateContainerContainer->resolve('App\Http\Kernel', Array, false) #15 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): IlluminateContainerContainer->IlluminateContainer{closure}(Object(IlluminateFoundationApplication), Array) #16 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): IlluminateContainerContainer->build(Object(Closure)) #17 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): IlluminateContainerContainer->resolve('Illuminate\Cont...', Array) #18 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): IlluminateContainerContainer->make('Illuminate\Cont...', Array) #19 /home/tucachivache/public_html/index.php(55): IlluminateFoundationApplication->make('Illuminate\Cont...') #20 {main} thrown in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php on line 18 [17-Feb-2021 21:54:27 UTC] PHP Warning: include(/home/tucachivache/public_html/AppGestorContenido/vendor/composer/../laravel/framework/src/Illuminate/Events/Dispatcher.php): failed to open stream: No such file or directory in /home/tucachivache/public_html/AppGestorContenido/vendor/composer/ClassLoader.php on line 444 [17-Feb-2021 21:54:27 UTC] PHP Warning: include(): Failed opening '/home/tucachivache/public_html/AppGestorContenido/vendor/composer/../laravel/framework/src/Illuminate/Events/Dispatcher.php' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/tucachivache/public_html/AppGestorContenido/vendor/composer/ClassLoader.php on line 444 [17-Feb-2021 21:54:27 UTC] PHP Fatal error: Uncaught Error: Class 'IlluminateEventsDispatcher' not found in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php:18 Stack trace: #0 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): IlluminateEventsEventServiceProvider->IlluminateEvents{closure}(Object(IlluminateFoundationApplication), Array) #1 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): IlluminateContainerContainer->build(Object(Closure)) #2 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): IlluminateContainerContainer->resolve('events', Array) #3 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): IlluminateContainerContainer->make('events', Array) #4 /home/tucachivache/public_html/AppGest in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php on line 18
Advertisement
Answer
seems like you are missing the vendor folder from laravel