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?

wildgoose's avatar
wildgoose
asked 2018-10-22 11:12:19 -0500
edit flag offensive 0 remove flag close merge delete

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...

bwolven's avatar bwolven (2018-10-22 11:50:58 -0500) edit

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.

bwolven's avatar bwolven (2018-10-22 13:43:26 -0500) edit

Were you able to get this working?

bwolven's avatar bwolven (2018-10-22 15:02:16 -0500) edit

no, I was not.

wildgoose's avatar wildgoose (2018-10-22 21:03:28 -0500) edit

I may have to break it down to multiple files and calls....(getting a city at a time. Bummer)

wildgoose's avatar wildgoose (2018-10-22 21:06:51 -0500) edit

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?

bwolven's avatar bwolven (2018-10-23 08:58:54 -0500) edit

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.

wildgoose's avatar wildgoose (2018-10-27 14:58:13 -0500) edit

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.

bwolven's avatar bwolven (2018-10-31 09:11:39 -0500) edit

Were you able to get the multiple city search working?

bwolven's avatar bwolven (2018-11-20 15:59:51 -0500) edit

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?

wildgoose's avatar wildgoose (2018-11-21 09:17:49 -0500) edit

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.

bwolven's avatar bwolven (2018-11-21 09:30:39 -0500) edit
add a comment see more comments