30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Zend Server <strong>Reference</strong> Manual<br />

Possible Causes and Solutions:<br />

Generally, logic errors trigger Function Error events such as queries that you expect to return something<br />

and they do not and not PHP errors.<br />

If you have a function that you need to return FALSE as an acceptable value, remove the function from<br />

the monitored functions list.<br />

424<br />

Internal PHP functions – If you are using internal PHP functions, the best reference for<br />

investigating the problem is use the PHP manual (The Zend Controller’s Search option provides<br />

quick access to searching the PHP Manual.<br />

You can also check your logs to see if they show PHP error information logged the same time the<br />

function error occurred.<br />

User define functions – If it is a user defined function, running the debugger will help find out if the<br />

function is running complicated actions that are causing the function to fail. Using Breakpoints<br />

while debugging, will further pinpoint the problematic area in the code.<br />

False Positives - Sometimes functions are supposed to return FALSE. Not all functions that return<br />

FALSE are indicative of a problem in your code or environment and they may be no indication of<br />

unacceptable behavior. If this is the case, remove the function from the Rule’s “Event Condition”<br />

list or set the status of issues triggered by this function to ignored.<br />

Note:<br />

Removing a function from the rule, affects all instances of the function. Before removing the function from<br />

the list, make sure the function does not require monitoring wherever it is used.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!