I installed a fresh copy of Drupal 8-alpha11. I tried to install admin menu:
1. downloaded http://ftp.drupal.org/files/projects/admin_menu-8.x-3.x-dev.zip
2. Unzipped
3. Copied to .../docroot/modules so the .module file is .../docroot/modules/admin_menu/admin_menu.module
4. Went to /admin/modules in my web browser
5. Checked box for Admin menu and clicked "save configuration"
6. Install returned errors and crippled my site. See attached.
Warning: Invalid argument supplied for foreach() in _drupal_schema_initialize() (line 302 of core\includes\schema.inc).
Notice: Undefined index: fields in Drupal\Core\Database\Driver\mysql\Schema->createTableSql() (line 96 of core\lib\Drupal\Core\Database\Driver\mysql\Schema.php).
Warning: Invalid argument supplied for foreach() in Drupal\Core\Database\Driver\mysql\Schema->createTableSql() (line 96 of core\lib\Drupal\Core\Database\Driver\mysql\Schema.php).
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Cache table for Administra' at line 1: CREATE TABLE {cache_admin_menu} ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Cache table for Administration menu to store client-side cac'; Array ( ) in db_create_table() (line 602 of core\includes\database.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | admin-menu-wsd.png | 88.53 KB | C13L0 |
bug.png | 75.14 KB | JasonSafro |
Comments
Comment #1
C13L0 CreditAttribution: C13L0 commentedI can verify that install is also failing with drush. D8 version is most recent fetch/rebase as of today. In my case, the site has WSD after enabling admin_menu
1. Clean install of site via drush re-install
2. drush en admin_menu
System info:
OSX Mavericks
Mamp
mysql Ver 14.14 Distrib 5.5.34, for osx10.6 (i386) using EditLine wrapper
Comment #2
broonJust tried it with Drupal-8.0.0-beta1, still fails with UI and drush.
Comment #3
bdanin CreditAttribution: bdanin commentedfresh install of standard (no other modules turned on) drupal-8.0.0-beta3, installing with drush 7.x-dev in a PHP5.5 Mavericks (MacPorts) Apache-Percona build:
In the UI, it kills drupal; here is the xdebug output:
and then trying to uninstall:
Hopefully this helps the maintainers. I would love to see a functional admin_menu in Drupal 8. The new toolbar looks great for mobile-UX, but for developing using a desktop, we need this module!
(note, deleting the module rm -r modules/admin_menu and rebuilding cache brings the site back)
Comment #4
deggertsen CreditAttribution: deggertsen commentedConfirming that this is still an issue. Looks like a lot of work is still needed on the 8.x branch...
Comment #5
guardiola86 CreditAttribution: guardiola86 commentedConfirming that I'm having issues as well with the 8.x version of the module. I'm getting this error frequently (I'm using a fresh D8 installation):
Warning: include_once(): Failed opening.......
Comment #6
Dave ReidThe module does not currently work on 8.x-3.x. Please file bugs for specific things we can fix, otherwise this is just a known issue. I'll remove the supported flag from the 8.x branch for now.
Comment #7
jibranI have created a fork of admin_menu 8.x-3.x on github. Please help me fix it for Drupal 8
PRs are welcome. https://github.com/jibran/admin_menu
Comment #8
guardiola86 CreditAttribution: guardiola86 commentedjibran, your link doesn't work. Anyway, isn't it better to submit patches?
Comment #9
joachim CreditAttribution: joachim commentedCould this issue be closed with a more descriptive status perhaps? 'Fixed' makes it look like the stated problem was fixed, which makes it rather confusing when reading down the issue queue! 'Duplicate' maybe?
That said, it might be an idea to keep this open as a meta-issue. Installation currently completely blows up, and it's not something that's going to be fixable with a single patch.On second thoughts, let's have a fresh issue for upgrading to D8: #2398395: [meta] Port Admin Menu to Drupal 8.
Comment #11
klonos