Phrets - multiple cities
$rets_login_url = "http://bcar.rets.paragonrels.com/rets/fnisrets.aspx/BCAR/login?rets-version=RETS/1.7.2"; $rets_username = "ChasonWachter";
Using Phrets, pulling multiple cities, data and photo urls, but getting a time out error. Script works fine with one city. Any suggestions? Is there a way to up the time allowed?
Comments
Are you using the older 1.0 PHRETS or 2.0?
You might need to change some settings to keep your client from timing out.
https://stackoverflow.com/questions/4...
By the way your profile doesn't allow access to CM_6 class.
If you need access you will need to go through the MLS.
Were you able to get this working?
no, I was not.
I may have to break it down to multiple files and calls....(getting a city at a time. Bummer)
I see requests coming though just fine searching 2 cities and they only seem to take a few seconds.
What exactly is not working?
Have you tried updating to PHRETS 2.0?
Yes, but the script doesn't seem to end. (i.e., I display a summary at the end with a record count and it doesn't always appear.. leaving me to wonder if the downloaded files are complete. They seem to be, as there is no partial record, But often the summary does not appear. I have not tried updating to phrets 2.0 yet, and don't know if it requires changes to my code. Not sure if it is just interchangeable. Researching that. Thanks for asking.
Did you ever remove your search of the CM_6 class that isn't enabled in your profile?
If not, it would return an error and could be causing your script issues.
Were you able to get the multiple city search working?
Yes, but I had to break the process up to avoid the 2 minute timeout imposed by my hosting company. I do have a question however... Is there a manual somewhere that I don't have access to? the MD document you referred me to and which I downloaded solved the lookup problem.... but nowhere can I find things like this: LM_Bit_34 is the Named waterfront indicator, and it comes across as 0 or 1. The agent entry for Paragon is Y/N. I can assume the 0 is N, but WHERE DOES IT ACTUALLY SAY THAT?
Here is a link to some resources:
http://vendorsupport.paragonrels.com/...
On the RESO.ORG site, you can find developer resources.
The most important of which is RETS specification documents that outline data types etc.