FYI - this is on the latest Drupal core 7.35
This keeps happening when I try to install "Commerce Examples"
Fatal error: Call to undefined function menu_get_item() in .../includes/common.inc on line 2597
When I hit the [back button] this happens:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows.
Path: http://sitename.com/authorize.php?batch=1&id=198&op=do
StatusText: OK ResponseText: Update manager | Site Name
@import url("http://sitename.com/modules/system/system.base.css?nlh6ct");
@import url("http://sitename.com/modules/system/system.admin.css?nlh6ct");
@import url("http://sitename.com/modules/system/system.menus.css?nlh6ct");
@import url("http://sitename.com/modules/system/system.messages.css?nlh6ct");
@import url("http://sitename.com/modules/system/system.theme.css?nlh6ct");
@import url("http://sitename.com/modules/system/system.maintenance.css?nlh6ct");
@import url("http://sitename.com/themes/seven/reset.css?nlh6ct");
@import url("http://sitename.com/themes/seven/style.css?nlh6ct");
Update manager Status message Installation was completed successfully. commerce_examplesInstalled commerce_examples successfully Next stepsInstall another module Enable newly added modules Administration pages
Comments
Comment #1
dcam commentedAt what point is this error occurring? From the error, I'm guessing that you're using the module downloader at admin/modules/install, then the error occurs after the module is downloaded. You may need to give more detailed steps to reproduce it, preferably on a clean install of D7.
Comment #2
kebz commentedYes, it's during the install using the installer. What's interesting is that the system is allowing me to install it multiple times without telling me that it's already been installed... strange!!
What do you mean by a clean install of D7?? I just did the security update to 7.35 yesterday
There's 2 things that's also happening here that I just noticed.
If I configure my Devel module (/?q=admin/config/development/devel) to "Display redirection page", then the sequence of events that take place is seen below. When I un-click that option, I don't get errors, however, it is allowing me to install that module multiple times without prompting me that it's already installed. Also, it only happens with that module because I tested other modules and the system prompts me with (as an example) "Registration is already installed."
Sequence of events with Devel option "Display redirection page":
link to install: http://ftp.drupal.org/files/projects/commerce_examples-7.x-1.x-dev.tar.gz
"The user is being redirected to http://example.com/authorize.php?batch=1&op=start&id=200."
Fatal error: Call to undefined function menu_get_item() in ..../includes/common.inc on line 2597
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows.
Comment #3
dcam commented"A clean install of D7" means a brand-new installation of Drupal 7, usually on a development server. It can be tough to solve problems if we can't reproduce them. If a problem is only reproduceable on a site that has been customized in a thousand different ways with hundreds of contributed modules, then that's a problem. So we typically ask if a person can prove a bug exists with core Drupal alone on a clean install.
That may not be necessary in this case because it hit me earlier today that you gave more information than I initially realized. Maybe I wasn't awake or just having a bad day, but I screwed up a bit with my post a couple of days ago. I was not paying attention to the fact that it was trying to redirect you to authorize.php. Also, you somehow got an AJAX error on that page which I don't think has any AJAX on it. I'm sorry for not paying close enough attention before.
Ok, so first off my guess is that you have the Overlay module enabled. That's the only way I can figure out that you're getting an AJAX error. If that's true, I'd suggest disabling it.
Second, when installing modules via the admin UI we typically only get to the authorize.php page if there is a file permissions problem with the modules directory. When I get there, it's because the web server user doesn't own the sites/site-name/modules directory. So you might reassign the permissions on it and retry.
It should be noted that I have no idea why there is an error with menu_get_item(). I'm basically just telling you how to avoid getting that error by fixing a possible concurrent server configuration problem.
Comment #4
tatha.bh commentedIt seems some required modules are not enabled already for Commerce Examples to get installed. Can you please check for the dependencies of Commerce Examples in the .info file. Also it can be something related to the update. You can also try to rollback the updates and try installing the module or a clean install as @dcam mentioned.
Comment #5
kattekrab commentedComment #6
cilefen commentedBased on no data loss occurring, alternate ways of installing modules, and no reply from the original reporter in one year, this is at most major, we may consider making this "closed, cannot reproduce".
Comment #7
David_Rothstein commentedPossibly related to #2665152: Simplify module form structure and fix bugs when Suhosin is used?