Jun 21, 2022
31
Level 5
blade file does not refresh
When I upload a blade file to the live server with the FTP, it's not updated.
I've tried:
composer update
composer dumpautoload
I've tried:
php artisan cache:clear
php artisan config:clear
php artisan view:clear
php artisan route:cache
If you use PhpStorm, uncheck Preserve files timestamps deployment option:
I've deleted the cached views in storage/framework/views.
I've cleared all browsing data from chrome. I've tried incognito on Chrome.
I've deleted and uploaded the file again.
I've tried: 3 differents ftp.
Level 5
Changing the route from :
Route::get('/dl2', function () {
return view('dl2');
});
to:
Route::get('/dl7', function () {
return view('dl2');
});
and changing in the controller:
return redirect('/dl2');
to
return redirect('/dl7');
solved the problem.
1 like
Please or to participate in this conversation.