Ticket #21 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

API failure:

Reported by: Profete162 Owned by: pietercolpaert
Priority: major Milestone: API 1.0
Component: API Keywords:
Cc: Tuinslak

Description

On this request:

 http://api.irail.be/connections.php?to=JURBISE&from=BRUXELLES-MIDI&date=290910&time=1610&timeSel=depart&lang=en&trainsonly=1

I get the error code:

Warning:  Invalid argument supplied for foreach() in /home/yeri/irail/api/InputHandlers/BRailConnectionInput.php on line 95
<connections version="1.0" timestamp="1285771329"/> 

Fatal error</b>:  Call to a member function getDepart() on a non-object in /home/yeri/irail/api/connections.php on line 89


Change History

comment:1 Changed 3 years ago by Profete162

This work nice now, but you have all infos on the bug.

EDIT: crash again now.

On irail.be give this message:

Warning: Invalid argument supplied for foreach() in /home/yeri/irail/api/InputHandlers/BRailConnectionInput.php on line 95

Fatal error: Call to a member function getDepart() on a non-object in /home/yeri/irail/api/OutputHandlers/MobileWebOutput.php on line 25

Last edited 3 years ago by Profete162 (previous) (diff)

comment:2 Changed 3 years ago by Tuinslak

  • Cc Tuinslak added
  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone set to API 1.0

See ticket #23.

Note: See TracTickets for help on using tickets.