: This article mainly introduces the failure of ucenter communication and the inability to display Discuz portraits. For more information about PHP tutorials, see. If it is a small image style of the Discuz forum, you only need to upgrade the Forum of the Discuz forum or directly replace the first domain name of the css of the entire site, such as 127.0.0.1: 8080 /.. all things starting with 127.0.0.1: 8081 /..
In fact, Discuz's profile picture cannot be displayed except for the loss of the profile picture itself. one possible reason is that Discuz fails to communicate with the ucenter. As a result, the ucenter cannot manage Discuz user information.
If your ucenter is not installed elsewhere,
First, enter http: // 127.0.0.1: 8081/discuz/uc_server/and enter the background with the founder's password. http: // 127.0.0.1: 8081/discuz/is my domain name + project name
Go to application management and find Discuz! If the communication fails, edit it.
Open conf/config_ucenter.php in the Discuz Directory, check whether the application master URL in the UCenter is correct, and fill in the Discuz IP address in the application IP address. For example, the key check shows whether the communication key in the UCenter matches the UC_KEY in row 15th of conf/config_ucenter.php. if not, copy the UC_KEY of row 15th of conf/config_ucenter.php to the user management center of the UCenter and save and exit.
At the same time, for example, go back to the Forum http: // 127.0.0.1: 8081/discuz, log on with the super administrator account, go directly to the tool under the management panel of the background-> update cache, OK, exit, update the webpage. everything is normal.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
The above section describes the failure of ucenter communication and the inability to display Discuz's profile pictures, including some content. I hope my friends who are interested in PHP tutorials will be helpful.