Bila di development anda menggunakan server bawaan PHP, ada masalah cache yang mungkin anda temui sewaktu development, terutama di perubahan file di folder config
.
Walau perintah dibawah ini dieksekusi berkali-kali
php artisan route:clear;php artisan view:clear;php artisan config:clear;php artisan cache:clear;
hasilnya tetap sama.
Salah satu contoh kasus error :
Error executing “PutObject” on “https://clipboard-icon.png”; AWS HTTP error: Client error: `PUT clipboard-icon.png` resulted in a `400 Bad Request` response: The authorization header (truncated…) AuthorizationHeaderMalformed (client): The authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘ap-southeast-1’ – The authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘ap-southeast-1’ ap-southeast-1 1D4B2EA9DB4FA621 9wond+erS2qJ5+U3xvlKuNEXgvRC3dTOTk3SAUcCJTp/P+wvWfxFcz/vy15gfxBhuSDSL98kRgo=
AuthorizationHeaderMalformed
AuthorizationHeaderMalformed
satu-satu solusinya adalah menghentikan php artisan serve
, dan menjalankan ulang php artisan serve
.
If you are looking for PHP hosting, please check out hostadvice.com/php-hosting.