Dispatcher has detected a cyclic routing causing stability problems in phalcon -


when trying access controller following error coming.

my code working fine in local machine apache server running.

when uploading same code in server machine , try use. below given error coming.

in server nginx web sever running.

dispatcher has detected cyclic routing causing stability problems

#0 [internal function]: phalcon\mvc\dispatcher->_throwdispatchexception('dispatcher has ...', 1)

#1 [internal function]: phalcon\dispatcher->dispatch()

#2 /home/vtermina/public_html/api/v2/public/index.php(31): phalcon\mvc\application->handle()

#3 {main}

this error occurs in 2 cases:

  • you have declared 2 same named routes
  • you dispatching actions a b a couple of times.

if secont, possible ngnix configuration prevets phalcon receiving full list of parameters. difficult guess out w/o code , configuration.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -