dream weaving dede notes

Transfer project to another server

method:

https://www.genban.org/news/dedecms-13096.html

In practice, I go with the second approach

method one:

1   Background > System > Backup Database 

2   Download " all (emphasis is on all: including the entire site program and backup data) " the original site data , the entire site

3   Upload all the downloaded data to the new space 

4   Delete install_lock.txt in the install directory (it will be automatically generated after the installation program is finished) 

5   and rename index.php.bak  under install to index.php

6   Visit the domain name, the installation interface will appear 

7   Reinstall (equivalent to a new install ... )

8   Enter the background > system > database restore data > restore data

9 Modify the data file to be writable, and also modify the templets template file to be writable ! ( At present , if dede5.7 does not modify the database configuration file to read-only, the background will prompt, for convenience and safety, the data directory is also changed. Modify the common.inc.php below to be writable !)
10 This step is also the most important step. Be sure to modify the column file to be writable. For example, if your column is under the a file, then modify the a file to be writable. , if it is not under the a folder, then please find the column file and modify it to be writable.
Finally, update the whole station and it 's OK !

11 Update all with one click

12 Update cache > All programs are here

===================================================== ===================================

Method 2:

 

PHPMYADMIN method.  

 

1. Download the files in the old space to the local, and back up MYSQL to the local through PHPADMIN ;  

2. Upload the website files to the new space, and the database is imported through PHPADMIN ;  

3. Modify the database name and password filled in during dede installation: /data/common.inc.php in the directory, download this file  

    Find "database connection information", change the following parameters (database name and password), and upload the overlay.  

Fourth, the move is completed.

  

 

Database configuration address:

/data/common.inc.php

 

The second problem encountered after leaving

1. Log in to the backstage of Dreamweaving, the verification code cannot be displayed

The solution is to uninstall the previous php5.6 and reinstall php7

2. The directories such as the core of the backstage of the login dream weaving are not displayed, and the DedeTag Engine Create File False prompt appears in some sections

Help document: https://blog.csdn.net/yxwmzouzou/article/details/17487035

Give the highest authority 777 to the index.html file and the data folder in the directory, and the data folder is recursively assigned 777 to solve

3. Deploy the dream weaving process under linux 

First configure the lamp environment

Then upload the dede project to the specified directory on the server (the transplanted dede does not need to be installed and tested)

The dede uploaded for the first time needs to be installed (I didn't test it)

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324845690&siteId=291194637