Note that there are some explanatory texts on larger screens.

plurals
  1. POTypo3 backend module form error
    primarykey
    data
    text
    <p><strong>I have no idea why, but the error just disappear without any changes. Now it works. I have not change anything. (I deleted cache many times so it cannot be because of the cache)</strong></p> <p><em>Problem</em></p> <p>I created an extension using extension builder (if anyone knows any good documentation please give me link because official documentation does not have any examples). I have a form and when I submit the form I have the error </p> <p>TYPO3 v4.7</p> <blockquote> <p>The action "formSave" (controller "Promoters") is not allowed by this plugin. Please check Tx_Extbase_Utility_Extension::configurePlugin() in your ext_localconf.php.</p> </blockquote> <p>I created ext_localconf.php according to typo's wiki.</p> <p>Form code</p> <pre><code>&lt;f:form action="formSave" name="" object=""&gt; &lt;f:form.textfield id="emailResendInterval" name="emailResendInterval" value="" /&gt; &lt;f:form.textarea cols="30" rows="5" id="emails" name="emails" value="" /&gt; &lt;f:form.submit name="submit" value="Save" /&gt; &lt;/f:form&gt; </code></pre> <p>ext_localconf.php</p> <pre><code>&lt;?php if (!defined ('TYPO3_MODE')) die ('Access denied.'); $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY] = unserialize($_EXTCONF); if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['registerSinglePlugin']) { // fully fletged blog Tx_Extbase_Utility_Extension::configurePlugin( $_EXTKEY, // The extension name (in UpperCamelCase) or the extension key (in lower_underscore) 'Promoters', // A unique name of the plugin in UpperCamelCase array ( // An array holding the controller-action-combinations that are accessible 'Promoters' =&gt; 'configuration,formSave', // The first controller and its first action will be the default ), array( // An array of non-cachable controller-action-combinations (they must already be enabled) ) ); } else { Tx_Extbase_Utility_Extension::configurePlugin( $_EXTKEY, // The extension name (in UpperCamelCase) or the extension key (in lower_underscore) 'Promoters', // A unique name of the plugin in UpperCamelCase array ( // An array holding the controller-action-combinations that are accessible 'Promoters' =&gt; 'configuration,formSave', // The first controller and its first action will be the default ), array( // An array of non-cachable controller-action-combinations (they must already be enabled) ) ); </code></pre> <p>PromotersControler</p> <pre><code>class Tx_Promoters_Controller_PromotersController extends Tx_Extbase_MVC_Controller_ActionController { /** * action configuration * * @return void */ public function configurationAction() { } /** * action formSave * * @return void */ public function formSaveAction() { } } </code></pre>
    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.
 

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