Jump to content

WHMCS 8.13.1 - import from Blesta 5.11.5


Recommended Posts

I've been struggling to import data from Blesta 5.11.5 to WHMCS 8.13.1 and it keeps getting stuck in "products & services" step.

It seemed that it forced WHMCS to call an outdated class/package, here is related log:

Class "Doctrine\DBAL\Driver\PDOMySql\Driver" not found in /home/xxx/public_html/vendor/illuminate/database/MySqlConnection.php:64 

Stack trace: 
#0 /home/xxx/public_html/vendor/illuminate/database/Connection.php(894): Illuminate\Database\MySqlConnection->getDoctrineDriver() 
#1 /home/xxx/public_html/modules/addons/import_assist/lib/ImportAssist/Source/Blesta5/Entity/Product.php(0): Illuminate\Database\Connection->getDoctrineSchemaManager()
(...)

=== update ===

I managed to make it work by creating DBAL package via composer locally on my machine and uploading to a folder 'vendor_dbal' inside import_assist/ and created a hook to tell WHMCS to load that folder as well. 
 

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated