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!
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...
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
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...
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) {...
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...
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...
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...
We are aware of an issue with emails from the Forum to Microsoft-based email accounts (hotmail/outlook/live.com email addresses). This is being looked into currently, thanks for your patience meanwhile.