Unable to access games

Members can make suggestions for improving the site and improving the forum as well as submit bug reports to be reviewed by our support team here.
Post Reply
Message
Author
Kallen
Posts: 17
Joined: Sun Aug 12, 2018 8:04 am
Karma: 13

Unable to access games

#1 Post by Kallen » Sat Nov 19, 2022 2:49 am

Hello, somehow I am able to be logged in and see the forum, but I cannot access my games. When I click on a game tab, I see this error message:

Code: Select all

Error triggered: A software exception was not caught: "Call to undefined function str_starts_with()".

This was probably caused by a software bug. The details of this error have been successfully logged and will be attended to by a developer.
Any ideas?
2

Aristocrat
Posts: 37
Joined: Sun Jul 19, 2020 6:09 pm
Karma: 47

Re: Unable to access games

#2 Post by Aristocrat » Sat Nov 19, 2022 3:03 am

Same, can only get on forum and have some games about to roll over into a new phase without orders...

Kallen
Posts: 17
Joined: Sun Aug 12, 2018 8:04 am
Karma: 13

Re: Unable to access games

#3 Post by Kallen » Sat Nov 19, 2022 3:07 am

yeah, can a mod roll back the games that processed during this bug?

kestasjk
Co-Owner
Co-Owner
Posts: 292
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 597
Contact:

Re: Unable to access games

#4 Post by kestasjk » Sat Nov 19, 2022 4:16 am

Damn it.. I added a feature that I tested on the dev system here that runs PHP 8, but the function doesn't exist in PHP 7 which the production server is running on.

Because the function only gets run for logged on users it meant the status check didn't trigger and the gamemaster and bot API kept running, and I only noticed it when I went to check the site for something else.

Apologies; we can't really roll back without revealing other players' orders. I will excuse any misses that occurred during the downtime

Kallen
Posts: 17
Joined: Sun Aug 12, 2018 8:04 am
Karma: 13

Re: Unable to access games

#5 Post by Kallen » Sat Nov 19, 2022 4:57 am

kestas, does excusing misses that occurred mean you would allow someone to rejoin a game that they were kicked from? a game that I am in had that situation, which doesn't seem fair to the player who was booted

kestasjk
Co-Owner
Co-Owner
Posts: 292
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 597
Contact:

Re: Unable to access games

#6 Post by kestasjk » Sat Nov 19, 2022 5:16 am

FYI the downtime was between Sat Nov 19 02:34:23 UTC 2022 1668825154 and Sat Nov 19 04:04:33 UTC 2022 1668830802.

There were 6 missed turns across 4 games and 6 users, luckily it looks like they were all extended due to the missed turn so there are no games that people missed submitting orders for. I've removed the temp bans, missed turns and rejoined people to the games
2

kestasjk
Co-Owner
Co-Owner
Posts: 292
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 597
Contact:

Re: Unable to access games

#7 Post by kestasjk » Sat Nov 19, 2022 5:19 am

Kallen wrote:
Sat Nov 19, 2022 4:57 am
kestas, does excusing misses that occurred mean you would allow someone to rejoin a game that they were kicked from? a game that I am in had that situation, which doesn't seem fair to the player who was booted
Yep that's right; any kind of issue with points / bans / missed turns / reliability ratings are no problem because I can fix it up. We can't move a turn back (well we can but obviously it'd reveal what each player was about to do) but looks like I got lucky and the excused turn system prevented games from moving forward without orders being submitted (phew)
1

Jamiet99uk
Posts: 22955
Joined: Sat Dec 30, 2017 11:42 pm
Location: Durham, UK
Karma: 14866
Contact:

Re: Unable to access games

#8 Post by Jamiet99uk » Sat Nov 19, 2022 1:05 pm

kestasjk wrote:
Sat Nov 19, 2022 4:16 am
Damn it. I added a feature that I tested on the dev system here that runs PHP 8, but the function doesn't exist in PHP 7 which the production server is running on.
Shouldn't the test system and the live system be running the same software version?

Otherwise this kind of thing is always at risk of occurring?

Kallen
Posts: 17
Joined: Sun Aug 12, 2018 8:04 am
Karma: 13

Re: Unable to access games

#9 Post by Kallen » Sat Nov 19, 2022 1:35 pm

Thanks for resolving the issue kestats!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest