Forums

Custom Code Action not saving in ChronoForms v4 / Joomla 2.5

ozneilau 20 Feb, 2012
Hi,

I'm really enjoying the power and simplicity (once you get to know it) of ChronoForms v4.

I am using ChronoForms v4 RC3.11 on Joomla 2.5 and am having a problem saving Custom Code actions inside a DB Multi Record Loader action:

1. On Record Found
2. On Empty Result

This was all working OK until I put the DB Multi Record Loader inside an Authenticator Action.

The server is using Suhosin and I have added a suhosin.get.max_vars statement so that the settings are now:

suhosin.get.max_vars = 2000
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000

I don't think Suhosin is the issue.

When I click on Save, and then go back to the Events tab, the Custom Code actions have disappeared. It is a similar story with Save & Close.

Am I doing something wrong?

Thanks,

Neil.
GreyHead 21 Feb, 2012
Hi Neil,

Hmm, I'm not sure what is heppening. I can get this combination to save on my test site (no suhosin) - although I haven't put any code in the actions.
[attachment=1]21-02-2012 06-49-57.png[/attachment]

That said, please try *not* stacking the Success actions. You almost always get exactly the same result by putting the on success action after the preceding action and this removes visualy and coding complexity.
[attachment=0]21-02-2012 06-52-34.png[/attachment]

Bob
ozneilau 27 Feb, 2012
Thanks Bob!

I ended up with the following and this seems to be working fine now:



Thanks for your help,

Neil
GreyHead 27 Feb, 2012
Hi Neil,

Great. Good to hear that you got it working.

Bob
This topic is locked and no more replies can be posted.