If importing from your live WHMCS installation, stop the cron job for WHMCS, put the installation into maintenance mode, and back up all files and the database. |
If you prefer, you can create a copy of your WHMCS database and import from that instead of your live system. |
Importing your data can take several minutes or more, please be patient. When the importer has finished, it will display a green success message. |
In order for clients to log into Blesta after being imported, you must enable legacy passwords in Blesta. When a client logs in, their password will be converted automatically to a more secure hash.
To enable support for these passwords edit the /config/blesta.php configuration file within your Blesta installation and change
Configure::set("Blesta.auth_legacy_passwords", false); Configure::set("Blesta.auth_legacy_passwords_algo", "md5"); |
To:
Configure::set("Blesta.auth_legacy_passwords", true); Configure::set("Blesta.auth_legacy_passwords_algo", "whmcs-md5"); |
Then save the file. After a sufficient amount of time has passed, you may change this setting back.
Do you have any active PayPal Subscriptions? |
If you have any active PayPal Subscriptions in WHMCS, they will not automatically work with Blesta. Beginning with Blesta 3.5, PayPal Subscriptions can be maintained by creating a redirect in your .htaccess file. At the beginning of the file, add the following:
Redirect 301 /modules/gateways/callback/paypal.php /callback/gw/1/paypal_payments_standard/ |
This redirect may need to be adjusted depending on your path to paypal.php in your WHMCS and your Blesta installation directory. Also, the 1 in /callback/gw/1/paypal_payments_standard/ references the company ID in Blesta. If you do not have any addon companies, then the company ID is 1.
Return to complete the Final Steps.
Error:
Array ( [email] => Array ( [format] => Please enter a valid email address. ) ) |
Solution:
It's likely your WHMCS install is missing email address, or that the domain in some email addresses is invalid (No MX name resolution). To get around this, you can edit /vendors/minphp/input/src/Input.php and find the isEmail method. Replace the method with the following:
public static function isEmail($str, $check_record = true) { return true; } |
This will stop Blesta from performing any input validation on email addresses. Be sure to revert the change after the import has completed.