I am getting this fatal error when trying to install:

Fatal error: require_once() [function.require]: Failed opening required 'modules/geouser/geouser.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web2/web/sites/all/modules/geouser/geouser.module on line 10

Comments

pobster’s picture

Status: Active » Fixed

Easy change line 10 from;

require_once('modules/geouser/geouser.inc');

To;

require_once(drupal_get_path('module', 'geouser') .'/geouser.inc');

Pobster

asb’s picture

Priority: Normal » Critical
Status: Fixed » Closed (won't fix)

Similar error here:

Fatal error: require_once() [function.require]: Failed opening required 'modules/geouser/geouser.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/test/sites/all/modules/geouser/geouser.module on line 10

After changing line 10 in geouser.module:

Fatal error: require_once() [function.require]: Failed opening required 'GeoIP.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/test/sites/all/modules/geouser/geouser.module on line 56

This occurs even when the module is *not* activated but just sits in sites/all/modules.

Greetings, -asb

pobster’s picture

Status: Closed (won't fix) » Closed (duplicate)

Well I don't know why you changed the status to "won't fix" that seems a bit random? Anyways, I meant to change the status to 'duplicate' as its the same as this issue; http://drupal.org/node/238704

Pobster