-
Book Overview & Buying
-
Table Of Contents
eZ Publish 4: Enterprise Web Sites Step-by-Step
By :
eZ Publish includes a wrapper for all of the errors returned by PHP, which will display the errors at the bottom of our page, or in a new page if we prefer. When we release a site, it's very important that all of the errors are fixed, in order to avoid bad surprises or a slowdown of the application.
To use the debugging capabilities of the system, we have to edit the site.ini file of the global siteaccess, and enable the DebugOutput parameter.
[DebugSettings]
DebugOutput=enabled
After we enable this setting and empty the cache, we will see the debugger, as shown in the following screenshot:

On this page, we can see some utils that are used to clear the cache and enable different kinds of debug, such as the loading the .ini files, the execution of the queries, or the template rendering time.
Moreover, this parameter will enable some special operators for the template that will allow us to print the HTML output of the page, and the values of the variables used.
Change the font size
Change margin width
Change background colour