How to move the Apache Environment's Discuz 2.5 to the server without backup

Source: Internet
Author: User
Keywords Discuz apache

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Believe that a lot of new owners will be installed on their own computer Apache simulation PHP environment build station, so that will understand the station will meet what problems, and constantly optimize their own site. But how about uploading to the server when you're satisfied with your site?

Today's small series on how to move the Apache environment of Discuz 2.5 to the server without backup

Small knitting will also organize some common problems after moving

  

Small series already installed in their own computer Apache Php+mysql environment, also installed Discuz 2.5, 127.0.0.1 loopback address running, so the site belongs to the intranet can not connect.

  

Without backup, upload the entire site directory directly to FTP.

There are a few common problems with opening a site

Error code 1045 cannot connect to the database

  

Workaround

Modify the DZX configuration file based on the information given by the server vendor

\config\config_global.php

\config\config_ucenter.php

\uc_server\data\config.inc.php

  

And the site after the relocation of UC communication anomalies

  

Several problems occurred in UC communication anomalies

1, the landing hint password is incorrect or not responding;

2, the avatar can not upload;

3, registration prompts the user name is less than 3;

4, after registration Ucenter no users;

5, the application can not be synchronized landing and exit;

6, UC inside prompts communication failure

7, the Avatar does not show

8. Short Message exception

9, Login backstage-click Ucenter display 404 or other error.

The solutions are:

Around 5 points ucenter--Application Management--details backstage--stationmaster--ucenter set config_ucenter.phpconfig.inc.php

1, ucenter Application ID fixed ucenter application ID must be with the former define (' Uc_appid ', ' must and before the same ');d efine (' uc_appid ', ' must be with the former ")

2, URL application of the main URL that forum address Ucenter Access address define (' Uc_api ', ' http://www.******.com/uc_server ') No

3, Ucenter communications key 4 consistent 4 place consistent define (' Uc_key ', ' 4 consistent ');d efine (' Uc_key ', ' 4 consistent ');

4, ucenter IP Address server IP server ipdefine (' uc_ip ', ' server IP ');

5, ucenter table prefix without UC database table prefix define (' Uc_dbtablepre ', ' dx25 '. Pre_ucenter_ '); UC database table prefix define (' Uc_dbtablepre ', ' pre_ucenter_ '); UC database table Prefix

Complete the steps above and move the site.

This article by www.goocw.com Editor reprint need to indicate

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.