Daily Lucky Numbers:

Magical Driving doesn't work

Started by Daniel Hofverberg, November 19, 2020, 07:14:19 PM

Previous topic - Next topic

Daniel Hofverberg

I have a problem with another game, which doesn't start either; Jungle Highway Escape. The opening screen shows, but then the "Loading" screen never appears.

And on my site:

Does that also have to do with UTF-8/ISO-8859-1, or is it a different issue? At a first glance, it looks like a different problem to me.

From the Console:
QuoteUncaught DOMException: Blocked a frame with origin "https://www.dubbningshemsidan.se" from accessing a cross-origin frame.
Access to internal resource at 'https://www.dubbningshemsidan.se/felhantering.php'; (redirected from 'https://dubbningshemsidan.se/forum/Games/JungleHighwayEscape_Origon/gamedata/JungleHighwayEscape_Origon/manifest.json';) from origin 'https://dubbningshemsidan.se' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

To me it looks like the game is trying to access https://dubbningshemsidan.se instead of https://www.dubbningshemsidan.se; I e without the leading www - which of course won't work as it would technically be a different domain.

Chen Zhen

November 22, 2020, 09:09:09 PM #16 Last Edit: November 22, 2020, 09:28:24 PM by Chen Zhen
The arcade has a setting for the url, ensure its root url (prior to /Games) is set to your canonical url.


Daniel Hofverberg

Quote from: Chen Zhen on November 22, 2020, 09:09:09 PMThe arcade has a setting for the url, ensure its root url (prior to /Games) is set to your canonical url.
My "Url To Games" setting in the Arcade has the correct URL, including www; but this particular game doesn't seem to acknowledge that.

Does anyone else have the same problem with Jungle Highway Escape?


It's working fine on my smf arcade

Chen Zhen

Quote from: Chen Zhen on November 21, 2020, 05:21:18 PMAlso you still have your forum set to ISO-8859-1 whereas I mentioned before that your database should be set to UTF-8 Unicode ci & your forum to be set to UTF-8 (and converted).

You seem to be ignoring this even though it's stated during installation, on the arcade info page & I've also mentioned it directly a few times now.
For some reason you don't seem to understand the importance of having your forum set up to use UTF-8 when hosting these HTML5 games.
This will cause problems with some games and should be done prior to reporting any other issues.