New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZendDeveloperTools + cache config #188

Open
Nirzol opened this Issue Apr 27, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@Nirzol

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

This comment has been minimized.

Show comment
Hide comment
@FabianKoestring

FabianKoestring Apr 27, 2015

Contributor

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

Contributor

FabianKoestring commented Apr 27, 2015

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

@Nirzol

This comment has been minimized.

Show comment
Hide comment
@Nirzol

Nirzol Apr 27, 2015

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

Nirzol commented Apr 27, 2015

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

@FabianKoestring

This comment has been minimized.

Show comment
Hide comment
@FabianKoestring

FabianKoestring Apr 27, 2015

Contributor

As far as i can remember!

So we cannot enabled cache config same time zdt ?

Yes!

Contributor

FabianKoestring commented Apr 27, 2015

As far as i can remember!

So we cannot enabled cache config same time zdt ?

Yes!

@Ocramius

This comment has been minimized.

Show comment
Hide comment
@Ocramius

Ocramius Apr 27, 2015

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...

Member

Ocramius commented Apr 27, 2015

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment