Error404 when loading page

Good afternoon, I’m new to yii, please help me. The page crashes when loading with a 404 error. SiteCntroller contains the following code at the end, $this->render($template, array (‘data’ => $data)); $template is /infomap/index.php, which is located in the project folder. inside this file is standard html, with the text Hello World. $data also contains all the information I need. So what is wrong if there is a controller that correctly determines the path to the template

The default view path for SiteController is
YourWebApp/protected/views/site/YourView

More info

https://www.yiiframework.com/doc/guide/1.1/en/basics.view

https://www.yiiframework.com/doc/api/1.1/CController#render-detail

Thank you. But also this error become when it is routing between pages.

I don’t know what you mean with ‘routing’, but you may want to read more from top of the Guide or perhaps specifically this section
https://www.yiiframework.com/doc/guide/1.1/en/topics.url