Page does not refresh after beating level

When I click “done” after winning a level, the page does not bring me back to the map and I have to refresh the page.

Update: When I click “Continue” (not Done) after a Victory, the page will not take me back to the map.

Hmm, I’m not seeing the bug–can you check your JS console to see if it’s reporting any errors? Thanks!

I opened it though I’m too inexperienced to know what I’m looking for. Here is what it shows after I press “Continue”:

It’s just frozen and won’t take me back to the map :frowning:

Ah, thanks. Click the “Console” tab in that screenshot and then look for red error messages in there–what do you see?

oh, cool. I get this right after clicking “continue” (this messages has been duplicated a few times):

[Log] Tracking internal analytics event: Loaded World Map (app.js, line 445)
Object

[Log] Would track analytics event: Loaded World Map (app.js, line 443)
Object
[“Google Analytics”]
[Log] THREE.WebGLRenderer 70 (play, line 887)
[Error] Error creating WebGL context.
WebGLRenderer (play, line 895)
t (app.js, line 411)
testParticles (play, line 523)
afterRender (play, line 512)
render (app.js, line 681)
onNavigate (app.js, line 434)
publish (vendor.js, line 6887)
onClickContinue (play, line 819)
e (vendor.js, line 490)
dispatch (vendor.js, line 275)
handle (vendor.js, line 267)
[Error] TypeError: null is not an object (evaluating ‘At.getShaderPrecisionFormat’)
(anonymous function) (play, line 895)
[Log] THREE.WebGLRenderer 70 (play, line 887)
[Error] Error creating WebGL context.
WebGLRenderer (play, line 895)
t (app.js, line 411)
testParticles (play, line 523)
afterRender (play, line 512)
render (app.js, line 681)
onLoaded (play, line 505)
u (vendor.js, line 805)
trigger (vendor.js, line 796)
updateProgress (app.js, line 257)
(anonymous function) (app.js, line 238)
(anonymous function) (vendor.js, line 698)
[Error] TypeError: null is not an object (evaluating ‘At.getShaderPrecisionFormat’)
(anonymous function) (play, line 895)
[Log] THREE.WebGLRenderer 70 (play, line 887)
[Error] Error creating WebGL context.
WebGLRenderer (play, line 895)
t (app.js, line 411)
testParticles (play, line 523)
afterRender (play, line 512)
render (app.js, line 681)
onSessionsLoaded (play, line 526)
(anonymous function) (vendor.js, line 787)
(anonymous function) (vendor.js, line 705)
u (vendor.js, line 811)
trigger (vendor.js, line 796)
success (vendor.js, line 876)
h (vendor.js, line 213)
fireWith (vendor.js, line 216)
i (vendor.js, line 405)
(anonymous function) (vendor.js, line 442)
[Error] TypeError: null is not an object (evaluating ‘At.getShaderPrecisionFormat’)
(anonymous function) (play, line 895)
[Log] Posted 1 error to errorception.com (51a79585ee207206390002a2.js, line 1)
[Log] Posted 2 errors to errorception.com (51a79585ee207206390002a2.js, line 1)
[Log] Tracking internal analytics event: Loaded World Map (app.js, line 445)
Object

[Log] Would track analytics event: Loaded World Map (app.js, line 443)
Object
[“Google Analytics”]
[Log] THREE.WebGLRenderer 70 (play, line 887)
[Error] Error creating WebGL context.
WebGLRenderer (play, line 895)
t (app.js, line 411)
testParticles (play, line 523)
afterRender (play, line 512)
render (app.js, line 681)
onNavigate (app.js, line 434)
publish (vendor.js, line 6887)
onClickContinue (play, line 819)
e (vendor.js, line 490)
dispatch (vendor.js, line 275)
handle (vendor.js, line 267)
[Error] TypeError: null is not an object (evaluating ‘At.getShaderPrecisionFormat’)
(anonymous function) (play, line 895)
[Log] THREE.WebGLRenderer 70 (play, line 887)
[Error] Error creating WebGL context.
WebGLRenderer (play, line 895)
t (app.js, line 411)
testParticles (play, line 523)
afterRender (play, line 512)
render (app.js, line 681)
onSessionsLoaded (play, line 526)
(anonymous function) (vendor.js, line 787)
(anonymous function) (vendor.js, line 705)
u (vendor.js, line 811)
trigger (vendor.js, line 796)
success (vendor.js, line 876)
h (vendor.js, line 213)
fireWith (vendor.js, line 216)
i (vendor.js, line 405)
(anonymous function) (vendor.js, line 442)
[Error] TypeError: null is not an object (evaluating ‘At.getShaderPrecisionFormat’)
(anonymous function) (play, line 895)
[Log] THREE.WebGLRenderer 70 (play, line 887)
[Error] Error creating WebGL context.
WebGLRenderer (play, line 895)
t (app.js, line 411)
testParticles (play, line 523)
afterRender (play, line 512)
render (app.js, line 681)
onLoaded (play, line 505)
u (vendor.js, line 805)
trigger (vendor.js, line 796)
updateProgress (app.js, line 257)
(anonymous function) (app.js, line 238)
(anonymous function) (vendor.js, line 698)
[Error] TypeError: null is not an object (evaluating ‘At.getShaderPrecisionFormat’)
(anonymous function) (play, line 895)
[Log] Posted 1 error to errorception.com (51a79585ee207206390002a2.js, line 1)
[Log] Posted 2 errors to errorception.com (51a79585ee207206390002a2.js, line 1)

