Ucenter adding new apps

Source: Internet
Author: User

Recently, there's a project on hand that needs to be ucenter with Discuz and uchome, using synchronous login, registration, and using the same user data.

Never used Ucenter, first contact, read the official website of the tutorial feel not difficult. So started, downloaded the discuz! 7.2_full, installation, no difficulty. Then downloaded the Ucenter

Home 2.0 is also installed, in the Ucenter added Ucenter Home, using the URL installation, communication success, very simple to achieve synchronization. Next, add your own app to Ucenter, press

Follow the tutorial using a custom installation to discover that communication failed.

Because it is the first time to use Ucenter, do not understand where the problem is, so the world search for relevant data, countless trials have not found the reason. Helpless under the official website to turn documents, finally find the answer. The original is not online no answer, but I made a mistake too small white ...

Now summarize ucenter Add new app Small white tutorial as follows:

1, determine the new app you want to add the root directory has the Uc_client folder and the client.php, without the words directly to the Discuz or Uchome root directory under the copy past

2. Make sure you have config.inc.php in the new app root you want to add, and make sure that the configuration parameters match the parameters that are automatically generated after you add the new app, or copy the auto-generated part directly.

3, determine the new app you want to add the root directory has api/uc.php, not the same to copy a

4. Check whether the file path in the api/uc.php file is correct, whether include or require

After the above steps are basically no problem, and then the problem is not a small white problem.

The lesson of blood, write this article to remember ~

Ucenter adding new apps

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.