Adding a configuration page with Symfony forms
Closed this issue · 7 comments
I followed all the described steps, but it does not work and gives an error with debugger.
https://devdocs.prestashop-project.org/8/modules/creation/adding-configuration-page-modern/
Module 'demosymfonyformsimple' doesn't work either.
Hello @OlenaTSaruk , can you tell me what kind of message the debugger is indicating?
-
https://tinypic.host/image/f6ovH
But I have ContactConfigurationController -
https://tinypic.host/image/f6EqR for 'demosymfonyformsimple'
Did you ran composer dump-autoload
from within the module folder ? As indicated here : https://devdocs.prestashop-project.org/8/modules/creation/adding-configuration-page-modern/#create-the-base-module
Then, run composer dump-autoload from the module’s directory to generate the autoload.php file. See [Setup composer in a module](https://devdocs.prestashop-project.org/8/modules/concepts/composer/#autoloading) for more informations.
I ran composer dump-autoload, but the error persists:
"The controller for URI "/modules/contactformimg/configuration" is not callable: Controller "PrestaShop\Module\ContactFormImg\Controller\ContactConfigurationController" does neither exist as service nor as class."
@OlenaTSaruk could you send us a full module?
Since we have had no news from you for more than 20 days, I'm closing this Issue.