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
Here is a patch.
#2
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
There is already a dependency on profile in the D6 version. The D5 version now has that dependency too in the dev version.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.