Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///application/configs/application.ini
- [production]
- phpSettings.display_startup_errors = 0
- phpSettings.display_errors = 0
- includePaths.library = APPLICATION_ROOT "/library"
- bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
- bootstrap.class = "Bootstrap"
- appnamespace = 'Application'
- autoloaderNamespaces[] = "Tekika_"
- autoloaderNamespaces[] = "App_"
- resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
- resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
- resources.frontController.plugins.LayoutSelector = "Application_Plugin_LayoutSelector"
- resources.modules[] = ""
- resources.view.encoding = "UTF-8"
- resources.view.doctype = "HTML5"
- resources.view.charset = "utf-8"
- resources.view.basePath = APPLICATION_PATH "/views/"
- resources.view.helperPath.Application_View_Helper = APPLICATION_PATH "/views/helpers/"
- resources.layout.layoutPath = APPLICATION_PATH "/layouts"
- ///
- in application/Bootstrap.php:
- protected function _initAutoloading(){
- $autoloader = Zend_Loader_Autoloader::getInstance();
- $autoloader->setFallbackAutoloader(true);
- /* if I uncomment this, it works, but this should already be set up via the appnamespace setting
- $moduleLoader = new Zend_Application_Module_Autoloader(array(
- 'namespace' => 'Application',
- 'basePath' => APPLICATION_PATH
- ));
- */
- }
- ///The error I get
- Warning: include_once(Application/Plugin/LayoutSelector.php) [function.include-once]: failed to open stream: No such file or directory in /home/tekika_testsites/local/lib/php/ZendFramework/1.11.3/library/Zend/Loader.php on line 146
- Warning: include_once() [function.include]: Failed opening 'Application/Plugin/LayoutSelector.php' for inclusion (include_path='/home/tekika_testsites/integra.tekika.com/library:/home/tekika_testsites/integra.tekika.com/library:.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/tekika_testsites/local/lib/php/ZendFramework/1.11.3/library/Zend/Loader.php on line 146
- Fatal error: Class 'Application_Plugin_LayoutSelector' not found in /home/tekika_testsites/local/lib/php/ZendFramework/1.11.3/library/Zend/Application/Resource/Frontcontroller.php on line 117
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement