Merge pull request #17846 from mattwire/optimiseclearcaches
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Debugging.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 <div class="help">
11 {ts}In addition to the settings on this screen, there are a number of settings you can add to your sites's settings file (civicrm.settings.php) to provide additional debugging information.{/ts} {docURL page="Debugging for developers" resource="wiki"}
12 </div>
13 <div class="crm-block crm-form-block crm-debugging-form-block">
14 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
15 <table class="form-layout">
16 {if $form.userFrameworkLogging}
17 <tr class="crm-debugging-form-block-userFrameworkLogging">
18 <td class="label">{$form.userFrameworkLogging.label}</td>
19 <td>{$form.userFrameworkLogging.html}<br />
20 <span class="description">{ts}Set this value to <strong>Yes</strong> if you want CiviCRM error/debugging messages to appear in the Drupal error logs{/ts} {help id='userFrameworkLogging'}</span></td>
21 </tr>
22 {/if}
23 <tr class="crm-debugging-form-block-debug">
24 <td class="label">{$form.debug_enabled.label}</td>
25 <td>{$form.debug_enabled.html}<br />
26 <span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to use one of CiviCRM's debugging tools.{/ts} {help id='debug'}</span></td>
27 </tr>
28 <tr class="crm-debugging-form-block-backtrace">
29 <td class="label">{$form.backtrace.label}</td>
30 <td>{$form.backtrace.html}<br />
31 <span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to display a backtrace listing when a fatal error is encountered.{/ts}</span></td>
32 </tr>
33 <tr class="crm-debugging-form-block-environment">
34 <td class="label">{$form.environment.label}</td>
35 <td>{$form.environment.html}<br />
36 <span class="description">{ts}Set this value to <strong>Staging/Development</strong> to prevent cron jobs & mailings from being executed.{/ts}</span></td>
37 </tr>
38 <tr class="crm-debugging-form-block-fatalErrorHandler">
39 <td class="label">{$form.fatalErrorHandler.label}</td>
40 <td>{$form.fatalErrorHandler.html}<br />
41 <span class="description">{ts}Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.{/ts}</span></td>
42 </tr>
43 <tr class="crm-debugging-form-block-assetCache">
44 <td class="label">{$form.assetCache.label}</td>
45 <td>{$form.assetCache.html}<br />
46 <span class="description">{ts}Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.){/ts}</span></td>
47 </tr>
48 </table>
49 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
50 <div class="spacer"></div>
51 </div>