Closed (duplicate)
Project:
MLS Module
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 06:07 UTC
Updated:
20 Feb 2009 at 21:25 UTC
I modified the call to createControlFile in mls_viele.php to only get '3' listings instead of '1000' for testing purposes. I then ran the extract and find that it never finishes. I check Viele's 'images' folder and see that the same two images are being written over-and-over again (maybe one of the three has no image). I check Viele's 'text' folder and find that the download.xml file is being written and deleted over-and-over again with the same three listings each time. Drupal does not report anything conclusive. The last few lines of Viele's runtime.log:
[January 19, 2009 21:56:21 PST] OPENING socket on rets.flexmls.com
[January 19, 2009 21:56:21 PST] SUCCESS on open
[January 19, 2009 21:56:21 PST] RESPONSE ...
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: private
RETS-Version: RETS/1.5
Content-Type: text/xml
Content-Length: 83
Date: Tue, 20 Jan 2009 05:56:24 GMT
[January 19, 2009 21:56:21 PST] READING the PAYLOAD with Content-Length
[January 19, 2009 21:56:21 PST] PAYLOAD ...
<RETS ReplyText="Logout Successful" ReplyCode="0">
SignOffMessage=Good Bye</RETS>
[January 19, 2009 21:56:21 PST] INTERPRET the PAYLOAD as XML through parsing
Comments
Comment #1
webavant commentedI tried running the Drupal generated Viele batch file from CLI and it ran without any problems and downloaded the expected amount of listings to the XML file and images and the script terminated properly. I don't know why it just runs forever from Drupal.
Comment #2
awjrichards commentedThis is a duplicate of http://drupal.org/comment/reply/372613