Line 411 of supercookie.module throws an error if the 'Update manager' in not activated.
drupal_check_module('supercookie');
Line 411 of supercookie.module throws an error if the 'Update manager' in not activated.
drupal_check_module('supercookie');
Comments
Comment #1
cs_shadow commentedUnable to reproduce the issue and AFAIK Update manager module is not required by drupal_check_module().
Comment #2
stopbox commentedThanks for getting back to me.
Weird ... if I go to admin/people/supercookie I get there error message:
sites/all/modules/supercookie/supercookie.module on line 411
unless Update manager is enabled - in which case it doesn't happen.
Other than accessing the config page, the module seems to work fine even with Update manager disabled.
It must be something to do with our site being hosted on an Aegir platform.
Comment #3
natemow commentedInteresting. IIRC, Aegir automatically disables non-critical mods in their production environment (dblog, update, views_ui, etc.) ...which is smart, but sometimes irritating.
I'll try to re-create the issue locally and see if there's a possible workaround. In the meantime, you might consider drush vset to configure the mod's settings in your production environment.
Comment #4
badrange commentedI just installed the module with 'drush en supercookie' and when I tried to access the address 'admin/people/supercookie', I got the same error:
Fatal error: Call to undefined function drupal_check_module() in /vagrant/current/sites/all/modules/contrib/supercookie/supercookie.module on line 749No Aegir involved.
Comment #6
natemow commentedFix pushed and available in the 1.5 release.