CNCat 4.2 User Manual
Importing
This section (Settings - Import) is intended for importing the web directory data from XML file or from database:
As a rule, import procedure is performed before a version update. For more information, see paragraph Upgrading CNCat 3.1, 2.1, 2.0, 1.4.
You can import from CNCat 4õ either using old database or XML file:

Importing from CNCat 4.x
You should select the required file for importing from the list of files on the server (if there are any), or specify the file, stored locally on the computer (depending on the chosen location during export procedure). If you import from the database, you should specify the name of the database, you are importing from, and the tables prefix. This information is stored in the file ‘config.php’.
Note 1. Importing is impossible without exporting data preliminary (see paragraph Exporting).
You can import data from previous version of CNCat 3.x, 2.x, 1.õ. To perform it, you should use the option Import from CNCat 3.x, 2.x, 1.õ:

Importing from CNCat 3.x, 2.x, 1.õ
You should specify the import parameters in this form:
- preliminary deletion of the web directory contents;
- rewrite or omit the link with the same ID;
- files with data on categories and links.
To start importing, click the Import button. For more information on importing from XML file, see paragraph Importing Data from XML.
To import data from database of the previous versions, select Importing from CNCat 3.x, 2.x, 1.õ - Import from Database (see Data Importing figure):

Importing from DB of Previous Versions
The process of design importing is described in detail in paragraph Importing Design of the given manual.
