diff --git a/components/planetposts.php b/components/planetposts.php
index 15d1a173b1a85786e62092e81ae735f5f1ba92cc..860c6bae99621696bf73b4ea7f821d3a66def10f 100644
--- a/components/planetposts.php
+++ b/components/planetposts.php
@@ -6,7 +6,13 @@ $num_entries = 5;
 unset($result);
 $planetposts = array();
 
-$xmldata = file_get_contents("../htdocs/planet/atom.xml");
+$xmldata = @file_get_contents("../htdocs/planet/atom.xml");
+
+if (!$xmldata) {
+	trigger_error("No planet atom.xml data loaded", E_USER_WARNING);
+	return;
+} 
+
 $simplexml = simplexml_load_string($xmldata);
 $xml = $simplexml->children('http://www.w3.org/2005/Atom');