After ecshop Enable gzip, the background can not open the problem can not be accessed

Upload test of time, the site displays can not be opened. Then I open the root directory of a Web site robots files, images, static pages ??? all you can normally open ???

 

I embarrassed ??? check the individual I suspect is not the customer had set up gzip compression problem. But even the background can not get into.

 

Then I'll find gzip determine whether to open the statement, and then not determine the source in which, at least you can into the background first.

 

Find admin / includes / init.php

 

Pulled the bottom, the

 

1
2
3
4
5
6
7
8
if (gzip_enabled())
{
     ob_start( 'ob_gzhandler' );
}
else
{
     ob_start();
}

 

Comment out or deleted. Upload coverage.

 

This time it can turn on background of the ecshop. After entering the background, the store set up basic settings --- --- close to gzip.

 

Init.php restore the files, uploading coverage.

 

ok, this time normal can be visited.

http://www.nothomme.cn/
http://www.lifeinjoy.cn

Guess you like

Origin www.cnblogs.com/zjw2004112/p/11426764.html