Returning errors to forms & recaptcha
This is an open discussion with no replies, filed under Troubleshooting.
Search
Create an account or sign in to comment.
This is an open discussion with no replies, filed under Troubleshooting.
Create an account or sign in to comment.
Quick Links
Symphony • Open Source XSLT CMS
--with-xsl
)
I’m doing my own custom validation in an EventPreSaveFilter delegate and I’m trying to return an error.
I’m unable to debug the xml any more as the project has become so complex (or something is broken thats totally beyond me) that I get the following errors:
Fatal error: Maximum function nesting level of ‘100’ reached, aborting! in /Users/jg/workspace/project/build/symphony/lib/toolkit/class.xmlelement.php on line 35 Call Stack: 0.0005 659696 1. {main}() /Users/jg/workspace/project/build/index.php:0 0.0475 6481304 2. Frontend->display() /Users/jg/workspace/project/build/index.php:25 0.0504 6553968 3. FrontendPage->generate() etc… etc…
This now that I’ve installed (mostly - it doesn’t return errors, I’m using the nifty form controls extension) and got reCaptcha working with Symphony 2.1.2 ..
But i digress back to my errors I’m wanting to generate on existing fields … is this the correct format:
// fieldname, response-status, message?
$context[‘messages’][] = array(‘your-email-address’, ” , ‘i like errros’);
Thanks in advance for the help