Merge pull request #12998 from agileware/CIVICRM-990
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Debugging.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <div class="help">
27 {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"}
28 </div>
29 <div class="crm-block crm-form-block crm-debugging-form-block">
30 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
31 <table class="form-layout">
32 {if $form.userFrameworkLogging}
33 <tr class="crm-debugging-form-block-userFrameworkLogging">
34 <td class="label">{$form.userFrameworkLogging.label}</td>
35 <td>{$form.userFrameworkLogging.html}<br />
36 <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>
37 </tr>
38 {/if}
39 <tr class="crm-debugging-form-block-debug">
40 <td class="label">{$form.debug_enabled.label}</td>
41 <td>{$form.debug_enabled.html}<br />
42 <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>
43 </tr>
44 <tr class="crm-debugging-form-block-backtrace">
45 <td class="label">{$form.backtrace.label}</td>
46 <td>{$form.backtrace.html}<br />
47 <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>
48 </tr>
49 <tr class="crm-debugging-form-block-environment">
50 <td class="label">{$form.environment.label}</td>
51 <td>{$form.environment.html}<br />
52 <span class="description">{ts}Set this value to <strong>Staging/Development</strong> to prevent cron jobs & mailings from being executed.{/ts}</span></td>
53 </tr>
54 <tr class="crm-debugging-form-block-fatalErrorHandler">
55 <td class="label">{$form.fatalErrorHandler.label}</td>
56 <td>{$form.fatalErrorHandler.html}<br />
57 <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>
58 </tr>
59 <tr class="crm-debugging-form-block-assetCache">
60 <td class="label">{$form.assetCache.label}</td>
61 <td>{$form.assetCache.html}<br />
62 <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>
63 </tr>
64 </table>
65 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
66 <div class="spacer"></div>
67 </div>