Jump to content
  • 0

Whmcs Migrator - Failed


Question

Posted
Array(    [error] => Array        (            [0] => The import completed but the following errors ocurred:            [1] => importPackages: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'term' in 'field list' on line 124            [2] => importServices: There is already an active transaction on line 163            [3] => importSupportDepartments: There is already an active transaction on line 163            [4] => importSupportTickets: There is already an active transaction on line 163            [5] => importMisc: There is already an active transaction on line 163        ))

Blesta 3.1 beta

Help me.

post-9059-0-65159800-1388854090_thumb.pn

12 answers to this question

Recommended Posts

  • 0
Posted

Did you run the migrator twice?

 

You'll need to re-install Blesta before attempting another import. What we recommend is after installing 3.0, do a backup of your 3.0 database. Then, do the import. If for any reason you need to run the importer again, first restore your 3.0 database.

 

Importing to a clean database is the only supported import method.

  • 0
Posted

What version of WHMCS are you importing from?

 

They might have dropped a column depending on the version.  I am basing this on your error:

  [1] => importPackages: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'term' in 'field list' on line 124

Like others are suggesting is that if you are getting an "Already" exists type of error, this means there is a duplicate somewhere.  Also, remember that 3.1 is not ready for production so it may have issues. ;)   If you are wanting to run Production, you might want to drop down to 3.0.7 which is the most current release at the moment.

  • 0
Posted

Sounds like it could be an issue with an older version of the migrator. Did you use the migrator included in the 3.1.0-b1 installation, or the one downloaded from the forums?

You should use the one included with 3.1.0-b1.

  • 0
Posted

Here's the solution. In /plugins/import_manager/components/migrators/whmcs/whmcs_migrator.php change:

            if (version_compare(BLESTA_VERSION, "3.1.0", ">=")) {

To:

            if (version_compare(BLESTA_VERSION, "3.1.0-b1", ">=")) {

This fix will be included in 3.1.0 (CORE-969).

  • 0
Posted

 

 

can not import into blesta. "tbldomainpricing, tbldomains"

 

(Blesta 3.1-b2)

 

 

Your image doesn't work, and there's not much to go on from what you wrote.

 

What version of WHMCS, PHP, and MySQL are you running? What was the error you received? Did you run the migration with debug enabled?

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