Preview error : "log is not a function"

0 favourites
  • 10 posts
From the Asset Store
7 Errors
$12.75 USD
15% off
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Problem Description

    Previewing a project in Firefox always raises an error.

    Steps to Reproduce Bug

    • Create or open a project
    • Hit F5 (preview)

    Observed Result

    I get the following error :

    [quote:17cdvld7]Javascript error!

    TypeError: log is not a function

    http://localhost:50000/glwrap.js, line 554 (col 4)

    This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.

    Expected Result

    A working preview of my project <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Here's line 554 in my glwrap.js file :

    log("Shader '" + name + "' log: " + infoLog);[/code:17cdvld7]
    If I'm not mistaken, it should read [b]console.log[/b] instead of [b]log[/b] alone.
        
    [b]Affected Browsers[/b]
    [ul]
        [li] Chrome: not tested
        [/li][li] FireFox: YES
        [/li][li] Internet Explorer: not tested[/li][/ul]
        
    [b]Operating System and Service Pack[/b]
    Windows 8
        
    [b]Construct 2 Version ID[/b]
    Construct 2 r248
  • Does the same for me in Chrome Canary...!

  • Have the same bug. Just cant preview my project since i've updated java. Yesterday it works well...

  • When did you download r248?

    Ashley had to fix a something in r248 late yesterday (see Release Notes) so may be worth re-downloading, just in case.

  • Indeed, I've just checked the timestamp of the file I had downloaded : about one hour earlier than the update...

    I installed the update... and everything works perfectly.

    Sigh... Why didn't I even bother going to the download page again in case it had been fixed, and why did I rush to create a useless topic instead ?

    Thanks a lot, Zenox !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It works for me too with the newer update. The update should have been renumbered to avoid such confusion.

  • It works very well now, thanks!

  • Mmmm. It's broken for me again. There's nothing like an intermittent bug to fix.

    Version 64.0.3256.0 (Official Build) canary (64-bit)

    Construct 2 r248 64 bit built at 14:15:45 Oct 31 2017.

    zenox98 - can you un-close this please?

  • Colludium - you need to re-download r248. The C2 version you mentioned is from before we updated the download.

  • Thanks Ashley, will do.

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