Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Uncaught could not load memory initializer AGKPlayer.html.mem

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 10th May 2017 21:45
Is there something wrong with HTML5 export?

I get the above message in chrome when I try anything, even a simple app.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 11th May 2017 09:00
Are all the files in the correct place? URLs point to the correct place?
Signature removed by mod because it's larger than 600x120... please resize and try again.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 11th May 2017 19:43
Seems to be?
I seem to recall trying this when it was added and it worked fine.

I just put the contents of the HTML5 folder in a folder on my web server right?

I get the Made in AppGameKit page, a couple second pause and error.
No-one else seems to have mentioned it when I've searched here.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 14th May 2017 00:12
Just wondering - can anyone who has got HTML5 working, just confirm the steps required in case I'm doing something dumb here?
MoisesBrito31
8
Years of Service
User Offline
Joined: 19th Sep 2016
Location:
Posted: 16th May 2017 03:13
This mistake happens to me too. I export the game to html5 and test it in my browser and it works normally, but when it's up on a windows server this error is displayed
What could be wrong? Or is it not possible to run on windows servers maybe?
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 16th May 2017 09:10
Quote: "is it not possible to run on windows servers maybe?"

Some browsers do not work with a local deployment, and require an actual web server. (But you can download packages like xampp which contain everything needed to get a development web server up and running.)
Signature removed by mod because it's larger than 600x120... please resize and try again.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 16th May 2017 19:33
I deploy it to a working web server. What are the actual steps then?

I just copy the HTML5 folder contents to a folder on the Web server.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 17th May 2017 09:19
Quote: "I just copy the HTML5 folder contents to a folder on the Web server"

That's it. It should work from there. Just remember it's case sensitive, and to set your FTP transfer types correctly. (Usually default, or auto *should* work, but sometimes it gets things wrong and transfers the binary .mem file as text which could cause issues.)
Signature removed by mod because it's larger than 600x120... please resize and try again.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 17th May 2017 20:29
^ the server is available to me on my LAN, so I just copy it there.
I'll check the case sensitivity, as this may be something. In fact, if that's the issue it's a bit of a bizarre error message though.

Login to post a reply

Server time is: 2024-11-24 14:12:35
Your offset time is: 2024-11-24 14:12:35