Fatal error and solution

msn - March 28, 2007 - 12:25
Project:Path Access
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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

#1

budda - March 28, 2007 - 13:14

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

msn - August 2, 2007 - 22:42
Status:active» fixed

#3

Anonymous - August 16, 2007 - 23:17
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.