Error in PHP Script
/index.php
PHP Version: 5.2.17;  Zend Engine Version: 2.2.0;  Qcodo Version: 0.3.24 (Qcodo Beta 3)
Application: Apache;  Server Name: pickshark.com
HTTP User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.oddsshark.com/rss.xml:1: parser error : Document is empty
Error Type:   E_WARNING

Rendered Page:   Click here to view contents able to be rendered

Source File:   /home/chalkpic/public_html/index.tpl.php     Line:   147

Line 142:    
Line 143:    	
Line 144:    		<div id="home_bottom">
Line 145:    			<h1>OddsShark.com ARTICLES OF THE DAY</h1>
Line 146:    			<?php 
Line 147:    			$xml = simplexml_load_file('http://www.oddsshark.com/rss.xml');
Line 148:    			if ($xml) {
Line 149:    				$X = 1;
Line 150:    				foreach ($xml->channel->item as $value) {
Line 151:    					if ($X < 3) {
Line 152:    						print '<div class="oddsshark-wrapper">';

Call Stack:

#0 (): QcodoHandleError()
#1 /home/chalkpic/public_html/index.tpl.php(147): simplexml_load_file()
#2 /home/chalkpic/public_html/index.php(2): require()

Variable Dump:   Show/Hide



Error Report Generated:  Wednesday, April 23 2014, 10:23:33 AM