psybox Posted March 25, 2014 Report Posted March 25, 2014 hi We are considering merging a whmcs and a hostbill install into a single blesta (multi company) install. What would be the best way to do this ? Are there importers that we can use? thanks Quote
0 Michael Posted March 25, 2014 Report Posted March 25, 2014 not a import to import to one company yet, there's one being done soon by Eric for myself which will be allowed for everyone... you can however import to each company (1 company for WHM**, 1 company for Hostbill). The Importer for Hostbill hasn't been done yet, I think they need a SQL file or something to help them. Quote
0 psybox Posted March 25, 2014 Author Report Posted March 25, 2014 I'm actually experimenting with the whmcs import for hostbill. Maybe i can then merge both companies and then import to blesta form the one install (or into two companies from whmcs). However one big drawback I have noticed is that no domains are imported into blesta from whmcs?? One install has around 250 domains and I really don't want to have to do that manually?? Quote
0 Michael Posted March 25, 2014 Report Posted March 25, 2014 I'm actually experimenting with the whmcs import for hostbill. Maybe i can then merge both companies and then import to blesta form the one install (or into two companies from whmcs). However one big drawback I have noticed is that no domains are imported into blesta from whmcs?? One install has around 250 domains and I really don't want to have to do that manually?? They should import however it depends what registrar they are with, the only ones supported is a Logicboxes registrar (ResellerClub, NetEarthOne & ResellBiz) or Namecheap or Enom. Otherwise I think they will just assign to the Universal module, but I don't have experience with importing domains with their new importer. I just re-did the ones customers used myself. Quote
0 Paul Posted March 26, 2014 Report Posted March 26, 2014 If you can get HB into WHM** and then import to Blesta, that would be the best way to go since we don't have an importer for HB yet. Regarding the missing domains, did you get any errors during import? You might try debugging by making a couple changes to the code.. Try the following to enable debugging during import. Then attempt to import again from a fresh database. Open /config/blesta.php and change (line 11): Configure::errorReporting(0); to Configure::errorReporting(-1); Then open /plugins/import_managers/components/migrators/blesta/2.5/blesta2_5.php and change (lines 199-201): //echo $e->getMessage(); //echo $e->getTraceAsString(); //continue; to: echo $e->getMessage(); echo $e->getTraceAsString(); die; And then let us know if you get any errors. There may be something that's hanging these up from being imported that's different than anything we've encountered yet. Quote
0 psybox Posted March 26, 2014 Author Report Posted March 26, 2014 hiya - there are no errors , still no domains - should the output not show domains imported?? importStaff-----------------importStaff took: 0.2604 seconds-----------------importClients-----------------importClients took: 11.1381 seconds-----------------importContacts-----------------importContacts took: 0.0512 seconds-----------------importTaxes-----------------importTaxes took: 0.0042 seconds-----------------importCurrencies-----------------importCurrencies took: 0.0145 seconds-----------------importInvoices-----------------importInvoices took: 10.7239 seconds-----------------importTransactions-----------------importTransactions took: 25.2171 seconds-----------------importPackages-----------------importPackages took: 0.7417 seconds-----------------importServices-----------------importServices took: 2.1685 seconds-----------------importSupportDepartments-----------------importSupportDepartments took: 0.0246 seconds-----------------importSupportTickets-----------------importSupportTickets took: 0.5077 seconds-----------------importMisc-----------------mail log took: 13.7906 secondssettings took: 0.0585 secondscalendar events took: 0.0005 secondsimportMisc took: 14.2204 seconds-----------------decrypted 321 values using WHMCS' custom algorithmdecrypt took: 0.0199 secondstotal time took: 65.0753 seconds Quote
0 Michael Posted March 26, 2014 Report Posted March 26, 2014 You need to edit the whmcs/5.2 files /plugins/import_managers/components/migrators/whmcs/5.2/whmcs5_2.php Quote
0 psybox Posted March 26, 2014 Author Report Posted March 26, 2014 I had already edited and uploaded the changes requested ... Quote
0 psybox Posted March 26, 2014 Author Report Posted March 26, 2014 actually paul had asked to change the blesta and not the whmcs file?? which one should it have been? Quote
0 Michael Posted March 26, 2014 Report Posted March 26, 2014 actually paul had asked to change the blesta and not the whmcs file?? which one should it have been? You're using the WHM** importer? If you are you need to edit the whm** importer files Quote
0 psybox Posted March 27, 2014 Author Report Posted March 27, 2014 I did wonder! I will give that a whirl shortly and feedback Quote
0 psybox Posted March 27, 2014 Author Report Posted March 27, 2014 hi Cubic - the whmcs file does not have that code in to change?? Quote
0 Michael Posted March 27, 2014 Report Posted March 27, 2014 hi Cubic - the whmcs file does not have that code in to change?? I've not tried this but you can try this if you wish before Tyson, Cody and Paul come on who can help much better. In that file you need to change lines 1994 Add echo $e->getMessage(); echo $e->getTraceAsString(); die; Quote
0 psybox Posted March 28, 2014 Author Report Posted March 28, 2014 I think I will need to wait for Paul to reply - my file only has 198 lines in it - not nearly 2000 ?? I tried this on the whmcs_migrator.php file and it error ed when I tried to access the importer. Quote
0 Paul Posted March 28, 2014 Report Posted March 28, 2014 Yeah sorry, I copy/pasted the debug information for the Blesta 2.5 import file. For the WHM** 5.2 importer, there is a debug check box that you can select to put it into debug mode, no code changes necessary. Have you tried that? Quote
0 psybox Posted March 28, 2014 Author Report Posted March 28, 2014 yes - the output for that was above, I used the debug checkbox each time. It just doesnt look like it is even looking at domains . Quote
0 Paul Posted March 28, 2014 Report Posted March 28, 2014 yes - the output for that was above, I used the debug checkbox each time. It just doesnt look like it is even looking at domains . Are you running 5.2 or 5.3? If 5.3, I wonder if something changed and our importer is no longer able to find the domains. Quote
0 psybox Posted March 28, 2014 Author Report Posted March 28, 2014 that install is 5.2.15 thanks Quote
Question
psybox
hi
We are considering merging a whmcs and a hostbill install into a single blesta (multi company) install. What would be the best way to do this ? Are there importers that we can use?
thanks
17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.