Am having the same problem. No matter how much i edit my views they just will not change. Even when I delete all the code, it keeps displaying the previous coding.
Am trying to make a La-ravel and J Query mobile app
Please help
i have the same, i "solved" deleting the app/storage/views but i dont know if is a good solution, so let me know if you solve it form another way please. Thanks
jlcanizales said:
i have the same, i "solved" deleting the app/storage/views but i dont know if is a good solution, so let me know if you solve it form another way please. Thanks
This is a Laravel caching directory. Delete the contents and you should see the changes.
What about:
php artisan cache:clear
?
this works: php artisan view:clear
I had this problem during development. My development server was running on a VM and the clock on the VM was off. Setting the clock to the correct time fixed the issue for me.
OK I had this problem today and couldnt see the changes to my blade after pushing them to my DO host.
I did the usual artisan commands to clear out the cache and view etc.
I found a link on laradock github about it: https://github.com/laradock/laradock/issues/355
extension=opcache.so
opcache.enable="1"
opcache.memory_consumption="256"
opcache.use_cwd="0"
opcache.fast_shutdown="1"
opcache.max_file_size="0"
opcache.validate_timestamps="1" // Modify 0 to 1
opcache.revalidate_freq="0" // Add this line
these lines were in my php.ini file, not my opcache.ini file as I first presumed.
I am not sure why this is the case, but it may be due to UTC time and cache validation at work. Being GMT +8 I am in the future, not the past according to the time on the host. I am not sure that is a valid argument.
It did solve my problem, but I wouldnt mind knowing more about it.
@superwebdeveloper We were running into intermittent issues with newer config (not .env) settings not displaying, methods not being found intermittently, etc. We cleared all of the artisan caches, etc, no use. We had just upgraded to php7, and apparently our opcode cache was bonked. Disabling opcaching fixed an issue we had been fighting with for weeks. Thank you SO much for pointing us in the right direction.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community