Closed (fixed)
Project:
Support fields
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2010 at 05:42 UTC
Updated:
21 May 2010 at 23:00 UTC
when installing all at the same time i have this error :
Fatal error: Call to undefined function support_active_clients() in /var/www/sites/all/modules/support_fields/support_fields.install on line 16
Comments
Comment #1
span commentedCould you please tell me what version of the support module you are using as well?
Comment #2
ssm2017 binder commentedthe support version i am using is 6.x-1.3
when installing "support" then installing your module all is fine
the problem is when im trying to enable all at the same time
this is calling the function but the module is not yet installed
maybe you should use a test to check if the function is available or use "requirements" to force people install "support" before installing your module
Comment #3
span commentedAh, thank you for an excellent description of the problem. This will make it easy to fix. If you have a patch you are more then welcome to post it otherwise I will look into this next week.
Thank you for your report.
Comment #4
span commentedCommited a change to dev version which is not available in the Beta atm. A fix is either to make sure the support module is installed and activated before enabling the add-on. Another fix is changing the hook_install from this:
To this:
Comment #5
span commented