error in functions-xmltv.inc.php

Subscribe to error in functions-xmltv.inc.php 4 post(s), 2 voice(s)

 
Avatar mingus 4 post(s)

Hi,
I have installed EyeTV EPG Proxy and XMLTV on leopard (10.5.1), but cannot get any channel in EyeTV 3.0 (with Hybrid Stick/analog mode).
I ran the three tests from troubleshooting:
tests 1 and 2 (RegisterUserZip) are fine, but test 3 fails (see output below). I (double) checked that the file exists as

/var/www/html/data.titantv.com/dataservice.asmx/cache/xmltv-H_00004.xml

but EEP (or the PHP function simplexml_load_file()) cannot find (or read from) it. I have the same result with a working xmltv file from a previous post.

Any idea’s ?

mathieu

output from test 3:
curl http://data.titantv.com/dataservice.asmx/Reques…
<?xml version=”1.0” encoding=”utf-8”?>
<stationcollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.titantv.com/services/dataservice"> <errorcode>0</errorcode> <errordescription>OK</errordescription>


Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "cache/xmltv-H_00004.xml" in /Library/WebServer/Documents/eyetv-epg-proxy/dataservice.asmx/functions-xmltv.inc.php on line 251



Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/eyetv-epg-proxy/dataservice.asmx/functions-xmltv.inc.php on line 17


... same warning on line 31 and 69 …

<stationcount>0</stationcount> <usingcacheddata></usingcacheddata> <stations> </stations>
</stationcollection>
 
Avatar Guillaume Bo... Administrator 203 post(s)

I never saw this error, but I’d guess the file is somehow unreadable by Apache. Make sure ‘others’ have read access to the file, and all parents directories.

Also, the file needs to be in /Library/WebServer/Documents/eyetv-epg-proxy/dataservice.asmx/cache/xmltv-H_00004.xml, not in /var/www/html/...

Good luck.

 
Avatar mingus 4 post(s)

ah,

the file was in the wrong place. I was surprised that the directory /var/www/html/data.titantv.com … did not exist (thought the installer missed it), and created it myself. The confusion comes from point 3. on the xmltv install page. The crontab example shows “output /var/www/html/data.titantv.com/dataservice.asmx/cache/xmltv-A_00001.xml”. This is the correct place on many linux distros, but not on OSX.

All three test are all right now and the channel linup in eyetv works (Belgium, but only for analog/cable mode). When I request this for the DVB-T channels eyetv responds that there is no valid channel linup (this is eyetv 3).

Thanks for your help Guillaume

mathieu

 
Avatar Guillaume Bo... Administrator 203 post(s)

Good point; I added the following in that page:

Note for OSX users: you need to change the output directory in the above cron command; it needs to be:—output /Library/WebServer/Documents/eyetv-epg-proxy/dataservice.asmx/cache/xmltv-A_00001.xml