UnionOfRAD / lithium

li₃ is the fast, flexible and most RAD development framework for PHP
http://li3.me
BSD 3-Clause "New" or "Revised" License
1.22k stars 237 forks source link

crash after unslash error.php #52

Closed agborkowski closed 13 years ago

agborkowski commented 13 years ago

Notice: Undefined variable: render in /home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap/errors.php on line 29 Call Stack

Time Memory Function Location

1 0.0001 323268 {main}( ) ../index.php:0 2 0.0002 323528 require( '/home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap.php' ) ../index.php:21 3 0.0336 839588 require( '/home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap/errors.php' ) ../bootstrap.php:91

( ! ) Catchable fatal error: Argument 2 passed to lithium\core\ErrorHandler::apply() must be an array, string given, called in /home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap/errors.php on line 32 and defined in /home/agborkowski/Sites/holicon/pwi2/libraries/lithium/core/ErrorHandler.php on line 278 Call Stack

Time Memory Function Location

1 0.0001 323268 {main}( ) ../index.php:0 2 0.0002 323528 require( '/home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap.php' ) ../index.php:21 3 0.0336 839588 require( '/home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap/errors.php' ) ../bootstrap.php:91 4 0.0344 852732 lithium\core\ErrorHandler::apply( ) ../errors.php:32

agborkowski commented 13 years ago

after update error.php form last github folder app/bootstarp work fine..

Ciaro commented 13 years ago

The default filter in errors.php could probably use a review. I talked with @nateabele about it a bit, we are uncertain as of yet why it does not catch all errors. (see irc logs around 2011-07-26 for more info).

agborkowski commented 13 years ago

Ok i ll look it but i see its only thing about last configure from last commit from github , after update all works fine so i Suggest u to update app sources

agborkowski commented 13 years ago

Especialy error.php app file

agborkowski commented 13 years ago

...deleted...

Ciaro commented 13 years ago

@agborkowski: Sorry?

agborkowski commented 13 years ago

Sry im drunked ;/ neverminde, thanx for ur advice