Save or preview your signature and it'll say "Invalid File" and log the get_headers() error.PHP Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/forum/public_html/includes/class_upload.php on line 174
PHP Warning: get_headers(http://www.): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/forum/public_html/includes/class_upload.php
"POST /profile.php?do=updatesignature HTTP/1.1"
The problem is actually with get_headers() because if a host is unreachable then the warning is logged every time.2. Ah, the default of "http ://www." should have been removed from everywhere (http v https). Looks like I missed it in some templates.
(Ignore the space after http, stupid XF tries to make it into a url, I see no way to disable that)
The default profile picture and signature picture URLs contain "http://www.", which is obviously an invalid address.
To prevent the warning just change line 174 of class_upload.php to the following.
$headers = @get_headers($upload, TRUE);