Kohana 3.0.12 how to log?

You get this error because neither Kohana_Exception nor Exception classes don't have text() method. I think the author of the module wanted to write like this.

You get this error because neither Kohana_Exception nor Exception classes don't have text() method. I think the author of the module wanted to write like this: Kohana::$log->add(Kohana::ERROR, Kohana::exception_text($e)).

– dana Dec 2 '11 at 12:28 body() was introduced in 3.2, for 3.0 I believe you should use Request::factory(Route::get('kohana_error')->uri($request)) ->execute() ->send_headers() ->response; – matino Dec 2 '11 at 12:39 problem solved. One (more) problem left: it actually doesn't log this kind of errors in the log location (declared in the bootstrap). Any hints?

Thanks a lot – dana Dec 2 '11 at 12:49.

I belive the exception handling in 3.0 is located in the Kohana class. Try Kohana::exception(), or look in api guide if that isn't it.

Thanks, @matino solution solved my problem – dana Dec 2 '11 at 12:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions