My Laravel App Hosted On Whogohost Shared Hosting Not Working - Programming - Nairaland
Nairaland Forum / Science/Technology / Programming / My Laravel App Hosted On Whogohost Shared Hosting Not Working (1856 Views)
How Do I Set Up Git On My Whogohost Shared Server? / Deploy Laravel App To Shared Hosting / Who Else Is Experiencing This **whogohost** Is Down And My Domains Not Active (2) (3) (4)
(1) (Reply)
My Laravel App Hosted On Whogohost Shared Hosting Not Working by Thirdwrist(m): 5:08am On Jul 27, 2017 |
So i just hosted my laravel app on whogohost shared hosting and changed all the needed created a file path gobob/. put all my files except the public files into it put all contents of public files into public_html and configured the index.php to say
require __DIR__.'/../gobob/bootstrap/autoload.php';
$app = require_once __DIR__.'/../gobob/bootstrap/app.php';
put its telling me
Whoops, looks like something went wrong.
1/1 ReflectionException in Container.php line 721: Class App\Http\Controllers\postController does not exist in Container.php line 721 at ReflectionClass->__construct('App\\Http\\Controllers\\postController') in Container.php line 721 at Container->build('App\\Http\\Controllers\\postController') in Container.php line 600 at Container->resolve('App\\Http\\Controllers\\postController') in Container.php line 567 at Container->make('App\\Http\\Controllers\\postController') in Application.php line 708 at Application->make('App\\Http\\Controllers\\postController') in Route.php line 217 at Route->getController() in Route.php line 736 at Route->controllerMiddleware() in Route.php line 697 at Route->gatherMiddleware() in Router.php line 572 at Router->gatherRouteMiddleware(object(Route)) in Router.php line 552 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 520 at Router->dispatchToRoute(object(Request)) in Router.php line 498 at Router->dispatch(object(Request)) in Kernel.php line 174 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 30 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30 at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30 at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ValidatePostSize.php line 27 at ValidatePostSize->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102 at Pipeline->then(object(Closure)) in Kernel.php line 149 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116 at Kernel->handle(object(Request)) in index.php line 54
Please what do i do |
Re: My Laravel App Hosted On Whogohost Shared Hosting Not Working by LordRahl001: 9:49pm On Jul 28, 2017 |
Boss!! To get the best from laravel, why not try digital ocean? You can start with their $5 plan and you can also host multiple projects and scale as u proceed! Laravel on shared hosting is tough job, moreso how will u manage d dependencies? And all those stuffs that needs ssh access!! Try digital ocean or linode and the story won't be d same!! Cheers bro |
Re: My Laravel App Hosted On Whogohost Shared Hosting Not Working by francollimasso: 6:17pm On Jul 29, 2017 |
Thirdwrist:
put its telling me
Please what do i do
delete../ before gobob |