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.

Function Error<br />

Zend Server Best Practices<br />

Description: When a specific function in your code returns FALSE, it generates an event. The “Function<br />

Error” Rule contains a list of monitored functions (i.e. functions that when returning FALSE will trigger an<br />

event).<br />

Information Collected:<br />

The most important details are:<br />

Function Name - As displayed in the Issue’s General Details<br />

Function Arguments - The arguments of the function that triggered the event are listed in the<br />

Function Data tab.<br />

Backtrace – identify what happened before the error happened that may have caused a problem<br />

such as incorrect data or problematic input data.<br />

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

Applicable Diagnostic Actions:<br />

Click on a link to see how to perform each action tools are listed in order of relevance to helping solve the<br />

event:<br />

Run the Debugger<br />

Open code in editor<br />

Redefine database queries<br />

View information in the Logs<br />

Run the Profiler<br />

423

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

Saved successfully!

Ooh no, something went wrong!