mardi 10 mai 2016

local.ERROR: exception Error moving Laravel project from Windows to Linux

I need help to move an existing Angular/Laravel 5.1 project in wamp to Linux (SUSE). I removed vendor and run composer install, it runs ok but now I face this error:

    local.ERROR: exception 'ErrorException' with message 'file_put_contents(C:\wamp\www\genube_panel\genube\front\storage\framework/sessions/3f0850d61483f6b647b128a1ca19b8096bee0003): failed to open stream: No such file or directory' in /srv/www/genube/frontoffice/padres/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:81
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_put_conten...', '/srv/www/genube...', 81, Array)
#1 /srv/www/genube/frontoffice/padres/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(81): file_put_contents('C:\\wamp\\www\\gen...', 'a:3:{s:6:"_toke...', 2)
#2 /srv/www/genube/frontoffice/padres/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(71): Illuminate\Filesystem\Filesystem->put('C:\\wamp\\www\\gen...', 'a:3:{s:6:"_toke...', true)
#3 /srv/www/genube/frontoffice/padres/vendor/laravel/framework/src/Illuminate/Session/Store.php(262): Illuminate\Session\FileSessionHandler->write('3f0850d61483f6b...', 'a:3:{s:6:"_toke...')
#4 /srv/www/genube/frontoffice/padres/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(88): Illuminate\Session\Store->save()
#5 /srv/www/genube/frontoffice/padres/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\Session\Middleware\StartSession->terminate(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response))
#6 /srv/www/genube/frontoffice/padres/public/index.php(58): Illuminate\Foundation\Http\Kernel->terminate(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response))
#7 {main}

I also tried cache:clear, route:cache, run composer dump-autoload, chmod 777 in all folders. Any ideas? May be something related to sessions, cache or .htaccess?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire