Note that there are some explanatory texts on larger screens.

plurals
  1. POForm Wizard is losing my data
    primarykey
    data
    text
    <p>Hello and thanks for your time! While trying to implement the Form Wizard I ran into a couple of problems. Using xdebug showed up that all submitted data is lost, what means:<br> $this->data, $_POST and $params['data'] / ['form'] are all empty. It seems that cake is doing some kind of redirect / dispatching and the actions are called twice. When I set a breakpoint in the beforeFilter() method, I can see all data filled in properly. There were some suggestions in other discussions that this could be caused by invalid links in the layout, but using an empty layout didnt change anything. I also removed the Auth Component, the RequestHandler, Helpers to see if theres something happening... nothing. Problem is, Im quite new to Cake and have no further ideas where to look. Currently Im getting this Warning:</p> <pre><code>Warning (512): Step validation: daten is not a valid step. [ROOT/plugins/wizard/controllers/components/wizard.php, line 271] Code | Context return $this-&gt;controller-&gt;autoRender ? $this-&gt;controller-&gt;render($this-&gt;_currentStep) : true; } else { trigger_error(sprintf(__('Step validation: %s is not a valid step.', true), $step), E_USER_WARNING); $step = "daten" WizardComponent::process() - ROOT/plugins/wizard/controllers/components/wizard.php, line 271 SignupsController::wizard() - ROOT/plugins/bookings/controllers/signups_controller.php, line 18 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - ROOT/webroot/index.php, line 83 </code></pre> <p>Dont think that helps much, cause the $step array is also lost. Any idea deeply appreciated! :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload