Hello,
We have purchased the Hosting theme for Drupal and the fresh installation worked fine when done manually. However, I'm trying to automate it with Drush, and it fails. I'm using the following command:
The output is as follows:
This does not happen with other themes. Can you please help me find a solution for this? I have tried debugging it but apparently I'm not experienced enough.
Secondly, I also have a complaint. In your installation profile code in function md_install_selected_profile() you used several old functions like mysql_connect(...). These functions have been deprecated for years and should no longer be used. I needed to install this php extension just to get this theme to work. Can you please remove those old functions and replace them with mysqli_ functions?
Thanks for your help.
We have purchased the Hosting theme for Drupal and the fresh installation worked fine when done manually. However, I'm trying to automate it with Drush, and it fails. I'm using the following command:
Code:
drush -y site-install hosting --account-name=admin --account-pass=xxx --account-mail=example@example.com --site-name=our.site --site-mail=example@example.com
Code:
exception 'Exception' with message 'Site name field is required. Site e-mail address field is required. Username field is required. E-mail address field is required.' in /src/cn.cincojotas/includes/install.core.inc:420 Stack trace: #0 /src/cn.cincojotas/includes/install.core.inc(339): install_run_task(Array, Array) #1 /src/cn.cincojotas/includes/install.core.inc(77): install_run_tasks(Array) #2 /root/.composer/vendor/drush/drush/includes/drush.inc(719): install_drupal(Array) #3 /root/.composer/vendor/drush/drush/includes/drush.inc(705): drush_call_user_func_array('install_drupal', Array) #4 /root/.composer/vendor/drush/drush/commands/core/drupal/site_install_7.inc(80): drush_op('install_drupal', Array) #5 /root/.composer/vendor/drush/drush/commands/core/site_install.drush.inc(289): drush_core_site_install_version('hosting', Array) #6 [internal function]: drush_core_site_install('hosting') #7 /root/.composer/vendor/drush/drush/includes/command.inc(359): call_user_func_array('drush_core_site...', Array) #8 /root/.composer/vendor/drush/drush/includes/command.inc(210): _drush_invoke_hooks(Array, Array) #9 [internal function]: drush_command('hosting') #10 /root/.composer/vendor/drush/drush/includes/command.inc(178): call_user_func_array('drush_command', Array) #11 /root/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(62): drush_dispatch(Array) #12 /root/.composer/vendor/drush/drush/drush.php(70): Drush\Boot\BaseBoot->bootstrap_and_dispatch() #13 /root/.composer/vendor/drush/drush/drush.php(11): drush_main() #14 {main}
Secondly, I also have a complaint. In your installation profile code in function md_install_selected_profile() you used several old functions like mysql_connect(...). These functions have been deprecated for years and should no longer be used. I needed to install this php extension just to get this theme to work. Can you please remove those old functions and replace them with mysqli_ functions?
Thanks for your help.
Comment