I used some php code in my weblog that built dynamically. It occasionally happened that some functions like "fopen" or "file_get_contents" could not connect to the host of a file. Therefore, it failed and the Dynamic Page Error loaded.
CODE
file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known.
Even though I put them to an if-else condition, but my pages only load to the line that the condition stands. After it the Dynamic Page Error loaded and I have an error page within entry page.
Is there any way for resolving this problem?