ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

No save with php tags in custom html/php

astrolinux 04 Oct, 2017
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
Max_admin 05 Oct, 2017
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
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
astrolinux 05 Oct, 2017
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
Max_admin 09 Oct, 2017
Hi astrolinux,

Does this happen with the latest 6.0.11 ?

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
astrolinux 09 Oct, 2017
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.
Max_admin 15 Nov, 2017
Hi astrolinux,

Is this still the case with the newest 6.0.14 update ?

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
astrolinux 21 Nov, 2017
Answer
1 Likes
Hi,

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.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com