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

The index does not exist in the cursor

Am working on a multimodule project. The problem I don't seem to foward to another action at all despite trying the following;

     $dispatcher->forward(
            array(
                'module' => 'backend',
                'controller' => 'index',
                'action' => 'index'
            )
        );

        return $this->dispatcher->forward(array(
                'action' => 'index'
            ));

            return $this->response->redirect('/index');

I just get the message

The index does not exist in the cursor


27.0k
  • dose that mean your view index do not exist,
  • you need to create a index.phtml or index.volt

Hello,

I experience the exact same issue. I have already setup a full working phalcon project and i am familiar with the way it works.

This issue, "The index does not exist in the cursor" appeared after i added another controller and associated view the exacte same way i did with previous controllers and views. I removed this new controller and view but the problem persists and appears for every single page i call.

I do not understand where this is comming from. Any ideas please?