Note that there are some explanatory texts on larger screens.

plurals
  1. POMissing parameter zf2
    primarykey
    data
    text
    <pre><code>return array( 'feedback_captcha' =&gt; array( 'class' =&gt; 'image', 'options' =&gt; array( // using tmp sys dir to generate Captcha images 'imgDir' =&gt; sys_get_temp_dir(), // feel free to add fonts in Module's font directory 'fontDir' =&gt; __DIR__.'/../../../data/Fonts', // if 'font' is not defined, SanCaptcha Module, will pick one randmoly in 'fontDir' 'font' =&gt; 'arial.ttf', 'width' =&gt; 200, 'height' =&gt; 50, 'dotNoiseLevel' =&gt; 40, 'lineNoiseLevel' =&gt; 3 ), ), 'controllers' =&gt; array( 'invokables' =&gt; array( 'Feedback\Controller\Captcha' =&gt; 'Feedback\Controller\CaptchaController', 'Feedback\Controller\Feedback' =&gt; 'Feedback\Controller\FeedbackController' ), ), 'router' =&gt; array( 'routes' =&gt; array( 'Feedback' =&gt; array( 'type' =&gt; 'Literal', 'options' =&gt; array( 'route' =&gt; '/feedback', 'defaults' =&gt; array( 'controller' =&gt; 'Feedback\Controller\Feedback', 'action' =&gt; 'index', ), ), ), 'Feedback' =&gt; array( 'type' =&gt; 'Zend\Mvc\Router\Http\Segment', 'options' =&gt; array('route' =&gt; '/feedback[/:action][/:PageId]', 'constraints' =&gt; array( 'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*', 'PageId' =&gt; '[0-9]+', ), 'defaults' =&gt; array( 'controller' =&gt; 'Feedback\Controller\Feedback', 'action' =&gt; 'index', ), ), 'may_terminate' =&gt; true, 'child_routes' =&gt; array( 'captcha_form' =&gt; array( 'type' =&gt; 'Zend\Mvc\Router\Http\Segment', 'options' =&gt; array( 'route' =&gt; '/[:action[/]]', 'constraints' =&gt; array( 'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' =&gt; array( 'action' =&gt; 'index', ), ), ), 'captcha_form_generate' =&gt; array( 'type' =&gt; 'segment', 'options' =&gt; array( 'route' =&gt; '/captcha/[:id]', 'defaults' =&gt; array( 'controller' =&gt; 'Feedback\Controller\Captcha', 'action' =&gt; 'generate', ), ), ), ), ), ), ), ); </code></pre> <p>I have the following config for my feedback Module, when i try to go to that module I get the following errors:</p> <blockquote> <p>Message: An exception was raised while creating "Feedback"; no instance returned</p> <p>Message: Missing parameter "PageId"</p> </blockquote> <p>Where is the problem? </p>
    singulars
    1. This table or related slice is empty.
    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.
    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