Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Error message:
Fatal error: Call to undefined function site_country_country_list() in /home/ned/drupal_nedjo/head/contributions/modules/country_code/country_code.module on line 800
Cause:
country_code_init()
is invoked on install, indirectly calling site_country_country_list()
, which isn't available because that module hasn't been installed yet.
Comments
Comment #1
nedjocatch is going to look into this.
Comment #2
catchThe dependency is there in the .info, and I was unable to reproduce this. I also had country code enabled and updated before enabling site_country, and that worked too. Then I uninstalled both and re-enabled.
One very odd thing I noticed was that it appears to be possible to disable modules, even if their dependencies aren't disabled. I've not noticed this before in D6, so will try to take a closer look.
Leaving this as active, since testing was inconclusive so far.
Comment #3
nedjoSteps to reproduce (so far as I can recall):
* disable both modules
* enable both modules at once
Comment #4
catchI tried both checking both checkboxes to enable, and also checking on country code to trigger the "site country must be installed to enable this module" core dependency check. In both cases they enabled fine.
Comment #5
recidive CreditAttribution: recidive commentedI can't reproduce this either.
However, I got this once, when I had an old version of country_code module (without site_country dependency) and replace that with the new one and added site_country module. Then I got this error when visiting admin/build/modules, IIRC.
Didn't you get this in the same conditions above, Nedjo? If so, this shouldn't happen again.
Moving to "needs more info".
Comment #6
nedjo@recidive: yes, I think that was what happened. So we can close this.