Hello,
I am using the older version of PHRETS to pull in information and have started receiving 'XML Parsing Error, No data to Parse.' when running any Search Query.
The code was working before and checking RetsMD shows that the Property and Class are the same. I'm also still able to get stuff back when trying 'GetAllTransactions()' and 'capability_url' but not when trying 'GetMetadataResources()' or the SearchQuery.
I have included the code I am currently using to test for what's wrong, but with user information removed from the connect:
<?php
require_once("phrets.php");
$rets = new phRETS;
$connect = $rets->connect("-URL-","-USER-","-PASSWORD-");
if ($connect){
//This One Works
$transact= $rets->GetAllTransactions();
print_r($transact);
//This Does Not Work
$getre= $rets->GetMetadataResources();
print_r($getre);
//This Does Not Work
$testing = $rets->Search("Property","A","*");
print_r($testing);
print_r($rets->Error());
}
?>
Any help would be really apreciated!
Sincerely,
Chris