I am seeing the following update.php error when (drush) updating from dev 2009-04-07 to dev 2009-18-07

The external command could not be executed due to an application  error.
Drush command could not be completed. 
Output from failed command :
An error occurred at function : drush_pm_post_update

Comments

wim leers’s picture

Now that's weird … I tried the update myself here and it worked time after time. Could you try doing it manually — without drush? Thanks.

skizzo’s picture

I tried running update.php from admin page, but I would only get a blank page... However,
I decided to give it another try with drush, and on third attempt it went through successfully.

Project hierarchical_select was updated successfully. Installed version is now 6.x-3.x-dev.
Backups were saved into the directory /var/www/drupal/backup/modules/20090718213628.           [ok]
Cache cleared.
UPDATE {system} SET weight = 16  WHERE name  = 'hierarchical_select'                 [success]
Finished performing updates.                                                                   [ok]
The following updates are pending:

 hierarchical_select module
 8 - description not available

Looking at the httpd error log I now see the following report

[error]PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/drupal/sites/all/modules/hierarchical_select/module/hs_content_taxonomy.module on line 167

which may have been the result of previous failures.

skizzo’s picture

actually... now the update succeeded, but I get only WSOD,
and the "PHP Parse error" keeps getting logged.

wim leers’s picture

[error]PHP Parse error: syntax error, unexpected '[', expecting ')' in /var/www/drupal/sites/all/modules/hierarchical_select/module/hs_content_taxonomy.module on line 167

Why does it access the hs_content_taxonomy module? It should be disabled! It's not yet ported to D6.

skizzo’s picture

Status: Active » Closed (works as designed)

Uhmm... I didn't keep any installation history... Maybe I installed the hs_content_taxonomy patch from http://drupal.org/node/342992 at some point in time and forgot about it. Can't think of any other explanation. I have now disabled hs_content_taxonomy in system table and will wait for an official release. Thank you.

skizzo’s picture

Category: bug » support