Good afternoon,
in a fresh Joomla + Chronoforms6 installation, we created a blank advanced form and we saved it. Then we added a custom html element and add a simple PHP code : <?php echo 'test'; ?>. When we tried to save form again we were redirected to public home page and the form wasn't saved.
These are some parameters of the server:
suhosin.request.max_vars = 1000
suhosin.post.max_vars = 1000
in a fresh Joomla + Chronoforms6 installation, we created a blank advanced form and we saved it. Then we added a custom html element and add a simple PHP code : <?php echo 'test'; ?>. When we tried to save form again we were redirected to public home page and the form wasn't saved.
These are some parameters of the server:
suhosin.request.max_vars = 1000
suhosin.post.max_vars = 1000
Hi astrolinux,
This may be a security module (suhosin ?) work, it prevents saving any PHP code, you will need to tweak that on the server.
And the latest update 6.0.10 has an issue which enables the wysiwyg editor by default, this removes any saved php code when you try to resave the form!
Best regards
This may be a security module (suhosin ?) work, it prevents saving any PHP code, you will need to tweak that on the server.
And the latest update 6.0.10 has an issue which enables the wysiwyg editor by default, this removes any saved php code when you try to resave the form!
Best regards
Hi astrolinux,
Hi🙂
This may be a security module (suhosin ?) work, it prevents saving any PHP code, you will need to tweak that on the server.
We tried to install Chronoform5 too and PHP code was saved and executed normally.
And the latest update 6.0.10 has an issue which enables the wysiwyg editor by default, this removes any saved php code when you try to resave the form!
We assured that editor was closed. On save we reached the website home
Best regards
Thank you so much
Hi astrolinux,
Does this happen with the latest 6.0.11 ?
Best regards
Does this happen with the latest 6.0.11 ?
Best regards
Yes. Everything is up-to-date. Joomla 3.8.1, Chronoforms 6.0.11, PHP 7.1. We tried PHP 5.6 and PHP 7.0 too.
Hi astrolinux,
Is this still the case with the newest 6.0.14 update ?
Best regards
Is this still the case with the newest 6.0.14 update ?
Best regards
Hi,
it seems all is ok. Now I can save PHP code in custom HTML field.
Thank you!
it seems all is ok. Now I can save PHP code in custom HTML field.
Thank you!
This topic is locked and no more replies can be posted.