Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

yii2-wizard von Yeti not running and no friendly urls #1

Description

@mutyii

H!
Thanks for adapting your popular extension to Yii2

I have not been able to get this extension to work .
I have done everything I could do like the examples suggest, particularly the registration example but yet I have these problemes:

1) I cannot even run step 1 of my forms. I get the following error:

  PHP Notice – yii\base\ErrorException 
Undefined index: stepone
.
(stepone is the name of my first step) and the wizard stops at this line:
  if (isset($this->_session[$this->_stepDataKey][$step][$this->_session[$this->_indexKey]])) {
                $event->stepData = $this->_session[$this->_stepDataKey][$step][$this->_session[$this->_indexKey]];
            }
.


It is line n° 273 of the WizardBehavior.

2) Also, the url it shows is:
.../submission?step=stepone
(submission is my action) which is very far from beeing a pretty Url.

What am I doing wrong?
Can please someone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions