[iRail] PHP errors

Joris Timmerman joris.timmerman at gmail.com
Wed Mar 16 00:06:25 UTC 2011


Hi,

I'm getting PHP errors when I do a request for VehicleInfo :)
Crashed my parser. :)

<br />

<b>Warning</b>:  include_once(requests/VehicleRequest.php) [<a
href='function.include-once'>function.include-once</a>]: failed to open
stream: No such file or directory in <b>/var/www/iRail/api/vehicle.php</b>
on line <b>6</b><br />

<br />

<b>Warning</b>:  include_once() [<a
href='function.include'>function.include</a>]: Failed opening
'requests/VehicleRequest.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/php5:/usr/local/lib/php') in
<b>/var/www/iRail/api/vehicle.php</b> on line <b>6</b><br />

<br />

<b>Warning</b>:  Cannot modify header information - headers already sent by
(output started at /var/www/iRail/api/vehicle.php:6) in
<b>/var/www/iRail/api/output/Xml.php</b> on line <b>17</b><br />

<br />

<b>Warning</b>:  Cannot modify header information - headers already sent by
(output started at /var/www/iRail/api/vehicle.php:6) in
<b>/var/www/iRail/api/output/Xml.php</b> on line <b>18</b><br />

<vehicleinformation version="1.1" timestamp="1300233860"><vehicle
locationX="0" locationY="0">BE.NMBS.L658</vehicle><stops number="8"><stop
id="0" delay="0"><station id="BE.NMBS.008896008" locationX="3.265676"
locationY="50.824339" standardname="Courtrai">Courtrai</station><time
formatted="2011-03-16T08:00:00Z">1300258800</time></stop><stop id="1"
delay="0"><station id="BE.NMBS.008896925" locationX="3.254289"
locationY="50.914758"
standardname="Ingelmunster">Ingelmunster</station><time
formatted="2011-03-16T08:09:00Z">1300259340</time></stop><stop id="2"
delay="0"><station id="BE.NMBS.008896909" locationX="3.21335"
locationY="50.920958" standardname="Izegem">Izegem</station><time
formatted="2011-03-16T08:13:00Z">1300259580</time></stop><stop id="3"
delay="0"><station id="BE.NMBS.008896800" locationX="3.130358"
locationY="50.949358" standardname="Roulers">Roulers</station><time
formatted="2011-03-16T08:20:00Z">1300260000</time></stop><stop id="4"
delay="0"><station id="BE.NMBS.008892205" locationX="3.126908"
locationY="51.025281"
standardname="Lichtervelde">Lichtervelde</station><time
formatted="2011-03-16T08:34:00Z">1300260840</time></stop><stop id="5"
delay="0"><station id="BE.NMBS.008891314" locationX="3.105869"
locationY="51.064708" standardname="Torhout">Torhout</station><time
formatted="2011-03-16T08:39:00Z">1300261140</time></stop><stop id="6"
delay="0"><station id="BE.NMBS.008891264" locationX="3.1634"
locationY="51.12641" standardname="Zedelgem">Zedelgem</station><time
formatted="2011-03-16T08:46:00Z">1300261560</time></stop><stop id="7"
delay="0"><station id="BE.NMBS.008891009" locationX="3.216728"
locationY="51.197225" standardname="Bruges">Bruges</station><time
formatted="2011-03-16T08:53:00Z">1300261980</time></stop></stops></vehicleinformation>

-- 
Joris Timmerman
joris.timmerman at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/irail/attachments/20110316/d8e41eb5/attachment-0002.html>


More information about the iRail mailing list