Difference between revisions of "Variables"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Variables.

(Miscellaneous)
m (Reverted edits by Liubin (Talk) to last version by Abel Camacho)
 
(22 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
This page is for administrators of Moodle 1.6 sites (see [[Talk:Variables]]). 
 +
:'''NOTE: In later versions of Moodle, variables may be in different locations in the interface. For instance, the "maxbytes" variable is in the site administration block under Security -> Site Policies -> Maximum uploaded file size.'''
 +
 +
 
== Interface ==
 
== Interface ==
  
 
*''lang'' - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to [[Language]] for details
 
*''lang'' - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to [[Language]] for details
*''timezone'' -  This field is used to set the default timezone used by Moodle. It effects time-related messages on the system such as assignment deadlines. If you have set this and still have time problems, make sure the time is set correctly on the server. Users can also set their timezone, see [[Edit profile]].
+
*''timezone'' -  This field is used to set the default timezone used by Moodle. It affects time-related messages on the system such as assignment deadlines. If you have set this and still have time problems, make sure the time is set correctly on the server. Users can also set their timezone, see [[Edit profile]].
 
*''themelist'', ''allowuserthemes'', ''allowcoursethemes'' - Please refer to the [[Theme config|Theme configuration]] for details
 
*''themelist'', ''allowuserthemes'', ''allowcoursethemes'' - Please refer to the [[Theme config|Theme configuration]] for details
  
Line 21: Line 25:
 
*''maxeditingtime'' - Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying "no editing after 30 minutes"]
 
*''maxeditingtime'' - Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying "no editing after 30 minutes"]
  
debug - Set debug to on in order to get more information about PHP errors. This is often helpful to an administrator when trying to get more information about an error or problem being experienced. Normally, debug is set to off.
+
*''debug'' - Set debug to on in order to get more information about PHP errors. This is often helpful to an administrator when trying to get more information about an error or problem being experienced. Normally, debug is set to off. For more information about debugging in Moodle 1.7 onwards, see [[Debugging]].
 
 
{{Moodle 1.7}}
 
==Debugging in Moodle 1.7 onwards==
 
The interface for Administration changed in Moodle 1.7 and more options were given for controlling how to handle PHP error messages. To access debug in Moodle 1.7 onwards, go to the Administration block, click on Server, and then click on Debugging.
 
 
 
The options for debugging include:
 
MINIMAL: Show only fatal errors
 
NORMAL: Show errors, warnings and notices
 
ALL: Show all reasonable PHP debug messages
 
DEVELOPER: extra Moodle debug messages for developers - If you turn this on, then PHP's error_reporting will be increased so that more warnings are printed.  This is only useful for developers.
 
 
 
'''Display debug messages''' - There is an option to choose whether to display error messages or simply record them in the server logs.
 
 
 
'''Debug email sending''' -  Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.
 
 
 
'''Performance info''' - The Performance info option determines whether performance info will be included in the footer of the standard theme (and some other themes). Performance info includes the time for the page to load, the amount of memory used to generate the page, cpu usage, load, and the record cache hit/miss ration.
 
  
 
== See also ==
 
== See also ==
Line 46: Line 34:
 
[[Category:Administrator]]
 
[[Category:Administrator]]
  
 +
[[es:Variables]]
 +
[[eu:Aldagaiak]]
 
[[fr:Paramètres techniques]]
 
[[fr:Paramètres techniques]]
[[es:Variables]]
+
[[ja:詳細設定]]
 +
[[pt:Variáveis]]

Latest revision as of 17:34, 20 March 2011

This page is for administrators of Moodle 1.6 sites (see Talk:Variables).

NOTE: In later versions of Moodle, variables may be in different locations in the interface. For instance, the "maxbytes" variable is in the site administration block under Security -> Site Policies -> Maximum uploaded file size.


Interface

  • lang - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to Language for details
  • timezone - This field is used to set the default timezone used by Moodle. It affects time-related messages on the system such as assignment deadlines. If you have set this and still have time problems, make sure the time is set correctly on the server. Users can also set their timezone, see Edit profile.
  • themelist, allowuserthemes, allowcoursethemes - Please refer to the Theme configuration for details

Operating System

User

Permissions

Miscellaneous

  • debug - Set debug to on in order to get more information about PHP errors. This is often helpful to an administrator when trying to get more information about an error or problem being experienced. Normally, debug is set to off. For more information about debugging in Moodle 1.7 onwards, see Debugging.

See also