• Products
  • Demos
  • Learn
  •  
View WEBSITE demos
MOBILE APPS
Dating Pro Hybrid
Dating Pro Native
QuickDate
Dating Pro

*Just open the live demo site  https://soulcompanion.net in any browser on your mobile phone.

Products
Dating Software
100% ready dating site
Mobile Dating
Ready mobile dating apps with site
Dating Pro Advanced
Will earn you 3 times more than any other dating software
Adult dating
Adult-oriented web service
Matchmaking
Everything you need to start a business in matchmaking
Dating Pro Experts
We manage everything related to Dating Pro.

Updating from Dating Pro Amore to Dating Pro Cupid

This is an instruction on how to update the Dating Pro Amore version to the Dating Pro Cupid version using the automated upgrade script.

1. First of all, back up all site files and the site database.

2. Contact Customer Service team in chat or by email sales@pilotgroup.net, and they will generate your personal download link to download the upgrade script.

3. Download the archive with the upgrade script and decompress it.

4. Connect to the server where your site files are kept. Upload the files and directories into the root directory of your site, overwriting the older files with the newer files when prompted.

5. Open .htaccess file and replace this line (line 7):

RewriteCond $1 !^(index\.php|application|temp|uploads|robots\.txt|sitemap\.xml|system/plugins|favicon\.ico|pginf\.php)

with the following line:

RewriteCond $1 !^(index\.php|application|m/|temp|uploads|robots\.txt|sitemap(\d*)\.xml|sitemap_index\.xml|system/plugins|favicon\.ico|pginf\.php)

6. Next, execute the following SQL queries in the site database. Make sure to use your own DB prefix instead of [prefix].

INSERT INTO `[prefix]modules_methods` VALUES(NULL, ‘install’, ‘admin_install’, ‘ajax_demo_content’, ‘1’);

INSERT INTO `[prefix]lang_dedicate_modules` VALUES(NULL, ”, ‘pg_seo’, ‘lang_dedicate_module_callback_add’, ‘lang_dedicate_module_callback_delete’, ‘2010-11-19 13:14:00’);

ALTER TABLE `[prefix]seo_settings` MODIFY `controller` enum(‘user’,’admin’,’custom’) NOT NULL;
ALTER TABLE `[prefix]seo_settings` MODIFY `url_template` varchar(255) NOT NULL;

ALTER TABLE `[prefix]seo_settings` DROP COLUMN `default_title`;
ALTER TABLE `[prefix]seo_settings` DROP COLUMN `default_description`;
ALTER TABLE `[prefix]seo_settings` DROP COLUMN `default_keyword`;
ALTER TABLE `[prefix]seo_settings` DROP COLUMN `default_header`;

ALTER TABLE `[prefix]seo_settings` ADD COLUMN `noindex` tinyint(3) NOT NULL;

For every site language version that you have installed on your site, execute the following SQL queries. Replace [lang_id] with the appropriate language version ID. You will find the language version IDs in table ‘[prefix]languages’. Do not forget to replace [prefix].

ALTER TABLE `[prefix]seo_settings` ADD COLUMN `meta_[lang_id]` text NULL;
ALTER TABLE `[prefix]seo_settings` ADD COLUMN `og_[lang_id]` text NULL;

Example:

ALTER TABLE `am_seo_settings` ADD COLUMN `meta_1` text NULL;
ALTER TABLE `am_seo_settings` ADD COLUMN `og_1` text NULL;

ALTER TABLE `am_seo_settings` ADD COLUMN `meta_2` text NULL;
ALTER TABLE `am_seo_settings` ADD COLUMN `og_2` text NULL;

7. Check table [prefix]themes for the presence of ‘mini_logo_*’ fields. If they are not present, execute the following SQL queries:

ALTER TABLE `[prefix]themes` ADD COLUMN `mini_logo_width` int(3) NOT NULL;
ALTER TABLE `[prefix]themes` ADD COLUMN `mini_logo_height` int(3) NOT NULL;
ALTER TABLE `[prefix]themes` ADD COLUMN `mini_logo_default` varchar(255) NOT NULL;

For every site language version that you have installed on your site, execute the following query:

ALTER TABLE `[prefix]themes` ADD COLUMN `mini_logo_[lang_id]` varchar(255) NOT NULL;

8. Check table [prefix]themes for the presence of ‘mobile_logo_*’ fields. If they are not present, execute the following SQL queries:

ALTER TABLE `[prefix]themes` ADD COLUMN `mobile_logo_width` int(3) NOT NULL;
ALTER TABLE `[prefix]themes` ADD COLUMN `mobile_logo_height` int(3) NOT NULL;
ALTER TABLE `[prefix]themes` ADD COLUMN `mobile_logo_default` varchar(255) NOT NULL;

For every site language version that you have installed on your site, execute the following query:

ALTER TABLE `[prefix]themes` ADD COLUMN `mobile_logo_[lang_id]` varchar(255) NOT NULL;

9. Check table [prefix]cnt_cache_countries and table [prefix]cnt_cache_regions for the presence of ‘lang_*’ fields. If they are not present, execute the following SQL queries:

ALTER TABLE `[prefix]cnt_cache_countries` ADD COLUMN `lang_[lang_id]` varchar(255) NOT NULL;
ALTER TABLE `[prefix]cnt_cache_regions` ADD COLUMN `lang_[lang_id]` varchar(255) NOT NULL;

Mind the [prefix] and [lang_id] info.

10. Now we are ready to start the actual update. Log in to the administration panel of your website. Go to ‘Modules installation’. You will be asked for additional login and password info that is kept in file application/config/install.php on your server, lines 4 and 5:

$config[“install_login”] = “xxx”;
$config[“install_password”] = “xxx”;

You will get to page /admin/install/modules. In the left-hand menu, select ‘Enable product updates’ (page /admin/install/product_updates) and click ‘Install’. The process will run automatically so you will only need to click ‘Finish’ when it ends a couple of minutes later.

11. It is possible that some settings have been overwritten or set back to default during the update, so please check the following as well:
-copyright info
-banner groups names
-colour scheme / design theme

Please feel free to contact us if you have any questions.

powered by Typeform
Products
Dating Software
100% ready dating site
Mobile Dating
Ready mobile dating apps with site
Dating Pro Advanced
Will earn you 3 times more than any other dating software
Adult dating
Adult-oriented web service
Matchmaking
Everything you need to start a business in matchmaking
Solutions
Buy and sell dating business
Start getting hundreds of daily registrations
Dating Pro Network
Populate your site with real people
Switch to admin mode