Thanks for the info.
I did read the application structure info, and when I said I renamed the models, views files I meant i regenerated the files without changing the name of the classes.
I guess it’s too bad because I reinstalled everything and again same problem, so I installed via composer and still
404, when I remove the error file I always get this message.
exception ‘ReflectionException’ with message ‘Class does not exist’ in /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/di/Container.php:415
Stack trace:
#0 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/di/Container.php(415): ReflectionClass->__construct(’’)
#1 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/di/Container.php(358): yii\di\Container->getDependencies(’’)
#2 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/di/Container.php(151): yii\di\Container->build(’’, Array, Array)
#3 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/BaseYii.php(344): yii\di\Container->get(’’, Array, Array)
#4 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/Controller.php(219): yii\BaseYii::createObject(Array, Array)
#5 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/Controller.php(120): yii\base\Controller->createAction(‘error’)
#6 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/Module.php(455): yii\base\Controller->runAction(‘error’, Array)
#7 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/web/ErrorHandler.php(80): yii\base\Module->runAction(‘site/error’)
#8 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/ErrorHandler.php(95): yii\web\ErrorHandler->renderException(Object(yii\web\NotFoundHttpException))
#9 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\web\NotFoundHttpException))
#10 {main}
Previous exception:
exception ‘yii\base\InvalidRouteException’ with message ‘Unable to resolve the request “DhsPatientInfo/index”.’ in /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/Module.php:461
Stack trace:
#0 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/web/Application.php(83): yii\base\Module->runAction(‘DhsPatientInfo/…’, Array)
#1 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request))
#2 /usr/local/apache/htdocs/dev/html/yiitest/basic/web/index.php(12): yii\base\Application->run()
#3 {main}
Next exception ‘yii\web\NotFoundHttpException’ with message ‘Page not found.’ in /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/web/Application.php:95
Stack trace:
#0 /usr/local/apache/htdocs/dev/html/yiitest/basic/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request))
#1 /usr/local/apache/htdocs/dev/html/yiitest/basic/web/index.php(12): yii\base\Application->run()
#2 {main}