Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

ZendDeveloperTools + cache config #188

Open
Nirzol opened this issue Apr 27, 2015 · 5 comments
Open

ZendDeveloperTools + cache config #188

Nirzol opened this issue Apr 27, 2015 · 5 comments

Comments

@Nirzol
Copy link

Nirzol commented Apr 27, 2015

Hello

I enabled cache config in application.config.php:

...
        'config_cache_enabled' => true,
        'config_cache_key' => 1,
        'cache_dir' => __DIR__ . '/../data/cache',
...

And I have some errors then :

( ! ) Fatal error: Uncaught exception 'Zend\View\Exception\RuntimeException' with message 'Zend\View\Renderer\PhpRenderer::render: Unable to render template "zend-developer-tools/toolbar/zendframework"; resolver could not resolve to a file' in .../vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php on line 493

( ! ) Zend\View\Exception\RuntimeException: Zend\View\Renderer\PhpRenderer::render: Unable to render template "zend-developer-tools/toolbar/zendframework"; resolver could not resolve to a file in .../vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php on line 493

@FabianKoestring
Copy link
Contributor

There are closures in getServiceConfig(). Means not cachable. Right?

@Nirzol
Copy link
Author

Nirzol commented Apr 27, 2015

You mean into zenddeveloperTool? not using factory.
So we cannot enabled cache config same time zdt ?

@FabianKoestring
Copy link
Contributor

As far as i can remember!

So we cannot enabled cache config same time zdt ?

Yes!

@Ocramius
Copy link
Member

getServiceConfig() is not affected by the closures stuff (not part of cached config).

I'm more puzzled by why the path to the toolbar is broken...

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-developer-tools; a new issue has been opened at laminas/laminas-developer-tools#11.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants