Skip to content
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

DebugKitController could not be found. #669

Closed
marcheimendinger opened this issue Apr 9, 2019 · 16 comments
Closed

DebugKitController could not be found. #669

marcheimendinger opened this issue Apr 9, 2019 · 16 comments
Milestone

Comments

@marcheimendinger
Copy link

Debug mode was working perfectly… until I turning it off and on.
I now get this error in the bottom left button : DebugKitController could not be found.

@markstory
Copy link
Member

How can someone reproduce the problem you're having?

@markstory markstory added this to the 3.x milestone Apr 9, 2019
@marcheimendinger
Copy link
Author

Ok apparently I solved it by re-cloning my repository and reinstalling all composer dependencies. Strange…

@cleptric
Copy link
Member

@marcheimendinger Which version of cake are you using?
Could you also check your Application.php file and paste the line about >add(new RoutingMiddleware()); here please?

@marcheimendinger
Copy link
Author

@cleptric As I said earlier I don't have the problem anymore, so I can't try your manipulations.

@kovic
Copy link

kovic commented Apr 25, 2019

Clear dir /temp, if u do that, debugkit run correctly!

sorry, i´m not speach english

@admindotnu
Copy link

admindotnu commented May 14, 2019

Got same problem, comment from @kovic fixed it.
php cake.php cache clear_all

@mathurvishal
Copy link

Delete all files under

temp/cache/models
temp/cache/persistent
temp/cache/views

and CTRL+F5 your Browser!

@Fluit
Copy link

Fluit commented May 23, 2019

I have the same problem,
I have followed the steps above, but no good results.

@cleptric as you suggested,..

CakePHP v3.7.4
DebugKit v3.18
this is a part of my applications.php
//Add routing middleware. // Routes collection cache enabled by default, to disable route caching // pass null as cacheConfig, example: 'new RoutingMiddleware($this)' // you might want to disable this cache in case your routing is extremely simple

        `->add(new RoutingMiddleware($this, '_cake_routes_'))`

Has anyone other suggestions?

@Soufiane974
Copy link

I had the same issue, clear the tmp/ directory solved the problem for me

@Fluit
Copy link

Fluit commented Jun 28, 2019 via email

@Soufiane974
Copy link

I mean the dir cake directory, which contain cache/, bake/ dirs. No the linux root tmp dir.

@Fluit
Copy link

Fluit commented Jul 1, 2019 via email

@tgoeminne
Copy link

It also did the trick to delete the cache, but when I set debug to false, after enable it again. I need to delete the tmp cache folder again every time.

@kovic
Copy link

kovic commented Feb 6, 2020

The cache is generated with the current information, when you make changes to the project, it contains the previous information

@tgoeminne
Copy link

The previous version did not have this problem, not sure what you are trying to say?

@tgoeminne
Copy link

Isn't it supposed to refresh automaticly like in previous versions when debug is set to true?

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

No branches or pull requests