This feature is added in vesion 1.0.9 and wont work on versions before 1.0.9.
Always backup your files and database before doing anything!
- Copy Perfex files to new location.
- Export Perfex database (from phpmyadmin).
- In new location, go to application/config/config.php
- In config.php, change base URL to new URL.
- In new location, go to application/config/database.php
- In database.php, make sure database name, user and password are correct for new location.
- Import the database (.sql) file from phpmyadmin into your new database.
Follow this steps only if you are migrating to another domain the following steps are to replace any old url used in the database
After you finish these steps go to application/config/migration.php and
1 |
$config['migration_enabled'] = false; |
TO
1 |
$config['migration_enabled'] = true; |
After you enable the migration you need to replace any links contained in the CRM with your old base url.
Go to https://yournewbaseurl.com/migration/make?old_base_url=https://myoldbaseurl.com/
Replace https://myoldbaseurl.com/ to your old base url where Perfex CRM was installed. (the same like it was in application/config.php)
Total links replaced will be shown after success check. If is new installation and dont have a lot data dont get confused if total replaced links shown zero.
Dont forget to turn back migration_enabled to false
That is all that needs to be done. If files copied correctly, database was imported correctly and files were modified/checked correctly, Perfex will now function on the new URL.