drush drupal

Using drush

 

Installation (sudo)

First you need pear tool:

apt-get install php-pear

pear channel-discover pear.drush.org 
pear install drush/drush

If the channel-discover fails, try running the following sequence of commands: 

pear upgrade --force Console_Getopt 
pear upgrade --force pear pear upgrade-all

To update drush tool:

drush dl drush

Use

Go to drupal site folder and:

drush pm-update

or

drush up

Subscribe to RSS - drush drupal
Error | Bitacoles

Error

The website encountered an unexpected error. Please try again later.

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/bitacoles/includes/common.inc:2726) in drupal_send_headers() (line 1233 of /var/www/bitacoles/includes/bootstrap.inc).
  • PDOException: SQLSTATE[HY000]: General error: 14 unable to open database file: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?); Array ( [0] => 0 [1] => cron [2] => Attempting to re-run cron while it is already running. [3] => a:0:{} [4] => 4 [5] => [6] => http://bitacoles.enging.com/taxonomy/term/16 [7] => [8] => 54.80.26.116 [9] => 1505865741 ) in dblog_watchdog() (line 160 of /var/www/bitacoles/modules/dblog/dblog.module).