Laravel по-русски

Русское сообщество разработки на PHP-фреймворке Laravel.

Ты не вошёл. Вход тут.

#1 27.07.2015 22:19:36

Ошибка при запуске Laravel

Добрый вечер! Установил XAMPP на него Composer и после Laravel. После ввода адреса проекта и перехода в папку public выдается страница с ошибками

Whoops, looks like something went wrong.

1/1
RuntimeException in EncryptionServiceProvider.php line 29:
No supported encrypter found. The cipher and / or key length are invalid.
in EncryptionServiceProvider.php line 29
at EncryptionServiceProvider->Illuminate\Encryption\{closure}(object(Application), array()) in Container.php line 733
at Container->build(object(Closure), array()) in Container.php line 626
at Container->make(’encrypter’, array()) in Application.php line 674
at Application->make(’Illuminate\Contracts\Encryption\Encrypter’) in Container.php line 837
at Container->resolveClass(object(ReflectionParameter)) in Container.php line 800
at Container->getDependencies(array(object(ReflectionParameter)), array()) in Container.php line 771
at Container->build(’App\Http\Middleware\EncryptCookies’, array()) in Container.php line 626
at Container->make(’App\Http\Middleware\EncryptCookies’, array()) in Application.php line 674
at Application->make(’App\Http\Middleware\EncryptCookies’) in Pipeline.php line 123
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), ’handle’), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 123
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 88
at Kernel->handle(object(Request)) in index.php line 54
Whoops, looks like something went wrong.

1/1
RuntimeException in EncryptionServiceProvider.php line 29:
No supported encrypter found. The cipher and / or key length are invalid.
in EncryptionServiceProvider.php line 29
at EncryptionServiceProvider->Illuminate\Encryption\{closure}(object(Application), array()) in Container.php line 733
at Container->build(object(Closure), array()) in Container.php line 626
at Container->make(’encrypter’, array()) in Application.php line 674
at Application->make(’Illuminate\Contracts\Encryption\Encrypter’) in Container.php line 837
at Container->resolveClass(object(ReflectionParameter)) in Container.php line 800
at Container->getDependencies(array(object(ReflectionParameter)), array()) in Container.php line 771
at Container->build(’App\Http\Middleware\EncryptCookies’, array()) in Container.php line 626
at Container->make(’App\Http\Middleware\EncryptCookies’, array()) in Application.php line 674
at Application->make(’App\Http\Middleware\EncryptCookies’) in Kernel.php line 143
at Kernel->terminate(object(Request), object(Response)) in index.php line 58

Не в сети

#2 28.07.2015 10:34:05

Re: Ошибка при запуске Laravel

в файле .env задай APP_KEY=<рандомный ключ из 32х символов (латиница+цифры)>

Не в сети

#3 29.07.2015 09:09:24

Re: Ошибка при запуске Laravel

Спасибо!!!

Не в сети

#4 29.07.2015 13:13:46

Re: Ошибка при запуске Laravel

Рад был помочь. Так же рекомендую настроить виртуальные хосты в xampp и указать корневым каталогом папку public что бы не приходилось каждый раз в нее переходить

Не в сети

Подвал раздела