Daily Lucky Numbers:
4
5
23
25
26
38

Recent posts

#21
SMF Arcade Support + Plugins / Re: Arcade has gone
Last post by Dave - August 08, 2022, 01:15:55 AM
Great idea Chen
#22
SMF Arcade Support + Plugins / Troubleshooting tips for SMF A...
Last post by Chen Zhen - August 07, 2022, 10:32:57 PM
Having a problem with your Arcade?
Have a look at this list for troubleshooting which may help you resolve a problem on your own.
If you're still having an issue, please feel free to post a support thread/topic in this board.

  • Mod-Security (Apache module/app) should be disabled
  • Varnish (Apache module/app) should be disabled
  • Forum paths & directories should be checked/adjusted
  • Arcade paths & directories should be checked/adjusted
  • Forum cache settings may need to be adjusted
  • Any improper JavaScript (showing errors in the console) from other sources may cause conflicts
  • Server config file may be necessary (ensure it exists after creation): Admin -> Arcade Maintenance -> Server Config
  • Improper SSL (HTTPS) settings
  • Improperly configured server config file ( ie. .htaccess ) in your main forum directory
  • forum resides in a sub-directory that may need a server config file in the parent directory <<-EXAMPLE CONFIG FILE-->
#23
SMF Arcade Support + Plugins / Re: Arcade has gone
Last post by Chen Zhen - August 07, 2022, 10:30:42 PM

I'm going to use that list in a sticky so other people can troubleshoot.
#24
SMF Arcade Support + Plugins / Re: Saving scores for SMF foru...
Last post by Chen Zhen - August 07, 2022, 10:26:03 PM

No problem.

Keep in mind that the path of "forum" in the .htaccess file code from above may have to be edited with whatever unique path name is being used. The above is just an example for Apache.
#25
SMF Arcade Support + Plugins / Re: Arcade has gone
Last post by Chen Zhen - August 07, 2022, 10:06:31 PM

Thanks for letting me know about the admin problem which is definitely a bad bug.
It should be fixed with the current available version 2.6.9.4.
 
#26
SMF Arcade Support + Plugins / Re: Saving scores for SMF foru...
Last post by Dave - August 07, 2022, 05:09:16 AM
You area very clever man.

Since changing to the new host, when a game is played the submit button, if there was one, took you straight to the forums main page. So I followed your instructions above and added the .htaccess file to the domain, then low and behold I can now score games again.

