[drupal-devel] [bug] PHP Error when accessing settings page
Anonymous
drupal-devel at drupal.org
Thu Jan 27 19:10:02 UTC 2005
Project: Drupal
Version: cvs
Component: system.module
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: Anonymous
Updated by: Anonymous
Status: patch
When accessing the admin...settings page on a subdomain site, I get the
following two errors:
warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Name or service not known in
/home/username/public_html/includes/common.inc on line 227.
warning: fsockopen(): unable to connect to sub.domain.com:80 in
/home/username/public_html/includes/common.inc on line 227.
This is a result of a failure to resolve the subdomain at my host. (DNS
is hosted elsewhere from the server.) This could be easily fixed by
adding an "@" before
$request = drupal_http_request($GLOBALS['base_url'] . '/system/test');
in system.module.
I don't have an environment set up to create a patch at the moment, but
the change is very minor.
Anonymous
--
View: http://drupal.org/node/16309
Edit: http://drupal.org/project/comments/add/16309
More information about the drupal-devel
mailing list