Execution of MLS Feed - No File Found

cbassig - February 4, 2009 - 21:44
Project:MLS Module
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Everything with the VieleRETS has been set up (source, target, extract) and an MLS Feed in drupal as been created. Certain Map Fields have been set for the feed (others left blank).

When I go to execute the Feed it runs and then comes to a 'Page Not Found' and:

* warning: fopen(/home/example/public_html/sites/default/files/viele/download.xml) [function.fopen]: failed to open stream: No such file or directory in /home/example/public_html/sites/all/modules/mls/mls_viele.php on line 137.
* warning: filesize() [function.filesize]: stat failed for /home/example/public_html/sites/default/files/viele/download.xml in /home/example/public_html/sites/all/modules/mls/mls_viele.php on line 138.
* warning: fread(): supplied argument is not a valid stream resource in /home/example/public_html/sites/all/modules/mls/mls_viele.php on line 138.
* warning: fclose(): supplied argument is not a valid stream resource in /home/example/public_html/sites/all/modules/mls/mls_viele.php on line 139.
* warning: filesize() [function.filesize]: stat failed for /home/example/public_html/sites/default/files/viele/download.xml in /home/example/public_html/sites/all/modules/mls/mls_viele.php on line 143.
* warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "/home/example/public_html/sites/default/files/viele/sannhettest.xml" in /home/example/public_html/sites/all/modules/mls/mls_viele.php on line 146.
* Failed to load Viele XML file for some reason
* MLS execution halted: no data file.

Obviously, I have checked the actual file on the server and it is there, as well as the images download through viele. Also, the date does get added to the XML file as specified in mls_viele.php.

Any reason why this maybe occuring?

#1

rehren - February 8, 2009 - 03:22

i am experiencing the same issue. the download.xml file is renamed download_2009-02-07.xml and then i get the errors listed above.

#2

rbalji - February 11, 2009 - 09:41

I got the same error....so I deleted the extract and recreated the source, target and extract that solved the problem for me...

#3

cbassig - February 11, 2009 - 17:44

I can't say this solution solved the problem for me. I have deleted the extract several times, as well as the source and target to see if that would help. It does not matter what I name any of the files or what folder I place them in (where the target places them).... I continue to get the same error.

What are your specific settings for each file (source, target, extract)? It maybe the way I am setting them up.

#4

rbalji - February 12, 2009 - 07:09

What is your MLS Module Settings
I have the following
The full system path to the installation of VieleRETS: /var/www/html/vieleRETS

#5

rbalji - February 12, 2009 - 07:11

my files get downloaded to

/var/www/html/vieleRETS/targets/firstdownload_2009-02-12.xml

#6

cbassig - February 12, 2009 - 17:22

My system path is /home/example/public_html/viele -- so a similar setup-- only difference is how my server is setup.

Your files do get downloaded to a different place them me. I actually have the XML file go to Drupal's 'files' folder for the site. This may actually be the problem. Where do you have the images download? The Read Me file says to have them go into the 'files' folder of the site. Did you follow this?

#7

awjrichards - February 20, 2009 - 19:27

hi everyone - my hunch is there might be a file permissions problem. make sure that your webserver (apache, or whatever) can write to the directory where you're having download.xml stored. if there's currently a download.xml in there, try deleting that, dbl check permissions, and try again.

 
 

Drupal is a registered trademark of Dries Buytaert.