Questions tagged [zend-app-bootstrap]

Zend_Application_Bootstrap provides interfaces for bootstrap classes inside the Zend_Application from the Zend Framework. Use this tag for questions related to the Zend_Application_Bootstrap class as well as bootstrapping needs in the Zend_Application.

Zend_Application_Bootstrap provides interfaces for bootstrap classes inside the Zend_Application from the Zend Framework. Use this tag for questions related to the Zend_Application_Bootstrap class as well as bootstrapping needs in the Zend_Application.

24 questions
0
votes
1 answer

Zend Framework Autoloading not working when deploying

My Zend based website works perfectly on my localhost (using Mac). But When I deploy it on a linux web hosting company, I get the following errors: On the index page which try to list my ads by calling a resource where the select is: Fatal error:…
0
votes
1 answer

Can Db_Table models be used in bootstrap?

I wrote this piece of code to my bootstrap public function _initRouter() { $pages = new Pages(); $routes = $pages->getRoutes(); $front = Zend_Controller_Front::getInstance(); $router = $front->getRouter(); …
Phliplip
  • 3,582
  • 2
  • 25
  • 42
0
votes
1 answer

Zend: How to prevent double library in includePath?

Zend Quick Start public/index.php set_include_path(implode(PATH_SEPARATOR, array( dirname(dirname(__FILE__)) . '/library', get_include_path(), ))); configs/application.ini includePaths.library = APPLICATION_PATH "/../library" As a result…
0
votes
2 answers

Moving index.php out of application root in zend frame work

I am trying to change the path of index.php. I have a boot strap zend structure. So I created a new folder named newapp, its path is root path where our index.php lies. Then I copied the index.php to newapp so that I can load the application from…
0
votes
1 answer

How to make a global Zend_Log with Zend_Application_Bootstrap

I would like to make a global Zend_Log object that I can reach from my Controllers and my Models. What should I add to my Bootstrap? (My bootstrap extends Zend_Application_Bootstrap) How then can I reach the logger object from my controller actions…
Peter Smit
  • 27,696
  • 33
  • 111
  • 170
0
votes
1 answer

ZEND: Load custom Class in Module Bootstrap

I want to call my custom class that is located in myModule/myFolders/myFile.php in myModule/Bootstrap.php This is how it looks right now:
mrGott
  • 1,066
  • 3
  • 18
  • 53
0
votes
2 answers

zend framework 2 Set TextDomain in onBootstrap

I followed the instructions of this link successfully, now my web is multilanguage without requiring put "locale" in the "traslate()" calls. But I have to put the TextDomain each time that I call it. $this->traslate("Hello", __NAMESPACE__)…
0
votes
1 answer

Zend framework 2 - Add a subview in layout?

I have three layout views for render my web page (one for logged users, other for unlogged users and one for admin users). These layouts have the same footers section. This footer is very complex and I'd like centralizing changes to a single footer…
0
votes
1 answer

Zend 1.11 + Cannot use a module resource from within another module's bootstrap

I have a Zend application which has a CMS module and a User module. I need to do something in the CMS module's bootstrap that involves a service under the User module. When I try to instantiate the service class, I get a "Class not found" error,…
Bez Hermoso
  • 1,132
  • 13
  • 20
1
2