My install of Drupal uses a table prefix, which path_access_install() ignores. Instead of creating a table called myprefix_path_access it just created path_access, which lead to "Table drupal.myprefix_path_access doesn't exist"-errors.
I'm not into programming, but in comparison to other modules, i changed line 10 of path_access.install from
db_query("CREATE TABLE `path_access` (
to
db_query("CREATE TABLE if not exists {path_access} (
(I found the additional if not exists in other install-routines and think it is a good idea to check whether the table already exists or not bevor trying to create it.)
With that change the install went as expected.
Once I have figured out how to create a patch-file I'm gonna add it.
Comments
Comment #1
buddaThanks for the notice. Don't know how that slipped through ;-)
No need for a patch file, i can amend the code based on your comments fine. Cheers!
Comment #2
buddaFixed in CVS dev.
Comment #3
(not verified) commented