Table prefixes ignored

clockwerx@www.s... - November 3, 2004 - 00:40
Project:FOAF
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When using the buddylist module, this error is thrown:
user error: Table 'freshfm_net_au.users' doesn't exist
query: SELECT u.name, u.mail FROM users u INNER JOIN buddylist b ON u.uid=b.buddy WHERE b.uid=2 in /mnt/1/freshfmw/www/www.fres...

I think this is actually a buddylist issue, but i'm unsure.

The table prefix is set to "drupal_" and is ignored by the extension.

#1

Uwe Hermann - November 3, 2004 - 16:34

Here's a patch.

AttachmentSize
foaf.patch 860 bytes

#2

walkah - November 4, 2004 - 15:05

fixed in both HEAD and DRUPAL-4-5 by using buddylist_get_buddies instead (which has proper db_prefix handling).

#3

Anonymous - November 18, 2004 - 15:15
 
 

Drupal is a registered trademark of Dries Buytaert.