Jump to content

getaddress and inclusion errors


Madame Guillotine

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]
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.