mardi 29 octobre 2019

Laravel SESSION DRIVER file and database

I always encounter this error in my laravel apps.It seems like my app is looking for SESSION table. But my session driver is file.

Error Code : 942 Error Message : ORA-00942: table or view does not exist Position : 29 Statement : select * from (select * from "SESSIONS" where "ID" = :p0) where rownum = 1 Bindings : [ 6FIQK2ZudGtfcRksXb0E9lIJtcq3OcNIsjSWNAU1] (SQL: select * from (select * from "SESSIONS" where "ID" = 6FIQK2ZudGtfcRksXb0E9lIJtcq3OcNIsjSWNAU1) where rownum = 1)

This is the .env configuration

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

Same with the session.php

'driver' => env('SESSION_DRIVER', 'file'),

How to remove this error. Which php file should i edit.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire