Every so often, when I visit one of my pages, I get this error:
Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /absolute/path/to/premium/index.php on line 1
Warning: main(/path/to/header.php): failed to open stream: Permission denied in /absolute/path/to/premium/index.php on line 1
It only occurs on the pages that are seperate from MU. Basically I made a folder called "Premium" in the root directory and then added a .htaccess to the folder that contained:
RewriteEngine Off
<Files /order>
ForceType application/x-httpd-php
</Files>
That is the only thing that really changes anything. Weirdly, the footer is included at the bottom and doesn't spawn any errors at all. Also, there are no PHP tags in the header, I removed them all so I could include it across the whole site without hitting errors with functions being undefined.
So is this error MU based or is this a host thing? Hope someone can help me out.
Thanks a lot,