Update: After beating the “Thornbush Farm” level, the “continue” button works. Not sure if you changed anything but… yay!

Update: Now it’s not working again… oh well

That’s weird. I disabled the thing that might have been causing this, but I did shortly after you posted this, so my fix can’t have helped. I’ll keep my eye out for this bug when trying to re-enable it.

I have this issue + a few others that seem to be related.

I tested on linux 64b google chrome (my machine) and on Win7 (different machine) and …

[…deleted…]

Oh, (Win7) not newest version google-chrome (was: 40.0.2214.111 m). updating and retesting. Now 40.0.2214.115 m.

OK, my 64b linux was also on version 40.0.2214.111 now on 40.0.2214.115 and it is behaveing slightly better.

Problems I was having:

  1. No “World” page: …/play & …/play/dungeon the same.
  2. “continue”, “view others”, and “levels” links not working (levels & continue change address bar but don’t “refresh”).
  3. no fiery circles for levels I am high enough to do but haven’t done the preqs for.

1 and 2 seemed to be fine if I was NOT logged in.

OK, having updated google-chrome:

Win7 and Linux still have issues: but work a little better.

1 - works if I am not logged in. (although not once you have logged in then out and not closed the browser)
2 - Win7 works logged out but not if logged in.
   - Linux: doesn’t work logged in or not.
3 - Win7 works.
   - Linux: doesn’t work if logged in (no idea if it works if not logged in as that would take getting a bunch of levels to test…)

error console snippets:

  1. after poking “Play” from codecombat.com page:
    view on screen is same as /play/dungeon :frowning:
app.js:400 lib
vendor/three
views/account/AccountSettingsView
views/play
app.js:400 loaded 4 files, 1013 KB
(program):887 THREE.WebGLRenderer 70
(program):895 Error creating WebGL context.
(program):895 Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null
beacon.errorception.com/51a79585ee207206390002a2.js:1 Posted 1 error to errorception.com
v3:1 Mixed Content: The page at 'https://checkout.stripe.com/v3' was loaded over HTTPS, but requested an insecure image 'http://codecombat.com/images/pages/base/logo_square_250.png'. This content should also be served over HTTPS.
  1. there are errors from during the loading of the page, (short version) after “Next” but before “Start Level”:
lib
vendor/three
views/account/AccountSettingsView
views/play
ModuleLoader.coffee:85 loaded 4 files, 1013 KB
three.min.js:513 THREE.WebGLRenderer 70
three.min.js:517 Error creating WebGL context.
three.min.js:517 Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null
51a79585ee207206390002a2.js:1 Posted 1 error to errorception.com
v3:1 Mixed Content: The page at 'https://checkout.stripe.com/v3' was loaded over HTTPS, but requested an insecure image 'http://codecombat.com/images/pages/base/logo_square_250.png'. This content should also be served over HTTPS.
CocoModel.coffee:90 Populated defaults for Level Dungeons of Kithgard in 23ms
ModuleLoader.coffee:84 vendor/aether-python
ModuleLoader.coffee:85 loaded 1 files, 0 KB
Level.coffee:170 Potion Master couldn't find lc for Object of Array[35]
Level.coffee:170 Potion Master couldn't find lc for Object of Array[35]
Level.coffee:170 Potion Master couldn't find lc for Object of Array[35]
Level.coffee:170 Potion Master couldn't find lc for Object of Array[35]
Level.coffee:170 Samurai couldn't find lc for Object of Array[35]
Level.coffee:170 Samurai couldn't find lc for Object of Array[35]
Level.coffee:170 Trapper couldn't find lc for Object of Array[35]
Level.coffee:170 Trapper couldn't find lc for ObjectmajorVersion: 0original: "5466d12d417c8b48a9811e42"__proto__: Object of Array[35]0: Object1: Object2: Object3: Object4: Object5: Object6: Object7: Object8: Object9: Object10: Object11: Object12: Object13: Object14: Object15: Object16: Object17: Object18: Object19: Object20: Object21: Object22: Object23: Object24: Object25: Object26: Object27: Object28: Object29: Object30: Object31: Object32: Object33: Object34: Objectlength: 35__proto__: Array[0]Level.coffee:170 t.exports.t.sortThangComponents.l

etc, etc, etc (looks like it is trying to access object #35 from a lot of length 35 arrays (0-34).

after poking “Levels” link:

three.min.js:513 THREE.WebGLRenderer 70
three.min.js:517 Error creating WebGL context.
three.min.js:517 Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null
three.min.js:513 THREE.WebGLRenderer 70
three.min.js:517 Error creating WebGL context.
three.min.js:517 Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null
three.min.js:513 THREE.WebGLRenderer 70
three.min.js:517 Error creating WebGL context.
three.min.js:517 Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null
51a79585ee207206390002a2.js:1 Posted 3 errors to errorception.com

Aha! This change should fix it: https://github.com/codecombat/codecombat/commit/ab252adf90ff493894e473a6c6c4ffc1afb2010e

Deploying now, should be live a bit later tonight.

Yeah, I poke play from the main codecombat.com page and I go to the World page and not the dungeon!!! (and I’m even logged in) (wasn’t doing that earlier today)

So that’s #1 & #2 form the list above, still no fiery rings, but still its

Awesome, Thanks!!