I created a registerAction in VisitorController.php which is in
/wwwroot/application/controllers, and I set its as follows:
$this->view->visitor = new stdClass();
$this->view->visitor->username='';
$this->view->visitor->password='';
....
It render /wwwroot/application/views/scripts/visitor/register.phtml, worked!

But when I created another loginAction in MemberController.php which is also
in /wwwroot/application/controllers, and I set its as follows:
$this->view->member = new stdClass();
$this->view->member->username='';
$this->view->member->password='';
....
And I did create login.phtml in /wwwroot/application/views/scripts/member/.
But failed on the following errors:
Uncaught Exception 'Zend_View_Exception' with message 'script
'member/login.phtml' not found in path ('./application/views/scripts/')' in
/Zend/View/Abstract.php:856

I really want to know what's wrong with me!

Thanks a lot buddies!
-- 
View this message in context: 
http://www.nabble.com/View-problem%21-tf4114926s16154.html#a11701724
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to