Facendo le modifiche che hai suggerito tu la situazione non cambia di molto se mi connetto su /public/ mi esce questo:
Codice PHP:
Fatal error: Uncaught RuntimeException: A facade root has not been set. in /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:335 Stack trace: #0 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(18): Illuminate\Support\Facades\Facade::__callStatic('replaceNamespac...', Array) #1 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke() #2 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(623): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths() #3 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #4 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #5 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(ParseError)) #6 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(493): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(ParseError)) #7 /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(138): Illuminate\Foundation\Http\Kernel->renderException(Object(Illuminate\Http\Request), Object(ParseError)) #8 /membri/serverluca1/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #9 {main} thrown in /membri/serverluca1/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 335
Ho notato che invece se vado su /config/app.php mi esce quest'altro errore:
Codice PHP:
Fatal error: Uncaught Error: Call to undefined function env() in /membri/serverluca1/config/app.php:18 Stack trace: #0 {main} thrown in /membri/serverluca1/config/app.php on line 18
come posso risolvere?