Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

strange error logged in error.log

When I refresh my website I get following error logged in tmp/logs/error.log:

2012-10-30 18:38:50 Error: [MissingControllerException] Controller class JsController could not be found.
#0 /var/www/mysite/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}

This is strange because webservice works perfectly, everythings is ok and I dont get any error on website.

My question is how I can track this error to find a cause?

like image 386
user606521 Avatar asked Dec 14 '25 17:12

user606521


1 Answers

It looks like a JS-file returns a 404, either from your project or a plugin you are using (DebugKit or something). Turn on firebug (Net-Tab) and make sure that all files look as they should ..

hope that helps

like image 75
harpax Avatar answered Dec 17 '25 10:12

harpax



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!