Yii Framework Forum: Require() [<A Href='function.require'>Function.require</a>]: Filename Cannot Be Empty - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Require() [<A Href='function.require'>Function.require</a>]: Filename Cannot Be Empty Erro após a geração dos models e crud Rate Topic: -----

#1 User is offline   leocarpi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 14-March 13

Posted 14 March 2013 - 11:45 AM

Acabei de instalar o Yii. Segui todas as orientações do site, conectei com o banco, gerei os models e cruds, mas ao tentar rodar a seguinte página ( index.php?r=aluno ), exibe o erro abaixo:

PHP warning

require() [<a href='function.require'>function.require</a>]: Filename cannot be empty

C:\wamp\www\yii\framework\web\CBaseController.php(130)


118         if(is_array($_data_))
119             extract($_data_,EXTR_PREFIX_SAME,'data');
120         else
121             $data=$_data_;
122         if($_return_)
123         {
124             ob_start();
125             ob_implicit_flush(false);
126             require($_viewFile_);
127             return ob_get_clean();
128         }
129         else
130             require($_viewFile_);
131     }
132 

0

#2 User is offline   gbasto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 28-September 10
  • Location:Portugal

Posted 15 March 2013 - 09:47 PM

Pode colocar o callstack todo até ao erro?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users