Hi, guys! Here's the situation: In registerAction function (which is in /wwwroot/application/controllers/VisitorController.php), I set series of validators, if a validation failed, a error message will export to error.phtml which is in /wwwroot/application/views/scripts/visitor/. I use the following codes: $view=new Zend_View(); $view->setPath(/wwwroot/application/views/scripts/visitor/); $view->error_msg="Invalid email"; $view->render("error.phtml"); But error showed the "error.phtml" could not be found. I checked the permission, and change the path to full path, the error still remained. Any buddies can help?!
Thanks! -- View this message in context: http://www.nabble.com/View-render-problem-tf4129279s16154.html#a11742466 Sent from the Zend Framework mailing list archive at Nabble.com.