#!/usr/bin/env php Value for parameter 'dolibarr_main_url_root' is not defined in your 'htdocs\conf\conf.php' file.
You must add this parameter with your full Dolibarr root Url (Example: http://myvirtualdomain/ or http://mydomain/mydolibarrurl/)