Page 1 of 1

links on site not working

Posted: Sat Sep 16, 2023 4:46 pm
by ktojo
when i use a link, it brings me to the move planner (?). this happens on game links that i was not a part of, as well has the archives for chats and orders for those games.

Re: links on site not working

Posted: Sat Sep 16, 2023 5:28 pm
by Jamiet99uk
Can you provide an example?

Re: links on site not working

Posted: Sat Sep 16, 2023 5:39 pm
by ktojo
https://webdiplomacy.net/board.php?gameID=242215 for instance redirects to https://webdiplomacy.net/beta/?gameID=242215, and i am unable to find a way to get it to go to the link to the game.

Re: links on site not working

Posted: Sat Sep 16, 2023 9:13 pm
by echidna
That is a very strange game. The Chat archive is 65 pages long
When I click on your first link, I get to the old interface, showing Game drawn in Spring 7281.
If I click on Orders at the bottom of that page, it responds with:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 20480 bytes) in /var/www/webdiplomacy.net/public_html/objects/database.php on line 329

Re: links on site not working

Posted: Sat Sep 16, 2023 9:55 pm
by Jamiet99uk
Why are you trying to look at that game in particular?

Re: links on site not working

Posted: Sat Sep 16, 2023 11:09 pm
by ktojo
i was trying to look at the official longest game which also does not work for some reason.

Re: links on site not working

Posted: Sun Sep 17, 2023 12:04 am
by Jamiet99uk
ktojo wrote:
Sat Sep 16, 2023 11:09 pm
i was trying to look at the official longest game which also does not work for some reason.
It appears that extremely long games which are outside the usual expectations for game length are causing a problem for the database.

Re: links on site not working

Posted: Fri Oct 27, 2023 9:41 pm
by kestasjk
Have increased the memory limit, will take affect on the next publish. Not sure what else is going wrong besides the orders exceeding memory though.

If you want to view the legacy board and not get redirected to the point and click board you can select it in your user settings.