Search

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

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details