We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Some problem with the routing

Despite the fact that there is the requested resource is started notFound

Here is my log:

[Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Module: panel [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Action: index [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Controller: cpanel [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Role: Administrator Доступ: 0 [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] ------------------------------------- [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Module: site [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Action: route404 [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Controller: index [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] Role: Administrator Доступ: 0 [Thu, 08 Aug 13 17:36:21 +0200][DEBUG] -------------------------------------

The resource is started and then initialized route404 why I do not understand

$router = new Router(); $router->setDefaultModule("site"); $router->setDefaultController("Index"); $router->setDefaultAction("index");

$router->notFound(array( "controller" => "index", "action" => "route404" ));

$di->set('url', function () use ($config) { $url = new Phalcon\Mvc\Url(); $url->setBaseUri("/"); return $url; }, true);

The actual location / (www/ )



11.9k

i don`t understand u question but u should see https://github.com/phalcon/cphalcon/issues/1084.