我的网站在本地主机localhost
上运行没有任何错误;但是当我将我的网站添加到CPpanel
中并运行members.php
页面时,页面消失了(只显示白色背景)。
在控制台中检查该页面会显示这个错误信息:
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
检查元素只显示以下行:
<div style="clear:both;"></div>
</div>
</div>
</body>
</html>