新添加的页面在 ZendFramework 中不起作用

New added page doesn't work in ZendFramework

我在 ZEND Framework 1 中有应用程序。 我想添加新页面,并转到此页面而不是旧页面。

但问题是,重定向到新页面不起作用,我不知道为什么。

一些片段: 在函数初始化的 IndexController 中:

        ...
        // THIS IS OLD PAGE
        case $this->view->root_by_names['register']['root_furl']:
                $this->view->root_name = 'register';
                $this->_forward( 'register' );
                break;

        // THIS IS NEW PAGE
        case $this->view->root_by_names['register2']['root_furl']:
            $this->view->root_name = 'register2';
            $this->_forward( 'register2' );
            break;
       ...

// old action (working ok)
public function registerAction(){
     $this->_redirect( $this->view->CreateUrl( array( $this->view->root_by_names['register']['root_furl'] ) ) );
}

// new action (doesn't work)
public function register2Action(){
         $this->_redirect( $this->view->CreateUrl( array( $this->view->root_by_names['register2']['root_furl'] ) ) );
    }

重定向功能的数据库条目:

视图中提交的表单:

// WORKING
<form method="get" action="<?=$this->CreateUrl( array( $this->root_by_names['register']['root_furl'], 'producer' ) )?>">
    <button id="button-new-account-producer" class="submit">NEXT</button>

</form>


// DOESN'T WORK
<form method="get" action="<?=$this->CreateUrl( array( $this->root_by_names['register2']['root_furl'], 'producer' ) )?>">
    <button id="button-new-account-producer" class="submit">NEXT</button>
</form>

Rejestracja - 旧页面
Rejestracja2 - 新页面

对于旧页面(有效),我被重定向到新页面。 对于新页面 - 我以某种方式留在当前页面。

register2 页面是 FTP 上的寄存器的副本。

希望我提供了所有信息。应该不复杂。 谁能知道我在新页面上做错了什么?

我找到了解决方案。 这是另一层,请求被过滤。不是ZF的问题,是以前的开发问题