5.x build doesn't work in Drupal 5.1?
brianpeat - February 1, 2007 - 21:57
| Project: | Menu per Role |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I installed this module after installing Taxonomy Access Control and ran into several issues. (I thought I posted this already, but it's not here)
#1. The patch seems to break things, not using it makes the Module appear to activate correctly.
#2. The module makes calls to tables in the database that aren't there...my guess is they aren't being created.

#1
@1: I've just tested the patch, it still applies cleanly.
@2: Unfortunately the installation instruction was a bit wrong - you have to copy the whole directory to your modules directory, as the .info and .install files are needed too. I've fixed that.
for you:
you have already installed the module, so drupal will not insert the tables even if you correct your installation. so first correct your installation, then uninstall the module, and then install it again.
#2
I applied the patch manually (and I noticed the document versions didn't match from my original to the one the patch was looking for)...
here's what my copy of menu.inc has at the top:
// $Id: menu.inc,v 1.146 2007/01/14 01:37:48 unconed Exp $
and the patch is looking for this version:
--- includes/menu.inc 2 Jan 2007 05:05:38 -0000 1.145
I figured it might still work, so I manually placed the patch text in the menu.inc file, and uploaded it to my server...and everything broke.
--------
But the bigger question, for a complete newbie, is how do you officially apply a patch from inside Drupal?
Thanks for your help!
#3
by using an patch tool: link
#4
Okay, I removed the module (I had originally put the whole folder on the server, so those files you mentioned were there).
Then I refreshed the modules page, just to make sure Drupal knew it wasn't there.
Then I manually patched the menu file and check Drupal, and it didn't break (yeah!).
Then I reinstalled the Menu per role module folder and activated it...
and got the list of missing SQL tables again.
I must be completely missing something here that triggers Drupal to make those tables.
#5
I got it working. I was able to open your install file and copy the MySQL query and actually post it myself in MyphpAdmin. It works!
thanks!
#6
hi
when I add the 3 lines I get the following error message
Fatal error: Call to undefined function: module_exist() in .....includes/menu.inc on line 1133
and ideas?
regards
gustavo.
#7