Madame Guillotine Posted March 25, 2006 Share Posted March 25, 2006 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 39Warning: 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 39Warning: 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 39Warning: 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 40Warning: 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 40Warning: 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 88Warning: 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 Link to comment Share on other sites More sharing options...
Gast Posted March 25, 2006 Share Posted March 25, 2006 [!--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 39Warning: 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 39Warning: 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 39Warning: 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 40Warning: 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 40Warning: 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 88Warning: 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.