New Servers: Need testers

Dec 10, 2021 2:42 am
With Gamers' Plane having just turned 8, the GP server is now over 8 years old as well. I haven't maintained it as well as I could have, and honestly, the best bet at this point is to create a new server. This is a good thing as well. There are technical details that can be fixed up with a new server, as well as improve the deployment process and make it easier for Adam to test features as well.

I'd like people's help testing the new staging server: https://staging.gamersplane.com. I'm testing out every bit of functionality I can and I could use help. I'd love for people to hop on, and test things out. Make posts, make games, register a new account and activate it, etc. The server has a database from a bit over a month ago, and the only difference is I've changed everyone's "Get new game email" to "off" so we don't spam people in testing. I wouldn't mind people who decide to test staging to turn on the option so you can see if you get the new game emails.

So yah, please head to https://staging.gamersplane.com and mess around. It'll be wiped every so often, so you don't need to worry about making a strange game or intentionally breaking anything, I encourage it.
Dec 10, 2021 3:15 am
If you go to a Public game to which you are not a member, works fine. But go to a Private game to which you are not a member, you get wonky error messages:

https://i.imgur.com/ouBshcv.png

Len

Dec 10, 2021 6:27 am
Inspecting a character, I got the following error

https://i.imgur.com/X8bwRyU.png

This is the sheet: https://staging.gamersplane.com/characters/dnd5/19724/

Was using an Android phone at the time of viewing this error.

The weapons fields were blank.
Dec 10, 2021 7:34 am
Yeah. These sizeof issues are everywhere. I think live has warnings turned off.
Dec 10, 2021 10:06 am
In my first attempt to create the I added a lot of advance rules and forgot to choose something for allowed character sheet and the "create" button didn't do anything. I selected/added Custom to allowed character sheet but the "create" button stil didn't do anything.

I then tried to create a new one from scratch. This time without advance rules and I added an allowed character sheet. The button worked this time, but after creating a game on the staging server I was sent to this page https://staging.gamersplane.com/games/1/ instead of the page of the game I just created.
Dec 10, 2021 10:08 am
Update: the game I created is called "Bug busters" and it shows in the Game menu in the header. Pressing it still takes me to https://staging.gamersplane.com/games/1/
Dec 10, 2021 10:18 am
Stefron says:
In my first attempt to create the I added a lot of advance rules and forgot to choose something for allowed character sheet and the "create" button didn't do anything. I selected/added Custom to allowed character sheet but the "create" button stil didn't do anything.

I then tried to create a new one from scratch. This time without advance rules and I added an allowed character sheet. The button worked this time, but after creating a game on the staging server I was sent to this page https://staging.gamersplane.com/games/1/ instead of the page of the game I just created.
Ah, yes. I saw this too. It was because the mongo doc that hands out ids wasn't overwritten.

I now use...
mongorestore -d gamersplane --drop (/path to MongoDB to restore)
...when I update my staging.
Dec 10, 2021 2:16 pm
Eeeer, it should have been a clean mongo, but as people are taking a look, maybe I should do a full restore on both databases. And yah, I'm gonna go through every sizeof in our code and update them all. Prod doesn't have errors off; I think the version of PHP on prod just isn't as strict.
Dec 10, 2021 2:17 pm
It's not that errors are off - it's that warnings are shown as errors.
Dec 10, 2021 8:54 pm
I decided to make a new account and test that whole process. I created my account and waited for the email that never came. So I went back to the login screen and requested the email be sent again. I got this error below. The next day (today) there is no activation email still. I tried the resend email request and got the same error below.

https://i.imgur.com/QlgRjLl.png
Dec 11, 2021 5:02 pm
I should be able to fix the sizeof issues today. I'll try to figure out why emails aren't going out.
Dec 14, 2021 3:58 am
Ok, pretty sure I fixed the sizeof issues, though it's possible I missed some. Let me know if you spot any more issues.

Len

Dec 14, 2021 5:24 am
Hey Keleth, here's another problem I found. I made a game on the staging server, but I was having some troubles. Eventually got it to work and created a Traveller game called Pirates of Drinax:

https://i.imgur.com/aG7hgW5.png

But that link takes me to https://staging.gamersplane.com/games/2/ which of course is not my game. I tried to make another game, but that one links me to https://staging.gamersplane.com/games/3/ which is a retired game.

I see the game number is incrementing by 1. I assume if I made a third game I'd be at staging.gamersplane.com/games/4 and so on.
Dec 14, 2021 9:35 am
I have enabled the option, but am not receiving New Game emails from staging. But then I don't get them from the real server either even though they are enabled and I get everything else.
Dec 14, 2021 12:56 pm
It's still giving this:

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/api/users.class.php on line

...when trying to save a user profile that's a jpeg (it's happy with png though).
Dec 14, 2021 10:06 pm
Ok, weird, I tried a jpg, I'll try again. And I think I know where I went wrong with the games. I copied the data, but not the counters. I'll fix that.
Dec 14, 2021 11:47 pm
Windyridge says:
I decided to make a new account and test that whole process. I created my account and waited for the email that never came. So I went back to the login screen and requested the email be sent again. I got this error below. The next day (today) there is no activation email still. I tried the resend email request and got the same error below.

https://i.imgur.com/QlgRjLl.png
Tried to get the activation email again and made progress in that the error is gone, and it says the email has been sent, but I still got no email (I checked my spam folder) unless there is a delay.

https://i.imgur.com/gkAoby5.png
Dec 14, 2021 11:51 pm
Does the staging server not have the feature where the avatar/picture is on the character sheet page?
Dec 19, 2021 3:27 am
Ok, I think everything except the email bugs are resolved. That one I'm going to have to dive a bit deeper into. I think I know what to do, but not really sure. I may need to get some help from @vagueGM again.
Dec 23, 2021 3:29 am
Ok, finally got the jpeg stuff for gd. Still working on the emails. But the database has been updated along with all the character avatars transferred.

Keep letting me know if something is wrong.
load next

You do not have permission to post in this thread.