• Our new ticketing site is now live! Using either this or the original site (both powered by TrainSplit) helps support the running of the forum with every ticket purchase! Find out more and ask any questions/give us feedback in this thread!

Recent content by McDeathUK

  1. M

    Network Rail Open Data

    OK, not sure if my older posts will still arrive.. but I have got Stomp working on the command line now by using the package from the stomp site and putting that in my root. I am using the code by ian13 from the wiki (file just happens to be called first.php).. configured with my setings.. but...
  2. M

    Network Rail Open Data

    I tried running through a command line on the server console but am getting PHP Fatal error: Class 'Stomp' not found in /(path)/ppmdata.php on line 7 I have installed Stomp from PECL and it is showing in my php info file as running
  3. M

    Network Rail Open Data

    The double post above confused things... sorry.. merged my replies I have got the code working now and am no longer getting 500 error and yeah you are spot on (and I never thought is was the datafeed) the issue was defiantly 100% my code or my server., but now I am more often than not failing...
  4. M

    Network Rail Open Data

    OK officially flummoxed.. sure i tried this version, however it worked. Here is my completed code <?php $server = "tcp://datafeeds.networkrail.co.uk:61618"; $user = "myemail"; $password = "mypassword"; $channel = "RTPPM_ALL"; $con = new Stomp($server, $user, $password); if (!$con) {...
  5. M

    Network Rail Open Data

    Zoe, I am using the method described in the wiki "This example requires PECL STOMP package. To install, type "pecl install stomp"." Found at http://nrodwiki.rockshore.net/index.php/PHP_Example ++++ more info +++++ OK, I am using the PECL Stomp installation on my Debian server as describe...
  6. M

    Network Rail Open Data

    I have used the PECL STOMP package. To install, I typed "pecl install stomp" and made sure the stomp.so was in my php5.ini file and restarted apache. A phpinfo shows the output above, that STOMP is running. I have also tried with the second example, and uploaded the stomp files to the...
  7. M

    Network Rail Open Data

    OK, so I put my user name and password in... now it takes a little longer but ultimatly STILL gives Error 500! Not a good day =)
  8. M

    Network Rail Open Data

    Hi Folks.. am I glad to find this forum about the NR feeds. I started looking into this yesterday and imagine my horror when i found out just how bad the documentation was.. cut and pastes from other documents. I have installed STOMP on my test Debian server and am showing the following on a...

Top