Warning: include_once(Application/Model/Hiring.php): failed to open stream: No such file or directory in /var/www/hiring/library/Zend/Loader.php on line 146
в пути включения
Warning: include_once(): Failed opening 'Application/Model/Hiring.php' for inclusion (include_path='/var/www/hiring/application/../library:/var/www/hiring/library:./application /models/:./application/controllers/:./application/views/scripts/:.:/usr/share/php:/usr/local /ZendFramework/library') in /var/www/hiring/library/Zend/Loader.php on line 146
и мой индексный файл
<?php // Define path to application directory defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application')); // define root path defined('ROOT_PATH') || define('ROOT_PATH', realpath(dirname(__FILE__) . '/')); // Define application environment defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production')); // Ensure library/ is on include_path set_include_path(realpath(dirname(__FILE__) . '/library') . PATH_SEPARATOR . './application/models/' . PATH_SEPARATOR . './application/controllers/' . PATH_SEPARATOR . './application/views/scripts/' . PATH_SEPARATOR . get_include_path()); require_once 'Zend/Application.php'; require_once 'Zend/Loader/Autoloader.php'; /** Zend_Application */ $loader = Zend_Loader_Autoloader::getInstance(); $loader->registerNamespace('hiring'); $loader->setFallbackAutoloader(true); Zend_Loader::loadClass('Zend_Controller_Front'); Zend_Loader::loadClass('Zend_Config_Ini'); Zend_Loader::loadClass('Zend_Registry'); Zend_Loader::loadClass('Zend_Db'); Zend_Loader::loadClass('Zend_Db_Table'); Zend_Loader::loadClass('Zend_Db_Statement'); //Zend_Loader::loadClass('Zend_Mail_Transport_Smtp'); //Zend_Loader::loadClass('Zend_Mail_Transport_Sendmail'); //Zend_Loader::loadClass('Zend_Mail'); Zend_Loader::loadClass('Zend_Session_Namespace'); Zend_Loader::loadClass('Zend_Db_Adapter_Pdo_Pgsql'); //Zend_Loader::loadClass('Zend_Date'); Zend_Loader::loadClass('Zend_Log'); // setup controller $frontController = Zend_Controller_Front::getInstance(); $frontController->throwExceptions(false); $frontController->setBaseUrl('http://hiring.local'); $frontController->setControllerDirectory('/application/controllers'); // Create application, bootstrap, and run $application = new Zend_Application( APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini' ); $application->bootstrap()->run();
почему я получаю эту ошибку, я посмотрел в loader.php по строке 146 на этой линии
include_once($filename)
поэтому ошибка возникает оттуда