I want to create a D7 website with Quickstart (1.0) and tried the Drush (5.7) command below but got an error:

quickstart@qs10:~/websites$ drush qc all --domain=test.dev

Creating dns config (add test.dev to /etc/hosts) ...
... done
Creating database: test_dev
... done
Downloading code to /home/quickstart/websites/test.dev (take a minute, check network activity) ...

Fatal error: Call to undefined function drush_backend_invoke() in /home/quickstart/quickstart/drush/quickstart.inc on line 225

CommentFileSizeAuthor
#1 quickstart-drush_4_to_5-1764008-1.patch2.83 KBbircher

Comments

bircher’s picture

Status: Active » Needs review
StatusFileSize
new2.83 KB

drush_backend_invoke() needs to converted to drush_invoke_process() according to http://www.drush.org/drush-4-to-drush-5

the attached patch works for me. But I have only tested quickstart-create.
please inspect carefully, I never used drush_invoke_process() before.
I am unsure especially about the first parameter $site_alias_record.

Thanks

traviscarden’s picture

Status: Needs review » Closed (duplicate)

Thanks for the patch, @bircher. This has actually been fixed already in #1511728-2: Make quickstart-create compatible with Drush 5 and committed. Be sure to update the git repository in ~/quickstart for all the latest changes.