Failed ucenter communication and Discuz avatar cannot be displayed

Source: Internet
Author: User
: 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.

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.