Thanks Til,
But I set baseURL, and what is strange: it worked with visitor/register, but
didn't with member/login
tfk wrote:
>
> On 7/20/07, minglee <[EMAIL PROTECTED]> wrote:
>>
>> 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
>
> Doublecheck setScriptPath().
>
> Hope that helps,
> Til
>
>
--
View this message in context:
http://www.nabble.com/View-problem%21-tf4114926s16154.html#a11704831
Sent from the Zend Framework mailing list archive at Nabble.com.