I am very new to phrets so I apologize up front. I was working trying to set up MLS feed...and on test server am able to pull from MLS into database...but in trying to move out to client server, I get the following error:
Fatal error: Uncaught exception 'Exception' with message 'String
could not be parsed as XML' in
/home/trbrealtor/public_html/phrets/vendor/guzzlehttp/guzzle/src/Message/Response.php:168
Stack
trace:
#0
/home/trbrealtor/public_html/phrets/vendor/guzzlehttp/guzzle/src/Message/Response.php(168):
SimpleXMLElement->__construct('<?xml version="...', 2048, false,
'', false)
#1
/home/trbrealtor/public_html/phrets/vendor/troydavisson/phrets/src/Session.php(96):
GuzzleHttp\Message\Response->xml()
#2 /home/trbrealtor/public_html/phrets/cron_job.php(19):
PHRETS\Session->Login()
#3 {main}
Next exception 'GuzzleHttp\Exception\XmlParseException' with message
'Unable to parse response body into XML: String could not be parsed as
XML' in
/home/trbrealtor/public_html/phrets/vendor/guzzlehttp/guzzle/src/Message/Response.php:174
Stack
trace:
#0
/home/trbrealtor/public_html/phrets/vendor/troydavisson/phrets/src/Session.php(96):
GuzzleHttp\Message\Response->xml()
#1 /home/trbrealtor/public_html/phrets/cron_job.php(19):
PHRETS\Session->Login() in /home/trbrealtor/public_html/phrets/vendor/guzzlehttp/guzzle/src/Message/Response.php on line 174
So, my guess is since it works on one and not the other there must be an account setting or something I am missing...any ideas from anyone?
Also...in doing a search...is there a way to limit the data listings based on creating a string of cities the client covers (if the MLS covers a wide range and you want to narrow)?
And one other final newbie question...can the data search include multiple property types? Or do you set up like multiple daily updates for each singe type? Example:
A – Residential
B – Multi-Family
C – Land/Lots
D – Farm
E – Commercial
F – Rental/Lease