[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/controllers/helpers/ViewRenderer.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/HeadTitle.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/FormLabel.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/FormSelect.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/FormText.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/FormTextarea.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/FormSubmit.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/FormCheckbox.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/HeadStyle.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
[2] fopen(/var/www/vhosts/tuthost/httpdocs/application/views/helpers/Layout.php) failed to open stream: No such file or directory
in file: /var/www/vhosts/tuthost/httpdocs/library/Zend/Loader.php
on line: 165
什么会导致这种情况?
如何修复捆绑 ZF 助手的助手路径?
在引导程序中,我只有这个:
Zend_Controller_Action_HelperBroker::addPath(APPLICATION_PATH . '/controllers/helpers','Helper');
还有这个:
$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper(
'ViewRenderer'
);
$viewRenderer->setView($view);
// Return it, so that it can be stored by the bootstrap
return $view;