Anybody have any idea on how to troubleshoot the following:
My site was working fine, then I noticed that anytime I try to go to a controller/action using a controller other than SiteController, I get this "Unable to resolve the request" error.
It was working before now I can only get SiteController actions to work. I did do a composer update, but I don’t know if that caused the problem or not.
I updated composer and am still getting the same error:
Not Found (#404)
Page not found. The above error occurred while the Web server was processing your request.
Please contact us if you think this is a server error. Thank you.
From my logs:
yii\web\HttpException:404
exception ‘yii\base\InvalidRouteException’ with message ‘Unable to resolve the request “ccnews/index”.’ in C:\wamp\www\ccdotcubed\vendor\yiisoft\yii2\base\Module.php:461 Stack trace: #0 C:\wamp\www\ccdotcubed\vendor\yiisoft\yii2\web\Application.php(84): yii\base\Module->runAction(‘ccnews/index’, Array) #1 C:\wamp\www\ccdotcubed\vendor\yiisoft\yii2\base\Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request)) #2 C:\wamp\www\ccdotcubed\web\index.php(13): yii\base\Application->run() #3 {main} Next exception ‘yii\web\NotFoundHttpException’ with message ‘Page not found.’ in C:\wamp\www\ccdotcubed\vendor\yiisoft\yii2\web\Application.php:96 Stack trace: #0 C:\wamp\www\ccdotcubed\vendor\yiisoft\yii2\base\Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request)) #1 C:\wamp\www\ccdotcubed\web\index.php(13): yii\base\Application->run() #2 {main}
my controller is CCNewsController and it has a valid index action which was working just fine before. All of my SiteController actions seem to work just fine, but none of my other controllers will work, they just give me this same result.