mercredi 28 septembre 2016

Since Laravel 5.3 update, my views are not refreshed properly when I update data in my DB

A really strange issue here. I had a Laravel 5.2 application which work perfectly. Then I update to Laravel 5.3 to use the new broadcasting features and I face a big issue.

When I update the data (with my application forms or directly in my database) the views are note updated properly. I try to clear cache, views and config but nothing change... I need to go to some others pages and the data finish by appear...

I have a Campaign model and a page which list campaigns. When I remove an entry directly in the database, the list doesn't change in front. Also when I use debugging functions like dd results tell me that data haven't changed...

Is there someone else which faced the same problem ?

I've followed the migration guide to update my 5.2 to 5.3, maybe I forgot something...

Here a piece of my .env file :

DB_CONNECTION=mysql
BROADCAST_DRIVER=redis
CACHE_DRIVER=array
SESSION_DRIVER=file
QUEUE_DRIVER=database

Thanks !



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2dquuM8
via IFTTT

Aucun commentaire:

Enregistrer un commentaire