October 15, 20232 yr Flash games don't save points on my website! In the browser bar: https://mysite.ru/ipsproarcade/playgame/148-block-buster/index.php?act=Arcade&do=newscore a white screen and an inscription in the corner: File not found. And some html5 games don't save either! This problem is only with flash games It seems that some file is missing, tell me what is wrong. Edited October 17, 20232 yr by Kondrbr
October 20, 20232 yr Author So, in the server logs I found such errors related to the method of transmitting GET and POST. And my server is on Nginx, maybe something in the server settings. 1. 2023/10/20 04:22:21 [error] 3470323#3470323: *160361 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 82.147.123.120, server: mysite.ru, request: "GET /ipsproarcade/index.php?act=Arcade&do=newscore HTTP/2.0", upstream: "fastcgi://unix:/var/run/mysite.ru.sock:", host: "mysite.ru" 2. 2023/10/20 04:56:15 [error] 3470329#3470329: *160923 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 82.147.123.120, server: mysite.ru, request: "POST /ipsproarcade/index.php?act=Arcade&do=newscore HTTP/2.0", upstream: "fastcgi://unix:/var/run/mysite.ru.sock:", host: "mysite.ru", referrer: "https://mysite.ru/arcade/gamedata/bubbleshooterdeluxe_Origon/?id=bubbleshooterdeluxe_Origon" The mysite.ru.sock file is in the destination folder! If anyone has encountered such a problem, share how you solved this issue!
November 9, 20232 yr Author After two weeks of picking at this problem, I found out that it was all about the URL! If the game was launched by the link: https://mysite.ru/ipsproarcade/playgame/22-block-buster/ - saving didn't work! If the game was launched by the link: https://mysite.ru/index.php?/ipsproarcade/playgame/22-block-buster/ - saving an account works great! I found only one option, disabled the URL redirection function... Now the module works perfectly and all the toys keep the scored score!
November 9, 20232 yr did you download the file as shown in the Rewrite URLs block and add it to your .htaccess file as shown ?
November 9, 20232 yr Author 6 hours ago, Legionaire said: did you download the file as shown in the Rewrite URLs block and add it to your .htaccess file as shown ? I have a server on Nginx and a file .htaccess does not work. But this feature was enabled.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.