First time here? Check out the FAQ!
0

Search query crashes php page?

When I use this search query on my php page running PHRETS :

$results = $rets->Search("Property","RE_1","(L_ListAgent1=|5486, 5943, 7111)",['Limit' => 3]);

the results are as expected. It returns all the residential ('RE_1') listings for those agents.

However when I look at RETS MD and see that there is vacant land I can pull from the database ('VL_5') I try to use the same search query but it crashes my page:

$results = $rets->Search("Property","VL_5","(L_ListAgent1=|5486, 5943, 7111)",['Limit' => 3]);

Why does this happen?

Kingston2019's avatar
Kingston2019
asked 2019-01-09 15:44:43 -0500
edit flag offensive 0 remove flag close merge delete

Comments

What RETS URL and Account name (No Passwords) are you using?
Your account profile may not allow access to that class.

bwolven's avatar bwolven (2019-01-09 15:49:02 -0500) edit

The login URL is http://normls-rets.paragonrels.com/re... and username is TPVALLCAREITCORP

Kingston2019's avatar Kingston2019 (2019-01-09 15:52:47 -0500) edit
add a comment see more comments

1 Answer

0

Can you try it now and see if you have the same issues?

bwolven's avatar
bwolven
answered 2019-01-09 15:58:14 -0500
edit flag offensive 0 remove flag delete link

Comments

Cool! It works!

What was the issue? Permissions?

Kingston2019's avatar Kingston2019 (2019-01-09 15:59:45 -0500) edit

Fixed account profile issue.

bwolven's avatar bwolven (2019-01-09 16:03:22 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer