Meterboard 2 - bugs and feature requests

Where should the web site go - what should we do? Who has the time between rows?

Moderator: The forum police - (nee naw)

User avatar
Thomas W-P
Best Friend (PayPal Subscriber)
Best Friend (PayPal Subscriber)
Posts: 5046
Joined: Mon Jul 03, 2006 9:44 pm
I row on...: Model C with PM3
Location: Newport, Essex
Contact:

Re: Meterboard 2 - bugs and feature requests

Post by Thomas W-P » Thu Nov 01, 2018 8:28 am

Tritorow wrote:It is there now, Thomas. Took several hours or you fixed it, but either way all is good!
The challenges are updated every 4 hours, the meterboard, every hour. Hope that helps!

Welcome on board Image
50 yrs - A cyclist these days
Image

User avatar
Swinny
Warming up
Posts: 33
Joined: Fri Jun 29, 2018 8:56 am
I row on...: Model D with PM5
Location: Carisbrooke, Isle of Wight

Re: Meterboard 2 - bugs and feature requests

Post by Swinny » Fri Nov 30, 2018 8:39 am

Hi Thomas, just a little thing I noticed on the meterboard, I'm not showing having done the holiday challenge 50k or 100k snowman. I'm Jim Swinfield on the Meterboard. Thanks

User avatar
Thomas W-P
Best Friend (PayPal Subscriber)
Best Friend (PayPal Subscriber)
Posts: 5046
Joined: Mon Jul 03, 2006 9:44 pm
I row on...: Model C with PM3
Location: Newport, Essex
Contact:

Re: Meterboard 2 - bugs and feature requests

Post by Thomas W-P » Fri Nov 30, 2018 9:06 am

Yeah, that was interesting. My code was confused for some reason but it looks like it is working now. I think C2 might have changed something their end. We have been using the filtered "Free Spirits" page for the screen scrape, but somehow the code didn't like it any more. It now goes to the generic page and trawls through.

C2 were going to give me an API years ago, they even sent me some example XML to play with but I think they lost interest/ran out of money/didn't publicise it.
50 yrs - A cyclist these days
Image

User avatar
Thomas W-P
Best Friend (PayPal Subscriber)
Best Friend (PayPal Subscriber)
Posts: 5046
Joined: Mon Jul 03, 2006 9:44 pm
I row on...: Model C with PM3
Location: Newport, Essex
Contact:

Re: Meterboard 2 - bugs and feature requests

Post by Thomas W-P » Sun Dec 02, 2018 11:10 pm

Erk. Updated the php on the server to 7.2 and the Meterboard exploded. Think it is fixed now. It actually rolled the season over! This will need unpicking :(
50 yrs - A cyclist these days
Image

User avatar
Thomas W-P
Best Friend (PayPal Subscriber)
Best Friend (PayPal Subscriber)
Posts: 5046
Joined: Mon Jul 03, 2006 9:44 pm
I row on...: Model C with PM3
Location: Newport, Essex
Contact:

Re: Meterboard 2 - bugs and feature requests

Post by Thomas W-P » Sun Dec 02, 2018 11:10 pm

Erk. Updated the php on the server to 7.2 and the Meterboard exploded. Think it is fixed now. It actually rolled the season over! This will need unpicking :(
50 yrs - A cyclist these days
Image

User avatar
Thomas W-P
Best Friend (PayPal Subscriber)
Best Friend (PayPal Subscriber)
Posts: 5046
Joined: Mon Jul 03, 2006 9:44 pm
I row on...: Model C with PM3
Location: Newport, Essex
Contact:

Re: Meterboard 2 - bugs and feature requests

Post by Thomas W-P » Mon Dec 24, 2018 12:11 pm

It has been reported that the Snowmen are not updating. I have looked at this and have found that although my code asks for the "Free Spirits" data page, the C2 site returns the full set of results (180+ pages). The script also asks for the next page in the honour board but keeps getting the first one. I am not sure why this might be. It is very confusing.

I am at a bit of a loss what to do. Plus it is Christmas Eve, so I am going to have to put it on the back burner.

Later:
This is driving me nuts. If I remove the code from the page and put it in its own separate testing page, it works fine.
If I hard code the string for the url (copying and pasting it from the output of the code that does not work!), it works fine.
But the code itself doesn't work.
50 yrs - A cyclist these days
Image

User avatar
Thomas W-P
Best Friend (PayPal Subscriber)
Best Friend (PayPal Subscriber)
Posts: 5046
Joined: Mon Jul 03, 2006 9:44 pm
I row on...: Model C with PM3
Location: Newport, Essex
Contact:

Re: Meterboard 2 - bugs and feature requests

Post by Thomas W-P » Wed Jan 02, 2019 7:08 pm

This is now fixed. Sadly, it was my dodgy code at fault. Thanks to Tako for pointing me in the right direction. Image
50 yrs - A cyclist these days
Image

Post Reply