I have view file, I make some changes in there but I don't look changes in browser.
I put next command (it doesn't help me):
php artisan cache:clear
php artisan view:clear
php artisan route:clear
How to fix this problem?
In my case I just rename file and it's help me. For example,
edit.blade.php->editt.blade.php->edit.blade.php
After that I can do any edits and it's work. But I don't understand why it happens.
Related
enter image description here
so when i open my laravel i get this error: Symfony\Component\Routing\Exception\RouteNotFoundException
Route [games.mines] not defined. (View: C:\private\gamble\resources\views\games\mines.blade.php)
but when i remove the line: mines. my page will load in.
and im completely lost in how to fix this.
basically i just want to add a header with a button to my mines. the button to dashboard works fine
The standard procedure to clear the Laravel cache is:
php artisan cache:clear
php artisan view:clear
php artisan route:cache
php artisan config:cache
php artisan optimize
This is according to the following article: https://beyondco.de/blog/laravel-caches-and-all-ways-to-clear-them
You can try typing these instructions from the command terminal:
php artisan cache:clear
php artisan view:clear
php artisan route:cache
php artisan config:cache
php artisan optimize
You may have a problem with the Laravel cache, these commands will clear the Laravel cache.
I was trying to upload this instance on Amazon elasticBeanstalk, but it doesn't seem to work.
I have tried using ssh to access the files to no avail.
i did php artisan config:cache and composer dump-autoload before uploading.
Any help is appreciated.
Go to directory laravel/bootstrap/cache and delete config.php file.
Open terminal in your project directory and run this cmd:
php artisan config:clear
How did I solve this issue? After running those commands and not getting the solution.
composer dump-autoload
composer install
php artisan cache:clear
php artisan config:clear
php artisan optimize
php artisan clear-compiled
The issue was simple. In my case under storage/framework there is sessions folder is missing so I created the directory and run the command again. And issue solved.
**Note: In some cases if your run php artisan cache:clear and php artisan config:clear. Your issue will be solved.
Hope this thread will solve your issue.
Happy Coding :)
Can try using php artisan optimize. This will clear everything that cache your projects.
Let me know if this help you guys. Thanks!
run php artisan vendor:publish
Asking Which provider or tag's files would you like to publish?:
Type 0
Then run php artisan serve
This command work in my case: php artisan config: clear
It worked for me when i changed all paths in C:\xampp\htdocs...\bootstrap\cache\config.php
So, I'm trying to use Intervention Image with the Imagick driver.
I've done php artisan vendor:publish, and selected Intervention, and now config/image.php exists. I've changed 'driver' => 'gd' to 'driver' => 'imagick', but nothing at all happens.
I then tried php artisan config:cache, same thing.
Then composer dump-autoload, then php artisan cache:clear and any other combinations of the above.
I can put literally anything in this file, fill the array with invalid syntax, junk etc, and it's completely ignored.
Is there something I'm missing? I've tried everything I'm aware of.
Please delete cache folder from bootstrap folder and create new empty cache folder in bootstrap folder after run below command
php artisan config:cache
php artisan cache:clear
Please try with:
php artisan config:clear
The config:clear command is used to remove the configuration cache file created by the config:cache command. By default this command will delete the bootstrap/cache/config.php file.
My Laravel project randomly shows connection refused exception, but it was working before, so I type
php artisan config:cache
and the error disappear, but after that, it throws View not found exception I ran
php artisan config:cache
again without success. After that, I type
php artisan route:cache
php artisan route:clear
php artisan clear-compiled
composer dump-autoload
but the exception View not found still there, so I don`t know what else to do.
I use vagrant with Homestead 7.
NOTE: Yesterday I migrate my installation to a fresh one because the same problem, but today it appears again.
well, after many attempts i ran
php artisan cache:clear
and the problem is now gone.
I'm working in my master branch on my computer locally. I've updated some HTML and I'm loading the page up in localhost. However, the HTML is not being updated but my CSS is, what do I do? I haven't had this problem before!
Try
php atrisan config:cache
on your terminal. May be the page serving from cache that's why not reflecting the changes.
Try to execute this commands to remove the caches:
php artisan clear-compiled
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
composer dump-autoload
php artisan optimize