ipage hosting problem?

Discussion and feedback on Construct 2

Post » Mon Nov 11, 2013 3:59 am

Hi, I bought a hosting plan to ipage.com and uploaded my first html5 game there using construct 2. But the game doesn't shows up. There's only a black screen. Anyone also got a problem like this to your hosting?

Thanks!
B
8
Posts: 14
Reputation: 337

Post » Mon Nov 11, 2013 6:23 am

Have you configured your site for the correct mime types? I believe there is either a section in the manual or a tutorial on hosting your game on your own site...
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Mon Nov 11, 2013 7:15 am

The mime types were mainly for getting sound to work, but black screen usually means it stopped with a java error. Probably not recognizing the filetype.

Do you have a "webconfig" file in your root directory?
here is a clip of the start of mine, it has a bunch of other junk in it you wouldn't need.

<configuration>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".ogg" mimeType="audio/ogg" />
       <mimeMap fileExtension=".m4a" mimeType="audio/mp4" />
        </staticContent>

If you don't have access to one, ask your provider about adding a couple mime types, they may have to do it for you.

Here is a tutorial page:
https://www.scirra.com/tutorials/655/tips-on-publishing-html5-games-to-the-web#h2a3

edit:
you might go ahead and stick:

<mimeMap fileExtension=".webapp" mimeType="application/x-web-app-manifest+json" />

under the audio types, if you ever submit to Firefox marketplace, it needs that one.Paradox2013-11-11 07:20:57
B
231
S
62
G
33
Posts: 902
Reputation: 40,348

Post » Mon Nov 11, 2013 8:20 am

My website I think is not configured about this mime types. Thank you guys! I'll get back as soon as I corrected this errors!
B
8
Posts: 14
Reputation: 337

Post » Mon Nov 11, 2013 1:51 pm

Their support fixed the problem. They added the mime type and configured the htaccess. Thank you guys!
B
8
Posts: 14
Reputation: 337


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 24 guests