You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Zend Server Best Practices > Development > Event Rules > Function Error

Function Error

Description: When a specific function in your code returns FALSE, it generates an event. The “Function Error” Rule contains a list of monitored functions (i.e. functions that when returning FALSE will trigger an event).

Information Collected:

The most important details are:

In most cases, these details alone should be enough to indicate what triggered the event.

Applicable Diagnostic Actions:

Click on a link to see how to perform each action tools are listed in order of relevance to helping solve the event:

Possible Causes and Solutions:

Generally, logic errors trigger Function Error eventsEvents are a result of the monitoring component checking your system and collecting information about a specific occurrence that indicates that your environment is displaying uncharacteristic behavior. such as queries that you expect to return something and they do not and not PHP errors.

If you have a function that you need to return FALSE as an acceptable value, remove the function from the monitored functions list.

Note:

Removing a function from the rule, affects all instances of the function. Before removing the function from the list, make sure the function does not require monitoring wherever it is used.

 

 

Related Links

Related Links:

Advanced Diagnostics with Zend Server 

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.