"Warning: session_start() [function.session-start]: Node no longer exists" error in php

Babar

New member
? I am using php 5.2.0. I encountered this error when starting a session. I googled & find that this error is associated with simpleXML(), I have this function using simpleXML in my code:

function searchResults($q) {
$host = "http://search.twitter.com/search.atom?q=" . urlencode( $q ) . "&rpp=100";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $host);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);

//Raw xml
$result = curl_exec($ch);
curl_close($ch);
$xml = simplexml_load_string($result);
return $xml;
}
How do I get rid of this problem if this is causing it.
 
Back
Top