This topic was marked solved by its starter, on February 21st, 2014, 12:57 AM
Unable to Browse Site IE

Bunstonious

  • Espada
  • Posts: 204
Unable to Browse Site IE
« on February 20th, 2014, 03:29 AM »
On my work laptop with IE 9 I am unable to browse to Wedge.org and get the attached error.

Works fine in Chrome, not a big issue just reporting it (could happen to other peeps).

Quote from Random Guy
Not putting miles on your Ferrari is like not having sex with your Girlfriend so she'll be more desirable to her next Boyfriend

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Unable to Browse Site IE
« Reply #1, on February 20th, 2014, 10:57 AM »
It's probably not due to IE9, but I'll have a look.

That's really strange, that error message...!
That line is part of wess_rgba, which extends wess, so it CAN access its protected methods. It's one of the basic principles of PHP5 OO...!
Maybe it's a problem with the lambda function. Hmm... That would be ridiculous. :-/

Bunstonious

  • Espada
  • Posts: 204
Re: Unable to Browse Site IE
« Reply #2, on February 20th, 2014, 12:44 PM »
It may not be IE 9, but it's weird because it doesn't happen in Chrome.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Unable to Browse Site IE
« Reply #3, on February 20th, 2014, 01:28 PM »
Well, it doesn't appear when the function isn't executed. I haven't looked too much into it, but that's what's happening... I guess!

Bunstonious

  • Espada
  • Posts: 204
Re: Unable to Browse Site IE
« Reply #4, on February 21st, 2014, 12:24 AM »
*shrug*

I'll just use Chrome.

I might see if I can sneaky check one of the citrix IE's.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Unable to Browse Site IE
« Reply #5, on February 21st, 2014, 12:52 AM »
Just make sure to test the latest version in IE9, and mark this as solved ;)

Bunstonious

  • Espada
  • Posts: 204
Re: Unable to Browse Site IE
« Reply #6, on February 21st, 2014, 12:57 AM »
Oh hey it's working... WIN!!!

How did you fix it? What was the problem?

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Unable to Browse Site IE
« Reply #7, on February 21st, 2014, 01:05 AM »
Well... I did post a new commit earlier today saying that I'd reverted the function change... :^^;:
This is due to a PHP bug, where closures enclosed within a class method can't call protected or private methods that would normally be available in their scope. Since closures are precisely supposed to be functions that inherit their context's visibility settings, it's really what I'd call a bug.

Hopefully, this problem will only be obvious in that function. But really, enough to make you think twice about going for a 100%-closure codebase, I guess... So much for PHP 5.3 being a must-have?

Bunstonious

  • Espada
  • Posts: 204
Re: Unable to Browse Site IE
« Reply #8, on February 21st, 2014, 01:13 AM »
I try to read the commit logs, but I am not that programmer savvy yet :P

PS: thanks man, you are probably the friendliest project main developer I have seen.