C2 built Website crashes Safari

0 favourites
  • 12 posts
From the Asset Store
This is a single chapter about "Decision Science" strategy games from the "Construct Starter Kit Collection" workshop.
  • Problem Description

    HTML5 website won't load in either OS X Safari or iOS Safari. OS X Safari crashes after it tries to load the website. Tested on multiple devices. http://giggleslugs.com/JSProblem1/index.html

    Description of Capx

    It's an interactive comic for kids.

    Steps to Reproduce Bug

    • Export Project from C2 as an HTML5 website
    • Upload website contents to server
    • Load website in browser and it crashes

    Observed Result

    On both Safari and mobile Safari, website repeatedly tries to load, then refuses to load. An error message appears, "A problem repeatedly occurred on "http://giggleslugs.com/". The OS X Safari crashes.

    Expected Result

    For the website to run properly.

    Affected Browsers

    • Chrome: No
    • FireFox: No
    • Internet Explorer: Not tested
    • Safari: Yes
    • iOS Safari: Yes

    Construct 2 Version ID

    r206

    Plugins in project

    • Audio (used)
    • Keyboard (not used)
    • Mouse (not used)
    • Touch (used)

    Behaviors in project

    • Pin (used)
    • Fade (used)
    • Sine (used)
  • If the browser crashes, it's not a problem with C2. Either you used too much memory, or the bug is in the browser. See the bug report FAQ about reporting issues in browsers. Closing.

  • If the browser crashes, it's not a problem with C2. Either you used too much memory, or the bug is in the browser. See the bug report FAQ about reporting issues in browsers. Closing.

    Hi Ashley,

    Thank you for the response. It's not a memory problem. I think it can be a problem with C2, if C2 creates javascript errors that the Safari browser might be sensitive to, and that other browsers might ignore.

    I did some more testing. I deleted everything but the title layout in the old C2 project that was having the problem, and recreated everything in the title layout from scratch in a new C2 project. The new one works fine in Safari, and the old project still crashes Safari. They are identical (same images, and events, no third party plugins). Tests:

    http://giggleslugs.com/JSProblem1/index.html (old)

    http://giggleslugs.com/JSProblem2/index.html (new)

    Whatever might be causing the problem, I just thought you might like to know about it.

  • Sebastian - no, browser crashes are certainly a problem in the browser. It is not normally possible for web content to crash the browser, no matter what the content does.

  • Ashley

    That's not really what I'm concerned about. Safari crashing is symptom. The problem is that a webpage built in Construct 2 doesn't load in Safari. I don't think it's wrong for me to want a website I built in C2 to be viewable on iOS devices, as advertised.

    You haven't made a reference to the two examples I posted, so I feel like you are dismissing this issue, because you misunderstood the problem. Why would one example consistently load in Safari and the other won't load, when they both have the same assets and events? Something in the first example is preventing it from loading in Safari.

  • The report did not include a .capx, so we can't investigate this anyway. Please review the bug report guidelines.

  • Ashley

    That's not really what I'm concerned about. Safari crashing is symptom. The problem is that a webpage built in Construct 2 doesn't load in Safari. I don't think it's wrong for me to want a website I built in C2 to be viewable on iOS devices, as advertised.

    You haven't made a reference to the two examples I posted, so I feel like you are dismissing this issue, because you misunderstood the problem. Why would one example consistently load in Safari and the other won't load, when they both have the same assets and events? Something in the first example is preventing it from loading in Safari.

    Without a capx it is impossible to problem shoot. I suggest you open a bug report, attach a capx file and exactly how to reproduce the issue (if it is a bug, then you should be able to).

    Check you error logs, I noticed you had an error on your examples... (not c2 related, but server related)

  • It could be a very short sound file, but I cannot guarantee without a .capx.

  • grigrizljac

    Thanks so much for your answer! It was an audio issue.

    Ashley

    Thanks, but grigrizljac pointed me in the right direction. It was an corrupt audio file, sometimes created by importing and converting audio formats within C2. I converted the audio files in a different program, replaced the audio files in my C2 project, and it loads perfectly in Safari now.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • grigrizljac

    Thanks so much for your answer! It was an audio issue.

    You're welcome, I'm happy that you've resolved the issue.

  • grigrizljac

    Thanks so much for your answer! It was an audio issue.

    Ashley

    Thanks, but grigrizljac pointed me in the right direction. It was an corrupt audio file, sometimes created by importing and converting audio formats within C2. I converted the audio files in a different program, replaced the audio files in my C2 project, and it loads perfectly in Safari now.

    Sebastian Hey... can you guys let me know what you're using to convert audio files? I seem to be having the same issue.

  • mudmask

    Hi there! Sorry for the late reply. I use Adobe Audition CS6 to edit and convert audio files. Unless you have a Mac, I can't really think of a cheaper option. I know there has to be something out there though. Maybe try http://sourceforge.net?

    Wish I could be of more help. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)