Hi all,
I’m working with Zend Framework 1.10…I’m receiving an error based on a directory path problem.
In the updateAction in the AccountController…
public function updateAction()
{
//Check if the user is logged in
//Get the user's id
//Get the user's information
//Create the Zend_View object
$view = new Zend_View();
//Assign Variables if any
$view->setScriptPath("/views/scripts/account");
$view->render("update.phtml");
}
Note the setScriptPath() method. My directory structure is atttached as an image.
I’m getting this error:
Application error
Exception information:
Message: script ‘update.phtml’ not found in path (/views/scripts/account/)
Any ideas on what the path should be? I haven’t found any real help in the manual, it just mentions to use the absolute path to the view script. Am I just having a huge brain fart right now?
Thanks for any help.