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
11
votes
1 answer

How to retrieve parameters from Zend application.ini file during the session?

Possible Duplicate: How could read application.ini on controller using zend framework application.ini is a configuration file in ZF. I have there some more settings than just those defaults that ZF manual writes about. But how may I retrieve…
Green
  • 28,742
  • 61
  • 158
  • 247
2
votes
2 answers

Zend Framework - Getting request object in bootstrap

I am designing a site with following url form: example.com/controller/action/locale In which I get the locale from uri parameter locale. In bootstrap when I want to initialize my resources like Zend_Locale, Zend_Translator or some other resource…
2
votes
1 answer

Zend autoloading configurations in bootstrap vs application.ini

Given: 1. bootstrap: $autoloader = Zend_Loader_Autoloader::getInstance();// Zend_Loader_Autoloader $autoloader->registerNamespace('Ntk_'); equals to application.ini: autoloaderNamespaces[] = "Ntk_" 2. bootstrap: $pluginLoader =…
2
votes
4 answers

Accessing the Zend Application Bootstrap _init Functions After Bootstrapping

I have written a Zend Framework based cron service for parallel tasks, and ran into issues with the child threads sharing resources with the parent. I solved the database connection issue, but I'm now seeing periodic issues with…
Sonny
  • 8,204
  • 7
  • 63
  • 134
2
votes
1 answer

zend framework rest controller question

I have a rest controller example im trying to run that is giving me a headache. My url im trying to access is localhost/books/edit/1 For some weird reason this route seems to call the getAction with the Controller instead of the editAction. And it…
nixgadget
  • 6,983
  • 16
  • 70
  • 103
2
votes
1 answer

Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'Resource matching "autoloader" not found

I am new to Zend framework. I am updating a project which was developed by another person. I am getting an error like, Generating config... PHP Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'Resource matching…
NewPHP
  • 608
  • 2
  • 15
  • 28
2
votes
0 answers

Zend Circular Dependency Issue

I have a method within my bootstrap that sets up the caches for the application: protected function _initSetCaches() { $this->bootstrap(array('Db','CacheManager')); Zend_Db_Table_Abstract::setDefaultMetadataCache(Master::cache('database')); …
1
vote
2 answers

Cannot seem to get Zend Framework to work with two mysql databases

I am trying to connect to two databases with Zend Framework. How ever it is throwing me the following error #0 C:\xampp\php\zf\library\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1…
JoeyD473
  • 2,890
  • 2
  • 21
  • 25
1
vote
2 answers

Database Connection in Zend Framework

I am new to ZF. I have coded my application.ini here it is: [development] includePaths.library = APPLICATION_PATH "/../library" bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" appnamespace =…
1
vote
1 answer

How to load Zend Framework application details from database

I am working on Zend Framework based application and one of the requirement is to create an management panel from where the super-users can dynamically update some of the system configs like change site's language so I am thinking of using db so…
Bryan
  • 645
  • 1
  • 6
  • 18
1
vote
3 answers

Best practice to place meta tags, links and styles in zend framework?

I have project-range meta tags that are need to be set. I've put them in protected method _initMeta in Bootstrap class. Are there any better options? What if I would like different set of this data for another languages? protected function…
pixel
  • 24,905
  • 36
  • 149
  • 251
1
vote
2 answers

baseURL fix in IE

I'm developing a website with following structure: click here. And I'm having some problems with the URL when trying to load stylesheets. Being more specific, in the admin module I'm using this bootstrap:
Rodrigo Souza
  • 7,162
  • 12
  • 41
  • 72
1
vote
1 answer

Using application.ini for configuring Zend_Application Bootstrap

I have written custom resources for my Zend_Application bootstrap. In the manual the following code is given for loading them: $application = new Zend_Application(APPLICATION_ENV, array( 'pluginPaths' => array( 'My_Resource' =>…
Peter Smit
  • 27,696
  • 33
  • 111
  • 170
1
vote
1 answer

What does a return do in _init methods of ZF Bootstrap class?

Here's a sample of _init method of Zend_Bootstrap from ZF manual. At the end there is return command: class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function _initView() { // Initialize view $view =…
Green
  • 28,742
  • 61
  • 158
  • 247
1
vote
2 answers

Strange Zend_Session behaviour using Zend_Application

I'm writing to see if someone of you guys has encountered this problem before and have a chance to understand why it happened to me. This is the story. I developed many ZF applications before Zend Framework v. 1.8, then I've stopped for about 18…
1
2