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.

CommentFileSizeAuthor
#1 profile_csv.profile_module_exists.patch2.33 KBpearcec

Comments

pearcec’s picture

Version: 5.x-1.x-dev » 5.x-1.0
Status: Active » Needs review
StatusFileSize
new2.33 KB

Here is a patch.

bmagistro’s picture

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...

kbahey’s picture

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.

Status: Fixed » Closed (fixed)

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