Jump to content

Archived

This topic is now archived and is closed to further replies.

Madame Guillotine

getaddress and inclusion errors

Recommended Posts

On my sites, I get random errors. Okay, let me explain this a bit better. All along my many websites, randomly, scripts just spit out errors. I can refresh once sometimes and they go back to normal, or sometimes I can refresh 20 times and they still don't fox themselves. And it's never the same script, they just error randomly. If's always a guessing game to see which one, but it's always one. My company says it's something with my files. But, I'm not doing anything differently from others who have sites working fine. I just want to understand what the errors are related to so that I can see about fixing them (or moving hosting companies).

These are some of the errors that crop up, just a sample of two of the scripts that mess up. The others are generally the same with a few differences.

[code]Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 39

Warning: main(http://www.morbid-romantic.net/calendar/calendar.php): failed to open stream: Permission denied in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 39

Warning: main(): Failed opening 'http://www.morbid-romantic.net/calendar/calendar.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 39

Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 40

Warning: main(http://www.morbid-romantic.net/calendar/list.php): failed to open stream: Permission denied in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 40

Warning: main(): Failed opening 'http://www.morbid-romantic.net/calendar/list.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 40[/code]

[code]Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/morbid/public_html/blog/wp-content/themes/default/header.php on line 88

Warning: file(http://www.baptism-of-blood.net/random.txt): failed to open stream: Permission denied in /home/morbid/public_html/blog/wp-content/themes/default/header.php on line 88[/code]

Share this post


Link to post
Share on other sites
[!--quoteo(post=358238:date=Mar 25 2006, 04:03 PM:name=madame guillotine)--][div class=\'quotetop\']QUOTE(madame guillotine @ Mar 25 2006, 04:03 PM) [snapback]358238[/snapback][/div][div class=\'quotemain\'][!--quotec--]
On my sites, I get random errors. Okay, let me explain this a bit better. All along my many websites, randomly, scripts just spit out errors. I can refresh once sometimes and they go back to normal, or sometimes I can refresh 20 times and they still don't fox themselves. And it's never the same script, they just error randomly. If's always a guessing game to see which one, but it's always one. My company says it's something with my files. But, I'm not doing anything differently from others who have sites working fine. I just want to understand what the errors are related to so that I can see about fixing them (or moving hosting companies).

These are some of the errors that crop up, just a sample of two of the scripts that mess up. The others are generally the same with a few differences.

[code]Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 39

Warning: main(http://www.morbid-romantic.net/calendar/calendar.php): failed to open stream: Permission denied in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 39

Warning: main(): Failed opening 'http://www.morbid-romantic.net/calendar/calendar.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 39

Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 40

Warning: main(http://www.morbid-romantic.net/calendar/list.php): failed to open stream: Permission denied in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 40

Warning: main(): Failed opening 'http://www.morbid-romantic.net/calendar/list.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/morbid/public_html/blog/wp-content/themes/default/footer.php on line 40[/code]

[code]Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/morbid/public_html/blog/wp-content/themes/default/header.php on line 88

Warning: file(http://www.baptism-of-blood.net/random.txt): failed to open stream: Permission denied in /home/morbid/public_html/blog/wp-content/themes/default/header.php on line 88[/code]
[/quote]


The file() error will probably be because the folder or file used has not got chmod settings of 777. You should also set error_reporting to 0 at the top of the page to stop these errors appearing when visitors are online.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.