Table of contents:
You should turn on the display_errors directive and set error_reporting to E_ALL.
If you are crashing PHP, you may be exceeding certain internal limitations or known issues. It is known that eZ publish can encounter these 'reference' related problems.
Xdebug is an advanced debugging package for php. With Xdebug you can use it to obtain advanced information regarding your eZ publish runtime errors, problems or crashes. Many eZ systems senior developers rely on Xdebug to solve day to day eZ publish breakdowns which might cause a customer or user to request support.
Enable the eZ publish debug output. If you're working with templates and template overrides you should also make eZ publish show a list of the used templates. You can easily find where the output of certain templates starts and stops with the ShowXHTMLCode setting.
You can selectively turn on the debug output for sites in production, so other visitors don't see it.
You can turn on the debug output only for certain client IP addresses.
You can turn on the debug output only for certain user accounts. Add this to your site.ini.append.php:
Now only users with the user/object ID 23 and 42 will see debug output.
It's recommended that you disable template compilation, the template block cache and the content view cache. You can add the following settings to site.ini.append.php to add aditional toggles for these caches to the quick settings tool:
You may use a template operator called 'attribute' to display the contents of a variable or data structure.
More information on this operator can be found in the node, 'Learning: Template Debugging'.
{ $foo | attribute( show, 2 ) }
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish 6.0.2stable
Hosted by USA eZ Publish Community Partner : Brookins Consulting