Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1478

Use it for questions about the command line shell and Unix scripting interface for Drupal (a.k.a. Drush).

1 vote
1 answer
1k views

Where to find Drush for Drupal 6?

I am trying to install and work with Drush for my Drupal 6.22 site. However, on the modele's page I can only find the module's tar.gz package for Drupal 7. nor can I find D6 package elsewhere. …
alfish's user avatar
  • 1,947
0 votes
4 answers
935 views

How to read input username to drush script?

I need to complete a script which gets a username from terminal to a php script and then deletes the user's comments. So I am wondering how the username should be read by the php script, the same w …
alfish's user avatar
  • 1,947
0 votes
1 answer
1k views

How do I find the user ID knowing the username, when using drush?

That would be much more handy to use Drush rather than executing a SQL query to find a user ID. … So I am wondering what drush command can be used that takes a username, and returns the equivalent user ID. …
alfish's user avatar
  • 1,947
33 votes
7 answers
56k views

How to execute php script using drush?

I am new to Drush. How can I execute this script to remove comments of a specific user? …
alfish's user avatar
  • 1,947
2 votes
1 answer
332 views

How do I delete all the user's posts, using drush?

It would be great if someone could tell me how to do it using drush. …
alfish's user avatar
  • 1,947
1 vote
2 answers
3k views

Table 'main_semaphore' doesn't exist

But now it does not update neither form drush, nor by calling update.php from browser. … At drush I get: An error occurred at function : drush_pm_post_pm_update [error] WD php: Table 'mysitedb.semaphore' doesn't exist [error] query: DELETE FROM main_semaphore …
alfish's user avatar
  • 1,947
0 votes
2 answers
214 views

How to do incremental cron?

I have to manage a rather large site which has problem with cron (white space of death on cron.php and 'segmentation fault' in drush). I could not fix the ong standing problem. …
alfish's user avatar
  • 1,947
1 vote
3 answers
2k views

Cron failed with drush: Segmentation fault

In Drupal 6, whenever I run cron from web interface I get an Internal server error and when I run drush cron I just get Segmentation fault What can be wrong here and how can I fix it? …
alfish's user avatar
  • 1,947
1 vote
1 answer
193 views

Segmentation fault at search_cron()

Whenever I try to run cron on the search, using drush php-eval 'search_cron();' I get 'Segmentation fault' error. I have not this problem for any other tables. …
alfish's user avatar
  • 1,947
0 votes
0 answers
339 views

Drush command terminated abnormally when exporting content

I have installed node export module and drush and trying to export all content of type story to an xml file, using: root@pc:/path/to/drupal# drush node-export-export --type=story --file=xstory --format … =xml but I get Drush command terminated abnormally due to an unrecoverable error. …
alfish's user avatar
  • 1,947