-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
take one more new exception #3120
Comments
i am getting the following error. How to solve this? exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "site/error".' in /home/kshitiz/www/manage/vendor/yiisoft/yii2/base/Module.php:461 Next exception 'yii\web\NotFoundHttpException' with message 'Unable to resolve the request "gii".' in /home/kshitiz/www/manage/vendor/yiisoft/yii2/web/Application.php:95 |
You have configured an action to be called on error somewhere in your config but that action does not exist. search your config for |
In my frontend/config/main.php file i have
and in frontend/controller/SiteController.php
and in views/site i have error.php file
My .htaccess file
I am using nginx, PHP 5.6.2 and mariadb on arch linux. |
from what you have posted I can not see any problems... |
facing the same issue |
do you have a stack trace of the error? |
`An Error occurred while handling another error: Next yii\web\NotFoundHttpException: Page not found. in /var/www/html/vendor/yiisoft/yii2/web/Application.php:115 in advanced template, this appears in front-end after mistakenly naming a new data table = "site" which over wrote the view/site, i put back the original files, including error, from a backup but still seeing this error... no idea where to look pls help |
exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request: site/error' in /var/www/yiidir/vendor/yiisoft/yii2/base/Controller.php:119
Stack trace:
#0 /var/www/yiidir/vendor/yiisoft/yii2/base/Module.php(423): yii\base\Controller->runAction('error', Array)
#1 /var/www/yiidir/vendor/yiisoft/yii2/web/ErrorHandler.php(78): yii\base\Module->runAction('site/error')
#2 /var/www/yiidir/vendor/yiisoft/yii2/base/ErrorHandler.php(85): yii\web\ErrorHandler->renderException(Object(yii\web\NotFoundHttpException))
#3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\web\NotFoundHttpException))
#4 {main}
Previous exception:
exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "index.php/userforms/addoutputform".' in /var/www/yiidir/vendor/yiisoft/yii2/base/Module.php:429
Stack trace:
#0 /var/www/yiidir/vendor/yiisoft/yii2/web/Application.php(82): yii\base\Module->runAction('index.php/userf...', Array)
#1 /var/www/yiidir/vendor/yiisoft/yii2/base/Application.php(353): yii\web\Application->handleRequest(Object(yii\web\Request))
#2 /var/www/yiidir/web/index.php(12): yii\base\Application->run()
#3 {main}
Next exception 'yii\web\NotFoundHttpException' with message 'Unable to resolve the request "index.php/userforms/addoutputform".' in /var/www/yiidir/vendor/yiisoft/yii2/web/Application.php:94
Stack trace:
#0 /var/www/yiidir/vendor/yiisoft/yii2/base/Application.php(353): yii\web\Application->handleRequest(Object(yii\web\Request))
#1 /var/www/yiidir/web/index.php(12): yii\base\Application->run()
#2 {main}
three days ago all be ok
The text was updated successfully, but these errors were encountered: