php - Route with name "HelloWorld" not found Zend Framework 2 -


I have created a new module in ZF2 called 'HelloWald', what I am trying to do when clicking on the 'HelloWorld' link I'm just printing HelloWorld: Enter image details here

I have I want to generate it by using:

  $ this-> Url ('hello', array ('verb' =>);  

But this is showing an error like this:

Please Suggestion to avoid error.

This is probably related to one of ZF2's "features" . It seems that if you use the ZF2 function to create your link, the function will skip any segment that matches the default value in your router script. See.

Temporarily replace or delete the default from your router script and see if it does not solve your problem or not. If this happens, you may need to either reconsider your router script's plan or code your links without the ZF2's URL function.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -