2011-08-26 1 views
-1

, 그것은 기록 :Kohana에서보기에 객체를 사용하여 3.0 내가보기 파일에서 Kohana 2 버전에서 Kohana 3</p> <p>에 <a href="http://en.wikipedia.org/wiki/Kohana" rel="nofollow">Kohana</a> 2에서 프로젝트를 업그레이드하고

if ($this->uri->segment('page')) 
{ 
    if ($this->uri->segment(5)) 
    { 

Kohana에서 3,이 코드를

if ($this->request->param('page')) 
{ 
    if ($this->request->param('param5')) 
    { 

으로 변경했지만 다음과 같은 오류 메시지가 표시됩니다.

ErrorException [치명적인 오류] :이하지 않을 때 개체 컨텍스트에

어떻게이 문제를 해결해야 $ 사용하십니까?

답변

관련 문제