Francisco Contreras
Francisco Contreras
FFilament
Created by Francisco Contreras on 8/9/2023 in #❓┊help
Css and Js not loading: ERR_INVALID_HTTP_RESPONSE
I figured it out thanks to this post https://stackoverflow.com/questions/59443178/php-artisan-serve-throws-errors-when-zlib-activated The problem is not with filament but with a combination of 'php artisan serve', loading assets from 'public', and the zlib output compression being active. I have no idea how or why this happens, but disabling it in your php.ini works: changing 'zlib.output_compression=On' for 'zlib.output_compression=Off'. Remember to restart the 'php artisan serve' command afterward. I'm using Xampp on Windows btw. I'm assuming this is a non-issue in a production server.
5 replies