laravel4-starter
laravel4-starter copied to clipboard
undefined index 'cookie' (fix added)
A few days ago a new config key appeared, "cookie". So you get below error after using using your starter app below I added the fix.
ErrorException: Notice: Undefined index: cookie in D:\Development\wamp\www\piercingclopedia\vendor\laravel\framework\src\Illuminate\Session\SessionServiceProvider.php line 97
Fix: Add below snippet in app/config/session.php
/*
|--------------------------------------------------------------------------
| Session Cookie Name
|--------------------------------------------------------------------------
|
| Here you may change the name of the cookie used to identify a session
| instance by ID. The name specified here will get used every time a
| new session cookie is created by the framework for every driver.
|
*/
'cookie' => 'laravel_session',