ZF-11636: Zend_Application_Resource_Multidb with CacheManager doesn't cache

Issue Type: Bug Created: 2011-08-02T15:02:54.000+0000 Last Updated: 2011-08-16T20:25:39.000+0000 Status: Closed Fix version(s): Reporter: Eugene Istrati (eistrati) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Application_Resource

  • cache
  • multidb
  • zend

Related issues: Attachments:


I have configured Multidb with CacheManager as per documentation (see below). No errors in logs, full access to filesystem, everything should work like charm, the only problem is that no cache is created...

  1. CacheManager configuration: = Core resources.cachemanager.database.frontend.customFrontendNaming = false resources.cachemanager.database.frontend.options.lifetime = 7200 resources.cachemanager.database.frontend.options.automatic_serialization = true = File resources.cachemanager.database.backend.customBackendNaming = false resources.cachemanager.database.backend.options.cache_dir = APPLICATION_PATH "/../temp/cache" resources.cachemanager.database.frontendBackendAutoload = false

  2. Multidb configuration: resources.multidb.defaultMetadataCache = "database"

resources.multidb.db1.adapter = "pdo_mysql" = "localhost" resources.multidb.db1.username = "webuser" resources.multidb.db1.password = "XXXX" resources.multidb.db1.dbname = "db1" resources.multidb.db1.default = true

resources.multidb.db2.adapter = "pdo_pgsql" = "" resources.multidb.db2.username = "dba" resources.multidb.db2.password = "notthatpublic" resources.multidb.db2.dbname = "db2"


Posted by Ramon Henrique Ornelas (ramon) on 2011-08-06T04:35:09.000+0000

Exists a problem before 1.11.1 but already was fixed. See here a reproduce

Greetings Ramon

Posted by Ramon Henrique Ornelas (ramon) on 2011-08-13T09:10:07.000+0000

Feel free to reopen case are given more information. See…

Greetings Ramon

Posted by Eugene Istrati (eistrati) on 2011-08-16T20:25:39.000+0000

Why this issue was closed? It is not fixed at all... I am expecting caching files to be created in APPLICATION_PATH "/../temp/cache", but instead it does nothing!

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.