php - when ever i want to route to my site i get sessions table not found -
i'm working on laravel , have problem when try migrate table brings old error saying there exist table migrated months go. , when want create session table hold user sessions won't migrate , have problem routing.
it says:
pdoexception thrown when trying read session data: sqlstate[42s02]: base table or view not found: 1146 table 'euael.sessions' doesn't exist
and when want migrate session table error:
php fatal error: cannot redeclare class addownertotvshow in /var/www/app/database/migrations/2014_05_05_090225_add_owner_to_tvshow.php on line 34 error in exception handler: stream or file "/var/www/app/storage/logs/laravel.log" not opened: failed open stream: permission denied in /var/www/vendor/monolog/monolog/src/monolog/handler/streamhandler.php:70error in exception handler: stream or file "/var/www/app/storage/logs/laravel.log" not opened: failed open stream: permission denied in /var/www/vendor/monolog/monolog/src/monolog/handler/streamhandler.php:70
breaking down based on error messages!
cannot redeclare class
use include_once
class files
or
check if class exists before adding class file
if (!class_exists('addownertotvshow')) { include 'addownertotvshow.php'; }
the stream or file "/var/www/app/storage/logs/laravel.log" not opened: failed open stream: permission denied
make sure
files
set644
, ,directories
755
on server
Comments
Post a Comment