When ecshop is opened for the first time, the page is blank. Refresh.

Source: Internet
Author: User
Tags http 200 php error log
Server: nginx1.9php7ecshop is applicable to php7. when chrome, uc, and Edge browsers open the website for the first time, a blank screen is displayed. Refresh to display the content. Other links on the website are displayed normally. In stealth mode, the first Test is displayed blank. The Blank page shows ht...

Server: nginx 1.9
Php7
Ecshop is compatible with php7. when the chrome, uc, and Edge browsers open the website for the first time, a blank area is displayed. Refresh to display the content. Other links on the website are displayed normally. In stealth mode, the first Test is displayed blank.

Http 200 is displayed on the blank page.
This is not the case for background links.
It is tested that this problem does not occur on other websites on the server.
URL: http://www.sufushi.com/

For more information, see.

Pm back to the local test, the situation is similar and somewhat different.
Chrome prompts "err_content_decoding_failed", and then the normal content is automatically refreshed.
This prompt is not related to gzip. Disable gzip.


Resolved. After careful comparison, the file is modified. It was found that the ECSHOP ip database (pure ip database) and the city location function addition operation were upgraded.
I don't know the details, but I have modified them. The test is normal.
Thank you for your answers!

Reply content:

Server: nginx 1.9
Php7
Ecshop is compatible with php7. when the chrome, uc, and Edge browsers open the website for the first time, a blank area is displayed. Refresh to display the content. Other links on the website are displayed normally. In stealth mode, the first Test is displayed blank.

Http 200 is displayed on the blank page.
This is not the case for background links.
It is tested that this problem does not occur on other websites on the server.
URL: http://www.sufushi.com/

For more information, see.

Pm back to the local test, the situation is similar and somewhat different.
Chrome prompts "err_content_decoding_failed", and then the normal content is automatically refreshed.
This prompt is not related to gzip. Disable gzip.


Resolved. After careful comparison, the file is modified. It was found that the ECSHOP ip database (pure ip database) and the city location function addition operation were upgraded.
I don't know the details, but I have modified them. The test is normal.
Thank you for your answers!


The ECS_ID in the cookie has a problem and needs to exist before the content can be displayed. The first access does not exist, so there is no content, and then the cookie is written. The second access is available, and the content is displayed.
Check the role of ECS_ID

It may be because you need to set the cookie or session. then, if you have not set the cookie for the first time, you can read somewhere. I tried to clear the cookie of the browser and a blank page will appear.
As for the blank page, php reports an error when reading the session or cookie, causing the script to stop, and your online php error is certainly not displayed.
We recommend that you check the php error log on the server.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.