Thank you very much
#27
SMF Arcade Support + Plugins / Re: Arcade has gone
Last post by Dave - August 07, 2022, 03:53:39 AM
    Quote from: Chen Zhen on August 06, 2022, 11:04:43 PMThere are several things that can cause issues as you describe.

    • Mod-Security should be disabled
    • Forum paths & directories should be checked/adjusted
    • Arcade paths & directories should be checked/adjusted
    • Forum cache settings may need to be adjusted
    • Any improper JavaScript (showing errors in the console) from other sources may cause conflicts
    • Server config file may be necessary (ensure it exists after creation): Admin -> Arcade Maintenance -> Server Config
    • Improper SSL (HTTPS) settings
    • Improperly configured server config file ( ie. .htaccess ) in your main forum directory
    • forum resides in a sub-directory that may need a server config file in the parent directory

    There's also another type of cache that people sometimes install for the server itself but it's name slips my mind at the moment. I don't think you have that installed though because it causes problems with SMF itself just like Mod-Security.


    • Mod-Security should be disabled
    Now disabled though .htaccess
    • Forum paths & directories should be checked/adjusted
    Checked with repair settings. The only issues here were change cookie and Queryless URLs: was on now it's off. All other paths correct
    • Arcade paths & directories should be checked/adjusted
    All correct
    • Forum cache settings may need to be adjusted
    All correct
    • Any improper JavaScript (showing errors in the console) from other sources may cause conflicts
    None evident
    • Server config file may be necessary (ensure it exists after creation): Admin -> Arcade Maintenance -> Server Config
    Cannot be seen
    • Improper SSL (HTTPS) settings
    All correct
    • Improperly configured server config file ( ie. .htaccess ) in your main forum directory
    This was causing the scoring issue but not the arcade gone one
    • forum resides in a sub-directory that may need a server config file in the parent directory
    AFAIK forum not is sub directory


    I looked at all of those and as you can see there was very little wrong. However I have managed to get the arcade back and to do that I went to phpmyadmin and looked at my settings table. There towards the end is a variable 'arcadeEnabled' which when I arrived was on '0' after changing that to '1' miraculously the arcade appeared.

    Now it seems to me that this must be an error with the arcade coding as surely even if the arcade was disabled in admin so it can't be seen on the site, it should still be seen in admin.

    I have now played the 'Tire Toss' game and it scores OK so ruffle is working OK. It's probably the mod_security or the .htaccess file you mentioned that messed it up in the first place.

    Thanks for the check list of what to search for. I'll leave the other bit to you ;)

    You see below the screenshots I took along the way

    [/list]
    #28
    SMF Arcade Support + Plugins / Saving scores for SMF forums t...
    Last post by Chen Zhen - August 07, 2022, 02:09:02 AM
    If your SMF forum resides in a sub-directory server path then you may have problems saving scores for some games.
    In this scenario, a game may redirect to the parent directory of your forum path whilst showing a 403 path error.
    Your solution is to adjust your server config or add a server config file in the main server path.

    ie. for Apache
    Main website url path is: https://mydomain.com
    SMF url path is: https://mydomain.com/forum

    Use FTP or your terminal to create a .htaccess file in your main server path for "mydomain.com" (not your SMF path but possibly its parent path)

    htaccess possible contents:
    RewriteEngine on
    RewriteCond %{QUERY_STRING} act=Arcade
    RewriteCond %{REQUEST_URI} !forum
    RewriteRule (.*) https://%{HTTP_HOST}/forum/$1 [NC,L]
    #29
    SMF Arcade Support + Plugins / Re: Arcade has gone
    Last post by Chen Zhen - August 06, 2022, 11:04:43 PM

    There are several things that can cause issues as you describe.

    • Mod-Security should be disabled
    • Forum paths & directories should be checked/adjusted
    • Arcade paths & directories should be checked/adjusted
    • Forum cache settings may need to be adjusted
    • Any improper JavaScript (showing errors in the console) from other sources may cause conflicts
    • Server config file may be necessary (ensure it exists after creation): Admin -> Arcade Maintenance -> Server Config
    • Improper SSL (HTTPS) settings
    • Improperly configured server config file ( ie. .htaccess ) in your main forum directory
    • forum resides in a sub-directory that may need a server config file in the parent directory

    There's also another type of cache that people sometimes install for the server itself but it's name slips my mind at the moment. I don't think you have that installed though because it causes problems with SMF itself just like Mod-Security.
    #30
    SMF Arcade Support + Plugins / Arcade has gone
    Last post by Dave - August 06, 2022, 05:49:37 PM
    It all started so well. I transferred the site files to the new host and uploaded the games etc and most of it was working.

    Then earlier today suddenly some games in the arcade decided to stop scoring and displaying 'Oops, looks like the page is lost at the endsubmit' which is the hosts 403 error.

    Then Ruffle decided to stop working and a game, Tiretoss, that I tested and got a score on would not work having a Ruffle error screen where the game should be.

    I then checked that all the hooks were there, which they were, then I thought I'd update Ruffle from the Github as the link to your server timed out. The update worked ok but the Tiretoss would still not play.

    So my last resort was to disable the arcade in it's settings and thought I'd have a look tomorrow. But I cannot leave it so I uninstalled Arcade via the Package manager deleted the file and then checked all the templates it writes to so make sure all traces of it were gone.

    They were all gone, all the hooks had been removed also.

    So I then reinstalled the Arcade with the latest version and although it shows in the package manager as installed I cannot see it in Admin. The 12 hooks have been installed and all the folders associated with it are there to but nothing can be seen in admin.

    It's late here so I'm going to bed

    So the question is what do you think the issue might be?

    regards