Re: Test Framework login page broken

I think this was probably caused by some automatic Debian update of the php
packages on the server. Apparently it's due a case where PHP handles some
things differently depending on whether it's in strict mode or not, and
maybe some update caused PHP to be switched to strict mode. Or something.

Anyway, I think I've fixed it now. But if you notice any other problems
please let me know.

  --Mike

Ms2ger <ms2ger@gmail.com>, 2012-03-24 14:18 +0100:

> Hi all,
> 
> <http://w3c-test.org/framework/maintain> is currently broken; see error
> message below.
> 
> Not sure what caused it, there don't seem to be any recent changes in the
> repo.
> 
> HTH
> Ms2ger
> 
> >For authorization to use this part of the system, contact
> >
> >ERROR: Only variables should be passed by reference
> >
> >File: /u/www.w3c-test.org/framework/local/LoginRequiredPage.local.php
> >
> >Line: 47
> >
> >Context:
> >
> >Array
> >(
> >    [authorizers] => Array
> >        (
> >            [Michael[tm] Smith] => mike@w3.org
> >            [Philippe Le Hégaret] => plh@w3.org
> >        )
> >
> >)
> >
> >#0  Page->writeHTMLError() called at [/u/www.w3c-test.org/framework/core/DynamicPage.php:206]
> >#1  DynamicPage->writeHTMLError() called at [/u/www.w3c-test.org/framework/core/Page.php:1681]
> >#2  Page->errorHandler(2048, Only variables should be passed by reference, /u/www.w3c-test.org/framework/local/LoginRequiredPage.local.php, 47, Array ([authorizers] => Array ([Michael[tm] Smith] => mike@w3.org,[Philippe Le Hégaret] => plh@w3.org))) called at [/u/www.w3c-test.org/framework/local/LoginRequiredPage.local.php:47]
> >#3  LocalLoginRequiredPage->writeBodyContent() called at [/u/www.w3c-test.org/framework/core/Page.php:1558]
> >#4  Page->writeHTMLBody() called at [/u/www.w3c-test.org/framework/core/Page.php:1438]
> >#5  Page->writeHTML() called at [/u/www.w3c-test.org/framework/core/Page.php:1356]
> >#6  Page->write() called at [/u/www.w3c-test.org/framework/core/Page.php:69]
> >#7  Page::RunPage(LoginRequiredPage) called at [/u/www.w3c-test.org/framework/core/Auth.php:113]
> >#8  Auth::_httpAuthenticate() called at [/u/www.w3c-test.org/framework/core/Auth.php:46]
> >#9  Auth::_getCredentials() called at [/u/www.w3c-test.org/framework/core/Auth.php:24]
> >#10 Auth::Authenticate() called at [/u/www.w3c-test.org/framework/addchange.php:20]
> >
> >
> >Cookie:
> >
> >Array
> >(
> >    [crumbs] => test cookie
> >)
> 
> 

-- 
Michael[tm] Smith http://people.w3.org/mike/+

Received on Monday, 26 March 2012 08:45:39 UTC