Project:Path Access
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

After installing I had an error:
Fatal error: Call to undefined function db_queryd() in /home/mnadvies/public_html/drupal/sites/all/modules/path_access/path_access.module on line 124

It is the 'd' in db_queryd(
Line 124 is
db_queryd("INSERT INTO {path_access} (pid, rid, pages, visibility) VALUES (%d, %d, '', '')", $pid, $roleid);
Must:
db_query("INSERT INTO {path_access} (pid, rid, pages, visibility) VALUES (%d, %d, '', '')", $pid, $roleid);

Martin

Comments

#1

The 'd' is for debug, have uploaded a non-debug version of the code to CVS.

I noticed an issue where additional empty entries are being inserted in to the path_access db table, but cannot see what is causing this at present.

#2

Status:active» fixed

#3

Status:fixed» closed (fixed)
nobody click here