Download & Extend

Call to undefined function get_domain() - conStruct.install line 36 on module activation

Project:conStruct
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:fgiasson
Status:closed (fixed)

Issue Summary

When i enable the two minimal needed modules
conStruct Browse Tool
conStruct Core

i got sth like:

Call to undefined function get_domain()

this function seems to be unknown, grepped in complete drupal

// variable_set("conStruct_UrisDomain", str_replace("http://", "", get_domain($normalized_base_url)));

just replaced it hardcoded as workaround

variable_set("conStruct_UrisDomain", 'domain.net');

PHP 5.2.6 drupal-6.13

Comments

#1

Assigned to:Anonymous» fgiasson
Status:active» fixed

Thanks, it as been fixed in the new version (dev-4). (an include was missing)

#2

Status:fixed» closed (fixed)
nobody click here