Database error

budda - September 21, 2007 - 12:57
Project:Profile CSV
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When visiting the modules settings page i'm getting the following database error:

user warning: Table 'ffc.profile_fields' doesn't exist query: profile_csv_admin_settings SELECT pf.fid, pf.name, pf.title, pf.category FROM profile_fields pf ORDER BY pf.category, pf.weight, pf.title in /var/www/html/drupal-5.0/includes/database.mysql.inc on line 172.

Its worth noting that my site doesn't have profile module active. My need is to simple list username and email address in the CSV.

i would suggest a check for the profile module even being activated, and if not don't do any profile field specific stuff.

#1

pearcec - September 5, 2008 - 15:23
Version:5.x-1.x-dev» 5.x-1.0
Status:active» needs review

Here is a patch.

AttachmentSize
profile_csv.profile_module_exists.patch 2.33 KB

#2

bmagistro - October 17, 2009 - 13:36

is this ever going to get added to the release/dev version? or modify the info file to include a requirement for the profile module? Like the author I do not have the profile module enabled since I just needed username and email listings.

Kudos to the author for the patch. Saved me a little bit of time...

#3

kbahey - October 17, 2009 - 13:47
Version:5.x-1.0» 5.x-1.x-dev
Status:needs review» fixed

There is already a dependency on profile in the D6 version. The D5 version now has that dependency too in the dev version.

#4

System Message - October 31, 2009 - 13:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.