Install D7 beta2
Install multiform
The webinterface reports:
* Notice: Undefined index: log in update_authorize_install_batch_finished() (line 231 of /srv/www/htdocs/modules/update/update.authorize.inc).
* Warning: Invalid argument supplied for foreach() in update_authorize_install_batch_finished() (line 231 of /srv/www/htdocs/modules/update/update.authorize.inc).
* Notice: Undefined index: log in update_authorize_install_batch_finished() (line 266 of /srv/www/htdocs/modules/update/update.authorize.inc).
* Notice: Undefined index: tasks in update_authorize_install_batch_finished() (line 267 of /srv/www/htdocs/modules/update/update.authorize.inc).
* Installation failed! See the log below for more information.
Line 231 contains:
230 function update_authorize_install_batch_finished($success, $results) {
231 foreach ($results['log'] as $project => $messages) {
232 if (!empty($messages['#abort'])) {
233 $success = FALSE;
234 }
235 }
Line 266 and 267 contain:
266 $_SESSION['authorize_results']['messages'] = $results['log'];
267 $_SESSION['authorize_results']['tasks'] = $results['tasks'];
As other modules (media and the like) are dependend on this module, this bug may have a higher priority than 'normal', as it blocks the installation of the other modules.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Screen shot 2011-03-25 at 5.16.34 PM.jpg | 116.96 KB | chefnelone |
Comments
Comment #1
radoeka commentedHmm, I'm getting the same error for a subsequent module too. It seems a core problem?
Comment #2
radoeka commentedSimilar problems in:
http://drupal.org/node/908390
http://drupal.org/node/951558
Let me reboot the machine, let's see what happens.
After the machine rebooted and I installed another module, the problem is not seen....
Is this an initialization problem?
Perhaps the bug report should be assigned to the core module?
Comment #3
radoeka commentedChanged project to 'Drupal Core'
Comment #4
radoeka commentedComment #5
radoeka commentedThis problem occurs after a new installation of the OS including apache. I can prevent the problem by restarting apache after I have installed and configured the core drupal installation.
So this looks like an apache problem, perhaps it isn't don't know.
Comment #6
Netbuddy commentedHad the same problem. Sequence of events basically went as follows.
- Installed D7 beta 2
- Played around with config and content types, added a couple basic pages, an article, and a comment, moved blocks around. Basic stuff to see how things looked on bartik.
- Installed BUEditor, bueditor-7.x-1.x-dev.tar.gz, through the URL method. Absolutely no problem.
- Played around with that for a while.
- Attempted to install pathauto-7.x-1.x-dev.tar.gz, also through the URL method, and got exactly the same error messages as the OP.
- Using UniServer, I rebooted apache/sql (as suggested above).
- Reloaded homepage, it said something like "No batch file"?. Hit refresh, that message went away.
- Went into the module administration. Pathauto is showing but I didnt have token, so couldnt enable it.
- Installed token through the URL method, got the same error message again.
- Went into module admin, enabled both token and pathauto.
- Configured pathauto, did a full update. It created 15 aliases, and all seems well with the world.
...but those error messages are scary.
Using the latest UniServer install on Windows Vista
Uniform Server 5.6.14-Nano
Apache 2.2.17
MySQL 5.1.51
PHP 5.3.3
Comment #7
geerlingguy commentedHad same error (just a me too).
Comment #8
Peter Arius commentedHad the same error on D7.0-beta2 (installing globalredirect) and after update to D7.0-beta3 (installing advanced_help) on my test site on a shared hosting server (Localized Drupal profile, "Localization client" as only non-core module active, Languages German/English, a bunch of core configuration settings, PHP Version 5.2.11).
However, could not reproduce it on my local XAMPP installation with D7.0-beta2 (just core + a few other modules, Languages German/English, PHP Version 5.3.1).
Comment #9
mandreato commentedSame here with following scenario:
- Windoxs XP SP3
- XAMPP 1.7.3
- Apache 2.2.14
- PHP 5.3.1
- MySQL 5.1.41
- clean installation of drupal-7.0-beta3
- add italian default language + translate interface
- install core optional modules Content Translation + Locale
- try to install Address Field and get the messages below
Comment #10
David_Rothstein commentedThis bug occurs in the Update Manager user interface. It's being discussed in more detail here: #936686: "Installation failed" errors when installing modules from Update Manager w/ Overlay
If anyone can figure out how to reproduce it reliably, please post details there - thanks!
Comment #11
chefnelone commentedI think I have similar problem here
I get this error message when installing the View Module. In Drupal 7
Notice: Undefined index: log in update_authorize_install_batch_finished() (line 236 of /Applications/MAMP/htdocs/drupal-7.0/modules/update/update.authorize.inc).
Warning: Invalid argument supplied for foreach() in update_authorize_install_batch_finished() (line 236 of /Applications/MAMP/htdocs/drupal-7.0/modules/update/update.authorize.inc).
Notice: Undefined index: log in update_authorize_install_batch_finished() (line 277 of /Applications/MAMP/htdocs/drupal-7.0/modules/update/update.authorize.inc).
Notice: Undefined index: tasks in update_authorize_install_batch_finished() (line 278 of /Applications/MAMP/htdocs/drupal-7.0/modules/update/update.authorize.inc).
Installation failed! See the log below for more information.
Comment #12
chefnelone commentedAgain same problem when installing Views Module
I attached a screen capture
Comment #13
brightboldI just experienced this problem installing Webform Validation through the "Install new module" action link on a D7 site created within the last month — I have previously installed modules on this site with no problem. The comment in #5 by radoeka is interesting, as I know my host had some problems with the server last week and it was down briefly — that potentially could have included an OS reinstall.
Comment #14
brightboldLooks like there's a patch in the issue referenced by David Rothstein in #10, so if you experience this issue check out #936686: "Installation failed" errors when installing modules from Update Manager w/ Overlay.
Comment #15
nco71 commentedI had the same problem , and although I got the message installation failed , the module was there ( I guess it downloaded and extracted ) and all I needed was to activate it.
Comment #16
Dave Sandilands commentedI also have the same issue installing a module to a brand new install of Drupal 7.7 ie
Notice: Undefined index: log in update_authorize_install_batch_finished() (line 235 of
/home/xxxxxx/public_html/xxxxxx.com/drupal/drupal-7.7/modules/update/update.authorize.inc).
Warning: Invalid argument supplied for foreach() in update_authorize_install_batch_finished() (line 235 of /home/xxxxxx/public_html/xxxxxx.com/drupal/drupal-7.7/modules/update/update.authorize.inc).
Notice: Undefined index: log in update_authorize_install_batch_finished() (line 276 of /home/xxxxxx/public_html/xxxxxx.com/bannersrmoney.com/drupal/drupal-7.7/modules/update/update.authorize.inc).
Notice: Undefined index: tasks in update_authorize_install_batch_finished() (line 277 of
/home/xxxxxx/public_html/xxxxxx.com/drupal/drupal-7.7/modules/update/update.authorize.inc).
Installation failed! See the log below for more information.
It's a very worrying message but is it as bad as it looks? After all, Version 7 has been in production for some time now.
Comment #17
dresimple commentedI have the same error, when installing modules by file upload. It said that installation failed but when I checked in the list of modules the module was there. Have anyone found a solution?
Comment #18
David_Rothstein commentedThis issue is a duplicate of another one, which is already fixed (see discussion above). It will therefore no longer be a problem in the next release of Drupal core. No need to keep posting here :)