Closed manuelkleinert closed 8 years ago
Hi,
this has nothing to do with the formbuilder i think. your controller is requesting the standard view, which is not available.
So youre right setup would be:
Website Setting
Controller
View
Thank you for your quick response. The standard request is defined...
In fact, thats a real issue with form-builder. I don't know why, but the controller plugin somehow overwrites the scripts-path:
Without Formbuilder, my script-paths look like this:
Array
(
[0] => /*****/website/views/layouts/
[1] => /*****/website/views/scripts/
[2] => ./views/layouts/
[3] => ./views/scripts/
)
With Formbuilder installed, it looks like this:
Array
(
[0] => /*****/website/views/layouts/formbuilder/
[1] => /*****/website/views/scripts/formbuilder/
[2] => /*****/plugins/Formbuilder/views/layouts/
[3] => /*****/plugins/Formbuilder/views/scripts/
[4] => ./views/layouts/
[5] => ./views/scripts/
)
I am going to further investigate on this.... but the issue should be re-opened.
I am actually really surprised that this ever worked on your environment....
the problem is occurs in \Zend_Controller_Action_Helper_ViewRenderer:498. It checks if the website/view path or any subfolder already exists within the path variable. Since Formbuilder adds the website path, it already exists and won't add the website/scripts path.
Possible Solution: Get rid of that plugin and manually add the paths for the Formbuilder!
Fixed! Thanks! Be sure you've checked the install advices: https://github.com/dachcom-digital/pimcore-formbuilder/blob/master/README.md#Installation
After installing all pages no longer work. Get the following error:
Zend_View_Exception script 'content/standard.php' not found in path (/var/www/vhosts/huelfsgesellschaft.pimdev.ch/httpdocs/website/views/layouts/formbuilder/:/var/www/vhosts/huelfsgesellschaft.pimdev.ch/httpdocs/website/views/scripts/formbuilder/:/var/www/vhosts/huelfsgesellschaft.pimdev.ch/httpdocs/plugins/Formbuilder/views/layouts/:/var/www/vhosts/huelfsgesellschaft.pimdev.ch/httpdocs/plugins/Formbuilder/views/scripts/:./views/layouts/:./views/scripts/)