Closed (fixed)
Project:
Path Access
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2007 at 03:34 UTC
Updated:
29 Aug 2008 at 22:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
buddaDocumentation corrected.
Since Drupal 5 there is no longer any manual SQL scripts to run, thanks to the automated .install files.
Comment #2
(not verified) commentedComment #3
lebisol commentedHello Budda,
Sorry to reopen this but I ran accross strange issue on edit of user roles. Install went fine but it seems as if sql did not fire quite right and tables were not created.
Here is the error:
=============
user warning: Table 'db.PREFpath_access' doesn't exist query: SELECT * FROM PREFpath_access pa INNER JOIN PREFrole r ON pa.rid = r.rid WHERE pa.rid = 1 in /path_here/includes/database.mysql.inc on line 172.
user warning: Table 'db.PREFpath_access' doesn't exist query: INSERT INTO PREFpath_access (pid, rid, pages, visibility) VALUES (8, 1, '', '') in /path_here/includes/database.mysql.inc on line 172.
=============
Is there a way to manually excute sql after the fact?
Many thanks!
Comment #4
suydam commentedIf you're using a table prefix, the .install file is screwd up.
It says: CREATE TABLE `path_access`
It should say: CREATE TABLE {path_access}
Uninstall the module.
Remove the entry from the system table.
Install the module.
Rejoice.
:)
Comment #5
suit4 commentedPatch created, ready for testing.
Comment #6
buddaThe dev release was already fixed in CVS months ago. Release 1.2 just created which includes the correct .install file.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.