net::ERR_INCOMPLETE_CHUNKED_ENCODING in Chrome only

前端 未结 12 1356
甜味超标
甜味超标 2020-11-28 13:57

I\'ve been getting this error when loading certain pages:

net::ERR_INCOMPLETE_CHUNKED_ENCODING 

These pages don\'t do anything special and

12条回答
  •  粉色の甜心
    2020-11-28 14:45

    I had this in a symfony project (PHP).

    Like you describe your issue I had some static page (html.twig) with simple HTML and CSS... so nothing special about it.

    For me it was a mod_rewrite problem, after I enabled mod_rewrite and added FallbackResource /index.php to my vhost it all worked smoothly.

    PS: if you have apache lower than 2.2.16 create a .htaccess file in your root folder and use this code:

    Options -MultiViews

    RewriteEngine On
    #RewriteBase /path/to/app
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [QSA,L] 
    

提交回复
热议问题