Jump to content

Question

Posted

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

  • 0
Posted

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.

  • 0
Posted

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?? 

  • 0
Posted

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.

  • 0
Posted

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.
  • 0
Posted

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 seconds
settings took: 0.0585 seconds
calendar events took: 0.0005 seconds
importMisc took: 14.2204 seconds
-----------------

decrypted 321 values using WHMCS' custom algorithm
decrypt took: 0.0199 seconds
total time took: 65.0753 seconds

  • 0
Posted

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 :)

  • 0
Posted

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;
  • 0
Posted

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.

  • 0
Posted

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?

  • 0
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...