| 2 | |
| 3 | '''Q''': '''''I need to transfer my site to another folder/server. What do I need to do?''''' |
| 4 | |
| 5 | '''A''': 1) First of all, you need to back up your folders and files and your database tables. It usually results in creation of two archives (.tgz or .zip) which you will have to unpack on your new server/folder; besides, the database tables will have to be imported in your new database. |
| 6 | |
| 7 | 2) Dolphin 6 has several files which must be changed after transferring to another folder or server: |
| 8 | |
| 9 | * inc/header.inc.php |
| 10 | change the values of the following variables according to your current settings: |
| 11 | |
| 12 | ''{{{$site['url']}}}'' and ''{{{$dir['root']}}}'' |
| 13 | |
| 14 | and all the elements of ''{{{$db}}}'' array (it's not usually needed if you just move your site to another folder on the same server) |
| 15 | |
| 16 | * ''cmd.php'', ''notifies.php'', ''tags.php'' files in ''periodic'' folder. All of them have lines as follows: |
| 17 | {{{ |
| 18 | require_once( '[path_to]/inc/header.inc.php' ); |
| 19 | }}} |
| 20 | |
| 21 | where ''[path_to]'' must be changed according to the current path to Dolphin folder |
| 22 | |
| 23 | * ''ray/modules/global/inc/header.inc.php'' |
| 24 | |
| 25 | edit the line |
| 26 | {{{ |
| 27 | include("[path_to]/inc/header.inc.php"); |
| 28 | }}} |
| 29 | the same way as described above |
| 30 | |
| 31 | * ''ray/modules/global/js/integration.js'' |
| 32 | |
| 33 | change the value of the variable ''sRayUrl'' according to your current URL. |
| 34 | |
| 35 | ---- |