How to solve the problem that phpcms can't load the style sheet
Today, I will talk to you about how to solve the problem that phpcms can not load stylesheets. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Phpcms can not load the stylesheet solution: first open the corresponding PHP script file; then change the new password in the code, and change the user name of the background management to admin; finally upload "fan.php" to the root directory of the site with binary method.
The problem that the css style cannot be loaded after the domain name of the website of the phpcms program is changed.
The company's website is built in phpcms2008. Later, the company asked to change the domain name, changing the original domain name www.it165.net to ebooks.it165.net. You only need to change the header in the host header of nginx. After restarting nginx, it is found that the css style cannot be loaded for website ebooks.it165.net access:
It has been entangled for a long time. When I see on the Internet that the website built by phpcms changes the domain name of the server, it also needs to update the domain name in the background in order to work properly. At first, the problem arises again. I don't know the password of the backend of the website. Later, I found a script on the Internet and put it in the root directory of the website. The script is as follows: