<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/310/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vicentina</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/310/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vicentina"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/Special:Contributions/Vicentina"/>
	<updated>2026-05-10T09:25:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90397</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90397"/>
		<updated>2011-09-25T20:12:45Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Try typing the URL directly */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Debug messages===&lt;br /&gt;
The default is none, your choices are:&lt;br /&gt;
&lt;br /&gt;
;NONE : Do not show any errors or warnings (Default) &lt;br /&gt;
;ALL : Show all reasonable PHP debug messages&lt;br /&gt;
;MINIMAL : Show only fatal errors&lt;br /&gt;
;NORMAL : Show warnings, errors and notices&lt;br /&gt;
;DEVELOPER : extra Moodle debug messages for developers&lt;br /&gt;
&lt;br /&gt;
There is rarely any advantage in going to Developer level, unless you are a developer, in which case it is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Once you have got the error message, and copied and pasted it somewhere.  HIGHLY RECOMMENDED to turn Debug back to NONE. Debug messages can give clues to a hacker as to the setup of your site.&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://nte-coxim.freewebclass.com/admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = false;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90396</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90396"/>
		<updated>2011-09-25T20:10:36Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* In config.php */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Debug messages===&lt;br /&gt;
The default is none, your choices are:&lt;br /&gt;
&lt;br /&gt;
;NONE : Do not show any errors or warnings (Default) &lt;br /&gt;
;ALL : Show all reasonable PHP debug messages&lt;br /&gt;
;MINIMAL : Show only fatal errors&lt;br /&gt;
;NORMAL : Show warnings, errors and notices&lt;br /&gt;
;DEVELOPER : extra Moodle debug messages for developers&lt;br /&gt;
&lt;br /&gt;
There is rarely any advantage in going to Developer level, unless you are a developer, in which case it is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Once you have got the error message, and copied and pasted it somewhere.  HIGHLY RECOMMENDED to turn Debug back to NONE. Debug messages can give clues to a hacker as to the setup of your site.&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://.../admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = false;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90249</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90249"/>
		<updated>2011-09-25T03:12:16Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://nte-coxim.freewebclass.com/nte-coxim/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://cvs.moodle.org/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90042</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90042"/>
		<updated>2011-09-22T07:17:10Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* In config.php */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Debug messages===&lt;br /&gt;
The default is none, your choices are:&lt;br /&gt;
&lt;br /&gt;
;NONE : Do not show any errors or warnings (Default) &lt;br /&gt;
;ALL : Show all reasonable PHP debug messages&lt;br /&gt;
;MINIMAL : Show only fatal errors&lt;br /&gt;
;NORMAL : Show warnings, errors and notices&lt;br /&gt;
;DEVELOPER : extra Moodle debug messages for developers&lt;br /&gt;
&lt;br /&gt;
There is rarely any advantage in going to Developer level, unless you are a developer, in which case it is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Once you have got the error message, and copied and pasted it somewhere.  HIGHLY RECOMMENDED to turn Debug back to NONE. Debug messages can give clues to a hacker as to the setup of your site.&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://.../admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90039</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=90039"/>
		<updated>2011-09-22T07:02:19Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Try typing the URL directly */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Debug messages===&lt;br /&gt;
The default is none, your choices are:&lt;br /&gt;
&lt;br /&gt;
;NONE : Do not show any errors or warnings (Default) &lt;br /&gt;
;ALL : Show all reasonable PHP debug messages&lt;br /&gt;
;MINIMAL : Show only fatal errors&lt;br /&gt;
;NORMAL : Show warnings, errors and notices&lt;br /&gt;
;DEVELOPER : extra Moodle debug messages for developers&lt;br /&gt;
&lt;br /&gt;
There is rarely any advantage in going to Developer level, unless you are a developer, in which case it is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Once you have got the error message, and copied and pasted it somewhere.  HIGHLY RECOMMENDED to turn Debug back to NONE. Debug messages can give clues to a hacker as to the setup of your site.&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://nte-coxim.freewebclass.com/admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = true;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90031</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90031"/>
		<updated>2011-09-21T15:16:17Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90030</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90030"/>
		<updated>2011-09-21T15:14:55Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com.view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90029</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90029"/>
		<updated>2011-09-21T15:14:15Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com.php?&amp;quot;view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90028</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90028"/>
		<updated>2011-09-21T15:12:56Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file &amp;quot;http://nte-coxim.freewebclass.com/moodle/config-dist.php?&amp;quot;view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90027</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90027"/>
		<updated>2011-09-21T15:09:57Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com/script/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90026</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90026"/>
		<updated>2011-09-21T15:08:56Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90025</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90025"/>
		<updated>2011-09-21T15:08:14Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90024</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=90024"/>
		<updated>2011-09-21T15:06:15Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://nte-coxim.freewebclass.com/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89970</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89970"/>
		<updated>2011-09-20T11:21:53Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Enabling password salting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://nte-coxim.frewebclass.com/nte-coxim/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://cvs.moodle.org/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
$CFG-&amp;gt;cachetype = ‘internal’;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://nte-coxim.freewebclass.com&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/nte-coxim.freewebclass.com/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89946</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89946"/>
		<updated>2011-09-20T02:36:09Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Enabling password salting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.nte-coxim.frewebclass.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://cvs.moodle.org/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
$CFG-&amp;gt;cachetype = ‘internal’;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://nte-coxim.freewebclass.com&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/nte-coxim.freewebclass.com/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89945</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89945"/>
		<updated>2011-09-20T02:34:03Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://cvs.moodle.org/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
$CFG-&amp;gt;cachetype = ‘internal’;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://nte-coxim.freewebclass.com&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/nte-coxim.freewebclass.com/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Installation_FAQ&amp;diff=89943</id>
		<title>Installation FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Installation_FAQ&amp;diff=89943"/>
		<updated>2011-09-20T00:29:28Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* What &amp;amp; where are Moodle&amp;#039;s configuration settings stored? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Installing Moodle}}&lt;br /&gt;
&lt;br /&gt;
== System information needed for Installation problems forum ==&lt;br /&gt;
When posting questions to the [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum], try to provide as much background information as possible about your Moodle system. Use this template to copy and paste into your post:&lt;br /&gt;
* Server Operating System name (version also if possible): &lt;br /&gt;
* Browser name (version also if possible):&lt;br /&gt;
* Moodle version:&lt;br /&gt;
* Moodle install type? (New/Upgrade):&lt;br /&gt;
* Moodle config.php attached?(Y/N):&lt;br /&gt;
* Phpinfo attached? (Y/N):&lt;br /&gt;
&lt;br /&gt;
For the last two items, try to include the following in your post as an attachment:&lt;br /&gt;
* A copy of your phpinfo output as shown in your browser (see the instructions above for an explanation of how to obtain this, or see [[phpinfo]]).&lt;br /&gt;
* A copy of the Moodle configuration file (with secret info like database password deleted, of course). This is located in the main Moodle directory (by default called moodle), and is named config.php&lt;br /&gt;
&lt;br /&gt;
Copy and paste both of these into a single text file (using vi, Notepad, etc) and attach this to your post. If your PC is a Windows box and config.php looks messy (line breaks missing or in the wrong places) in Notepad, try Wordpad.&lt;br /&gt;
&lt;br /&gt;
If you cannot provide your phpinfo, try to copy &amp;amp; paste and complete these in your post:&lt;br /&gt;
* Webserver (e.g. Apache/IIS) version:&lt;br /&gt;
* Database server (e.g. MySQL, PostgreSQL) version:&lt;br /&gt;
* PHP version:&lt;br /&gt;
&lt;br /&gt;
For installation on web hosting accounts: contact your support desk who should be able to tell you this information.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Security Warning&#039;&#039;&#039;: Make sure you edit any files and delete any passwords before posting onto the forum.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==PHP - is it installed and what version do I have?==&lt;br /&gt;
&lt;br /&gt;
Make a new file on your web site called &#039;&#039;info.php&#039;&#039;, containing the following text, and call it from your browser:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;?PHP phpinfo() ?&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If nothing happens then you don&#039;t have PHP installed or your webserver is not configured to handle .php files properly. See the installation docs for some information about where to download it for your computer. See the [[phpinfo]] page for details about the content of this page.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&#039;1.0&#039; encoding=&#039;utf-8&#039;?&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
  DEBUG: Content-Type: application/xhtml+xml &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; dir=&amp;quot;ltr&amp;quot; lang=&amp;quot;pt-br&amp;quot; xml:lang=&amp;quot;pt-br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/theme/standard/styles.php&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/theme/standardwhite/styles.php&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;&lt;br /&gt;
  &amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 7]&amp;gt;&lt;br /&gt;
    &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/theme/standard/styles_ie7.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 6]&amp;gt;&lt;br /&gt;
    &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/theme/standard/styles_ie6.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;title&amp;gt;Online Courses - Distance Learning - Núcleo de Tecnologias Educacionais&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;Free Web Hosting for Online Classes, Distance Learning and Online Courses offered by worldwide.&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;META Name=&amp;quot;Keywords&amp;quot; Content=&amp;quot;internet degree, online university, distance learning, online education, distance education, online courses&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;link rel=&amp;quot;shortcut icon&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/theme/standardwhite/favicon.ico&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;!--&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;/*&amp;lt;![CDATA[*/ body{behavior:url(http://nte-coxim.freewebclass.com/lib/csshover.htc);} /*]]&amp;gt;*/&amp;lt;/style&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/javascript-static.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/javascript-mod.php&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/overlib/overlib.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/overlib/overlib_cssstyle.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/cookies.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/ufo.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/lib/dropdown.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; defer=&amp;quot;defer&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
setTimeout(&#039;fix_column_widths()&#039;, 20);&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
function openpopup(url, name, options, fullscreen) {&lt;br /&gt;
    var fullurl = &amp;quot;http://nte-coxim.freewebclass.com&amp;quot; + url;&lt;br /&gt;
    var windowobj = window.open(fullurl, name, options);&lt;br /&gt;
    if (!windowobj) {&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
    if (fullscreen) {&lt;br /&gt;
        windowobj.moveTo(0, 0);&lt;br /&gt;
        windowobj.resizeTo(screen.availWidth, screen.availHeight);&lt;br /&gt;
    }&lt;br /&gt;
    windowobj.focus();&lt;br /&gt;
    return false;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function uncheckall() {&lt;br /&gt;
    var inputs = document.getElementsByTagName(&#039;input&#039;);&lt;br /&gt;
    for(var i = 0; i &amp;lt; inputs.length; i++) {&lt;br /&gt;
        inputs[i].checked = false;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function checkall() {&lt;br /&gt;
    var inputs = document.getElementsByTagName(&#039;input&#039;);&lt;br /&gt;
    for(var i = 0; i &amp;lt; inputs.length; i++) {&lt;br /&gt;
        inputs[i].checked = true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function inserttext(text) {&lt;br /&gt;
  text = &#039; &#039; + text + &#039; &#039;;&lt;br /&gt;
  if ( opener.document.forms[&#039;theform&#039;].message.createTextRange &amp;amp;&amp;amp; opener.document.forms[&#039;theform&#039;].message.caretPos) {&lt;br /&gt;
    var caretPos = opener.document.forms[&#039;theform&#039;].message.caretPos;&lt;br /&gt;
    caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == &#039; &#039; ? text + &#039; &#039; : text;&lt;br /&gt;
  } else {&lt;br /&gt;
    opener.document.forms[&#039;theform&#039;].message.value  += text;&lt;br /&gt;
  }&lt;br /&gt;
  opener.document.forms[&#039;theform&#039;].message.focus();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function getElementsByClassName(oElm, strTagName, oClassNames){&lt;br /&gt;
	var arrElements = (strTagName == &amp;quot;*&amp;quot; &amp;amp;&amp;amp; oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);&lt;br /&gt;
	var arrReturnElements = new Array();&lt;br /&gt;
	var arrRegExpClassNames = new Array();&lt;br /&gt;
	if(typeof oClassNames == &amp;quot;object&amp;quot;){&lt;br /&gt;
		for(var i=0; i&amp;lt;oClassNames.length; i++){&lt;br /&gt;
			arrRegExpClassNames.push(new RegExp(&amp;quot;(^|\\s)&amp;quot; + oClassNames[i].replace(/\-/g, &amp;quot;\\-&amp;quot;) + &amp;quot;(\\s|$)&amp;quot;));&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	else{&lt;br /&gt;
		arrRegExpClassNames.push(new RegExp(&amp;quot;(^|\\s)&amp;quot; + oClassNames.replace(/\-/g, &amp;quot;\\-&amp;quot;) + &amp;quot;(\\s|$)&amp;quot;));&lt;br /&gt;
	}&lt;br /&gt;
	var oElement;&lt;br /&gt;
	var bMatchesAll;&lt;br /&gt;
	for(var j=0; j&amp;lt;arrElements.length; j++){&lt;br /&gt;
		oElement = arrElements[j];&lt;br /&gt;
		bMatchesAll = true;&lt;br /&gt;
		for(var k=0; k&amp;lt;arrRegExpClassNames.length; k++){&lt;br /&gt;
			if(!arrRegExpClassNames[k].test(oElement.className)){&lt;br /&gt;
				bMatchesAll = false;&lt;br /&gt;
				break;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
		if(bMatchesAll){&lt;br /&gt;
			arrReturnElements.push(oElement);&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	return (arrReturnElements)&lt;br /&gt;
}&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body  class=&amp;quot;course course-1 notloggedin dir-ltr lang-pt_br_utf8&amp;quot; id=&amp;quot;site-index&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;   &lt;br /&gt;
#blockblockA {position:absolute;top:0px;left:0px;background-color:#E7E8E8;width:100%;height:100%;}&lt;br /&gt;
#blockblockA td {text-align:center;width:100%;height:100%;}&lt;br /&gt;
#blockblockA td p {font: bold 20px Arial;color:#333333;}&lt;br /&gt;
#blockblockA td div {font: bold 13px Arial;color:#333333;}&lt;br /&gt;
#blockblockB {visibility:invisible;display:none;}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noscript&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
#blockblockA {visibility:invisible!important;display:none!important;}&lt;br /&gt;
#blockblockA td {visibility:invisible!important;display:none!important;}&lt;br /&gt;
#blockblockA td p {visibility:invisible!important;display:none!important;}&lt;br /&gt;
#blockblockB {visibility:visible!important;display:block!important;}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/noscript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://freewebclass.com/advertisement.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table id=&amp;quot;blockblockA&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- DISPLAY HTML CODE HERE --&amp;gt;&lt;br /&gt;
&amp;lt;table width=&amp;quot;500&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; bgcolor=&amp;quot;#FFFFFF&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;500&amp;quot; style=&amp;quot;border:1px solid #D9DADA; padding:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;FreeWebClass.com is supported by advertisements.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Please disable Advertising Blocking Software in your browser to view this website.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You can use FreeWebClass.com without advertisement by &amp;lt;a href=&amp;quot;http://freewebclass.com&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;subscribing to Plus or Pro account&amp;lt;/a&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For more information please visit &amp;lt;a href=&amp;quot;http://freewebclass.com&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://freewebclass.com&amp;lt;/a&amp;gt; or email support@freewebclass.com. Thank you.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- DISPLAY HTML CODE HERE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;blockblockB&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
var _gaq = _gaq || [];&lt;br /&gt;
_gaq.push([&#039;_setAccount&#039;, &#039;UA-7416464-17&#039;]);&lt;br /&gt;
_gaq.push([&#039;_setDomainName&#039;, &#039;.freewebclass.com&#039;]);&lt;br /&gt;
_gaq.push([&#039;_trackPageview&#039;]);&lt;br /&gt;
&lt;br /&gt;
(function() {&lt;br /&gt;
var ga = document.createElement(&#039;script&#039;); ga.type = &#039;text/javascript&#039;; ga.async = true;&lt;br /&gt;
ga.src = (&#039;https:&#039; == document.location.protocol ? &#039;https://ssl&#039; : &#039;http://www&#039;) + &#039;.google-analytics.com/ga.js&#039;;&lt;br /&gt;
var s = document.getElementsByTagName(&#039;script&#039;)[0]; s.parentNode.insertBefore(ga, s);&lt;br /&gt;
})();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  var _gaq = _gaq || [];&lt;br /&gt;
  _gaq.push([&#039;_setAccount&#039;, &#039;UA-3485212-63&#039;]);&lt;br /&gt;
  _gaq.push([&#039;_setDomainName&#039;, &#039;.freewebclass.com&#039;]);&lt;br /&gt;
  _gaq.push([&#039;_trackPageview&#039;]);&lt;br /&gt;
&lt;br /&gt;
  (function() {&lt;br /&gt;
    var ga = document.createElement(&#039;script&#039;); ga.type = &#039;text/javascript&#039;; ga.async = true;&lt;br /&gt;
    ga.src = (&#039;https:&#039; == document.location.protocol ? &#039;https://ssl&#039; : &#039;http://www&#039;) + &#039;.google-analytics.com/ga.js&#039;;&lt;br /&gt;
    var s = document.getElementsByTagName(&#039;script&#039;)[0]; s.parentNode.insertBefore(ga, s);&lt;br /&gt;
  })();&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;page&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;skip&amp;quot; href=&amp;quot;#maincontent&amp;quot;&amp;gt;Ir para o conteúdo principal&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;div id=&amp;quot;header-home&amp;quot; class=&amp;quot; clearfix&amp;quot;&amp;gt;        &amp;lt;h1 class=&amp;quot;headermain&amp;quot;&amp;gt;Núcleo de Tecnologias Educacionais&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;div class=&amp;quot;headermenu&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;logininfo&amp;quot;&amp;gt;Você ainda não se identificou (&amp;lt;a  href=&amp;quot;http://nte-coxim.freewebclass.com/login/index.php&amp;quot;&amp;gt;Acesso&amp;lt;/a&amp;gt;)&amp;lt;/div&amp;gt;&amp;lt;form action=&amp;quot;http://nte-coxim.freewebclass.com/course/jumpto.php&amp;quot; method=&amp;quot;get&amp;quot;  id=&amp;quot;chooselang&amp;quot; class=&amp;quot;popupform&amp;quot;&amp;gt;&amp;lt;div&amp;gt;&amp;lt;label for=&amp;quot;chooselang_jump&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;accesshide &amp;quot; &amp;gt;Idioma&amp;lt;/span&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;select id=&amp;quot;chooselang_jump&amp;quot; name=&amp;quot;jump&amp;quot; onchange=&amp;quot;self.location=document.getElementById(&#039;chooselang&#039;).jump.options[document.getElementById(&#039;chooselang&#039;).jump.selectedIndex].value;&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=af_utf8&amp;quot;&amp;gt;Afrikaans (af)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ar_utf8&amp;quot;&amp;gt;عربي (ar)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ast_utf8&amp;quot;&amp;gt;Asturianu (ast)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=be_utf8&amp;quot;&amp;gt;Беларуская (be)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=bg_utf8&amp;quot;&amp;gt;Български (bg)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=bn_utf8&amp;quot;&amp;gt;বাংলা (bn)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=bs_utf8&amp;quot;&amp;gt;Bosanski (bs)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ca_utf8&amp;quot;&amp;gt;Català (ca)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=cs_utf8&amp;quot;&amp;gt;Čeština (cs)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=cy_utf8&amp;quot;&amp;gt;Cymraeg (cy)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=da_utf8&amp;quot;&amp;gt;Dansk (da)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=de_du_utf8&amp;quot;&amp;gt;Deutsch - Du (de_du)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=de_utf8&amp;quot;&amp;gt;Deutsch (de)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=dv_utf8&amp;quot;&amp;gt;ދިވެހި (dv)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=dz_utf8&amp;quot;&amp;gt;Dzongkha (dz)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=el_utf8&amp;quot;&amp;gt;Ελληνικά (el)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=en_us_utf8&amp;quot;&amp;gt;English (en_us)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=en_utf8&amp;quot;&amp;gt;English (en)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=es_ar_utf8&amp;quot;&amp;gt;Español - Argentina (es_ar)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=es_mx_utf8&amp;quot;&amp;gt;Español - Mexico (es_mx)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=es_utf8&amp;quot;&amp;gt;Español - Internacional (es)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=et_utf8&amp;quot;&amp;gt;Eesti (et)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=eu_utf8&amp;quot;&amp;gt;Euskara (eu)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=fa_utf8&amp;quot;&amp;gt;فارسی (fa)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=fi_utf8&amp;quot;&amp;gt;Suomi (fi)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=fil_utf8&amp;quot;&amp;gt;Filipino (fil)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=fr_ca_utf8&amp;quot;&amp;gt;Français - Canada (fr_ca)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=fr_utf8&amp;quot;&amp;gt;Français (fr)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ga_utf8&amp;quot;&amp;gt;Gaeilge (ga)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=gl_utf8&amp;quot;&amp;gt;Galego (gl)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=gu_utf8&amp;quot;&amp;gt;ગુજરાતી (gu)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=he_utf8&amp;quot;&amp;gt;עברית (he)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=hi_utf8&amp;quot;&amp;gt;िहन्दी (hi)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=hr_utf8&amp;quot;&amp;gt;Hrvatski (hr)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=hu_utf8&amp;quot;&amp;gt;magyar (hu)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=hy_utf8&amp;quot;&amp;gt;Հայերեն (hy)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=id_utf8&amp;quot;&amp;gt;Indonesian (id)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=is_utf8&amp;quot;&amp;gt;&amp;amp;Iacute;slenska (is)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=it_utf8&amp;quot;&amp;gt;Italiano (it)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ja_utf8&amp;quot;&amp;gt;日本語 (ja)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ka_utf8&amp;quot;&amp;gt;ქართული (ka)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=kk_utf8&amp;quot;&amp;gt;Қазақша (kk)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=km_utf8&amp;quot;&amp;gt;ខ្មែរ (km)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=kn_utf8&amp;quot;&amp;gt;ಕನ್ನಡ (kn)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ko_utf8&amp;quot;&amp;gt;한국어 (ko)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=la_utf8&amp;quot;&amp;gt;Latin (la)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=lo_utf8&amp;quot;&amp;gt;Laotian (lo)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=lt_utf8&amp;quot;&amp;gt;Lietuvių (lt)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=lv_utf8&amp;quot;&amp;gt;Latviešu (lv)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=mi_tn_utf8&amp;quot;&amp;gt;Māori - Tainui (mi_tn)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=mi_wwow_utf8&amp;quot;&amp;gt;Māori - Waikato (mi_wwow)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=mk_utf8&amp;quot;&amp;gt;Македонски (mk)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ml_utf8&amp;quot;&amp;gt;മലയാളം (ml)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=mn_utf8&amp;quot;&amp;gt;Монгол (mn)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=mr_utf8&amp;quot;&amp;gt;मराठी (mr)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ms_utf8&amp;quot;&amp;gt;Bahasa Melayu (ms)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=nl_utf8&amp;quot;&amp;gt;Nederlands (nl)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=nn_utf8&amp;quot;&amp;gt;Norsk - nynorsk (nn)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=no_gr_utf8&amp;quot;&amp;gt;Norsk (no_gr)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=no_utf8&amp;quot;&amp;gt;Norsk - bokmål (no)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=pl_utf8&amp;quot;&amp;gt;Polski (pl)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=pt_br_utf8&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt;Português - Brasil (pt_br)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=pt_utf8&amp;quot;&amp;gt;Português - Portugal (pt)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ro_utf8&amp;quot;&amp;gt;Română (ro)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ru_utf8&amp;quot;&amp;gt;Русский (ru)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=si_utf8&amp;quot;&amp;gt;සිංහල  (si)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sk_utf8&amp;quot;&amp;gt;Slovenčina (sk)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sl_utf8&amp;quot;&amp;gt;Sloven&amp;amp;#353;&amp;amp;#269;ina (sl)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sm_utf8&amp;quot;&amp;gt;Samoan (sm)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=so_utf8&amp;quot;&amp;gt;Soomaali (so)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sq_utf8&amp;quot;&amp;gt;Shqip (sq)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sr_cr_bo_utf8&amp;quot;&amp;gt;Српски (sr_cr_bo)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sr_cr_utf8&amp;quot;&amp;gt;Српски (sr_cr)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sr_lt_utf8&amp;quot;&amp;gt;Srpski (sr_lt)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=sv_utf8&amp;quot;&amp;gt;Svenska (sv)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ta_lk_utf8&amp;quot;&amp;gt;தமிழ் (ta_lk)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ta_utf8&amp;quot;&amp;gt;Tamil (ta)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=th_utf8&amp;quot;&amp;gt;Thai (th)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=tl_utf8&amp;quot;&amp;gt;Tagalog (tl)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=to_utf8&amp;quot;&amp;gt;Tongan (to)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=tr_utf8&amp;quot;&amp;gt;Türkçe (tr)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=uk_utf8&amp;quot;&amp;gt;Українська (uk)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=ur_utf8&amp;quot;&amp;gt;اردو (ur)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=uz_utf8&amp;quot;&amp;gt;O&#039;zbekcha (uz)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=vi_utf8&amp;quot;&amp;gt;Vietnamese (vi)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=zh_cn_utf8&amp;quot;&amp;gt;简体中文 (zh_cn)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=zh_tw_utf8&amp;quot;&amp;gt;正體中文 (zh_tw)&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;http://nte-coxim.freewebclass.com/index.php?lang=zu_utf8&amp;quot;&amp;gt;isiZulu (zu)&amp;lt;/option&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/select&amp;gt;&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;sesskey&amp;quot; value=&amp;quot;lQrVAJCaBm&amp;quot; /&amp;gt;&amp;lt;div id=&amp;quot;noscriptchooselang&amp;quot; style=&amp;quot;display: inline;&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Vai&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
document.getElementById(&amp;quot;noscriptchooselang&amp;quot;).style.display = &amp;quot;none&amp;quot;;&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;        &amp;lt;hr /&amp;gt;&lt;br /&gt;
    &amp;lt;!-- END OF HEADER --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; bgcolor=&amp;quot;#fafafa&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;padding-top:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
google_ad_client = &amp;quot;ca-pub-1015063944539735&amp;quot;;&lt;br /&gt;
/* FreeWebClass.com */&lt;br /&gt;
google_ad_slot = &amp;quot;6525208159&amp;quot;;&lt;br /&gt;
google_ad_width = 728;&lt;br /&gt;
google_ad_height = 90;&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&lt;br /&gt;
src=&amp;quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;div id=&amp;quot;content&amp;quot; class=&amp;quot; clearfix&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table id=&amp;quot;layout-table&amp;quot; summary=&amp;quot;layout&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td style=&amp;quot;width: 210px;&amp;quot; id=&amp;quot;left-column&amp;quot;&amp;gt;&amp;lt;div&amp;gt;&amp;lt;a href=&amp;quot;#sb-1&amp;quot; class=&amp;quot;skip-block&amp;quot;&amp;gt;Saltar Menu Principal&amp;lt;/a&amp;gt;&amp;lt;div  id=&amp;quot;inst1&amp;quot; class=&amp;quot;block_site_main_menu sideblock&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;header&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;image&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/pix/t/switch_minus.gif&amp;quot; id=&amp;quot;togglehide_inst1&amp;quot; onclick=&amp;quot;elementToggleHide(this, true, function(el) {return findParentNode(el, &#039;DIV&#039;, &#039;sideblock&#039;); }, &#039;Mostrar o bloco Menu Principal&#039;, &#039;Esconder o bloco Menu Principal&#039;); return false;&amp;quot; alt=&amp;quot;Esconder o bloco Menu Principal&amp;quot; title=&amp;quot;Esconder o bloco Menu Principal&amp;quot; class=&amp;quot;hide-show-image&amp;quot; /&amp;gt;&amp;lt;h2&amp;gt;Menu Principal&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&#039;list&#039;&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;r0&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;icon column c0&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://nte-coxim.freewebclass.com/mod/assignment/icon.gif&amp;quot; class=&amp;quot;icon&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;column c1&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Tarefas&amp;quot;   href=&amp;quot;http://nte-coxim.freewebclass.com/mod/assignment/view.php?id=15&amp;quot;&amp;gt;Atividade 1 – Enviando Mensagens &amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;r1&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;icon column c0&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://nte-coxim.freewebclass.com/mod/forum/icon.gif&amp;quot; class=&amp;quot;icon&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;column c1&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Fóruns&amp;quot;   href=&amp;quot;http://nte-coxim.freewebclass.com/mod/forum/view.php?id=38&amp;quot;&amp;gt;Projeto &amp;quot;Rede de Leituras&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
elementCookieHide(&amp;quot;inst1&amp;quot;,&amp;quot;Mostrar o bloco Menu Principal&amp;quot;,&amp;quot;Esconder o bloco Menu Principal&amp;quot;);&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&amp;lt;span id=&amp;quot;sb-1&amp;quot; class=&amp;quot;skip-block-to&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td id=&amp;quot;middle-column&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;maincontent&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;div&amp;gt;&amp;lt;div class=&amp;quot;generalbox sitetopic box&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;img width=&amp;quot;230&amp;quot; vspace=&amp;quot;0&amp;quot; hspace=&amp;quot;0&amp;quot; height=&amp;quot;171&amp;quot; border=&amp;quot;0&amp;quot; title=&amp;quot;mmm&amp;quot; alt=&amp;quot;mmm&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/file.php/1/logo_NTE.jpg&amp;quot; /&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;h2 class=&amp;quot;headingblock header &amp;quot;&amp;gt;Cursos disponíveis&amp;lt;/h2&amp;gt;&amp;lt;ul class=&amp;quot;unlist&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&amp;lt;div class=&amp;quot;coursebox clearfix&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;info&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;name&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Clique para entrar neste curso&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/course/view.php?id=4&amp;quot;&amp;gt;Projeto &amp;quot;Rede de Leituras&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;summary&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;div class=&amp;quot;coursebox clearfix&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;info&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;name&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Clique para entrar neste curso&amp;quot; href=&amp;quot;http://nte-coxim.freewebclass.com/course/view.php?id=3&amp;quot;&amp;gt;Uso Pedagógico do Google Docs&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;summary&amp;quot;&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=&amp;quot;50%&amp;quot; valign=&amp;quot;top&amp;quot; style=&amp;quot;color: rgb(0, 0, 255); font-weight: bold;&amp;quot;&amp;gt;Oficina Google Docs - Para Professores das STE&#039;s/jurisdição NTE/Coxim&amp;lt;br /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 210px;&amp;quot; id=&amp;quot;right-column&amp;quot;&amp;gt;&amp;lt;div&amp;gt;&amp;lt;a href=&amp;quot;#sb-2&amp;quot; class=&amp;quot;skip-block&amp;quot;&amp;gt;Saltar Acesso&amp;lt;/a&amp;gt;&amp;lt;div  id=&amp;quot;inst16&amp;quot; class=&amp;quot;block_login sideblock&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;header&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;image&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/pix/t/switch_minus.gif&amp;quot; id=&amp;quot;togglehide_inst16&amp;quot; onclick=&amp;quot;elementToggleHide(this, true, function(el) {return findParentNode(el, &#039;DIV&#039;, &#039;sideblock&#039;); }, &#039;Mostrar o bloco Acesso&#039;, &#039;Esconder o bloco Acesso&#039;); return false;&amp;quot; alt=&amp;quot;Esconder o bloco Acesso&amp;quot; title=&amp;quot;Esconder o bloco Acesso&amp;quot; class=&amp;quot;hide-show-image&amp;quot; /&amp;gt;&amp;lt;h2&amp;gt;Acesso&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form class=&amp;quot;loginform&amp;quot; id=&amp;quot;login&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;http://nte-coxim.freewebclass.com/login/index.php&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;c1 fld username&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;login_username&amp;quot;&amp;gt;Nome de usuário&amp;lt;/label&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;username&amp;quot; id=&amp;quot;login_username&amp;quot; value=&amp;quot;a5a1e19&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;c1 fld password&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;login_password&amp;quot;&amp;gt;Senha&amp;lt;/label&amp;gt;&amp;lt;input type=&amp;quot;password&amp;quot; name=&amp;quot;password&amp;quot; id=&amp;quot;login_password&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;c1 btn&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Acesso&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;footer&amp;quot;&amp;gt;&amp;lt;div&amp;gt;&amp;lt;a href=&amp;quot;http://nte-coxim.freewebclass.com/login/signup.php&amp;quot;&amp;gt;Cadastramento de usuários&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;a href=&amp;quot;http://nte-coxim.freewebclass.com/login/forgot_password.php&amp;quot;&amp;gt;Perdeu a senha?&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
elementCookieHide(&amp;quot;inst16&amp;quot;,&amp;quot;Mostrar o bloco Acesso&amp;quot;,&amp;quot;Esconder o bloco Acesso&amp;quot;);&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&amp;lt;span id=&amp;quot;sb-2&amp;quot; class=&amp;quot;skip-block-to&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;a href=&amp;quot;#sb-3&amp;quot; class=&amp;quot;skip-block&amp;quot;&amp;gt;Saltar Usuários Online&amp;lt;/a&amp;gt;&amp;lt;div  id=&amp;quot;inst18&amp;quot; class=&amp;quot;block_online_users sideblock&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;header&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;image&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/pix/t/switch_minus.gif&amp;quot; id=&amp;quot;togglehide_inst18&amp;quot; onclick=&amp;quot;elementToggleHide(this, true, function(el) {return findParentNode(el, &#039;DIV&#039;, &#039;sideblock&#039;); }, &#039;Mostrar o bloco Usuários Online&#039;, &#039;Esconder o bloco Usuários Online&#039;); return false;&amp;quot; alt=&amp;quot;Esconder o bloco Usuários Online&amp;quot; title=&amp;quot;Esconder o bloco Usuários Online&amp;quot; class=&amp;quot;hide-show-image&amp;quot; /&amp;gt;&amp;lt;h2&amp;gt;Usuários Online&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;info&amp;quot;&amp;gt;(últimos 5 minutos)&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;info&amp;quot;&amp;gt;Nenhum&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
elementCookieHide(&amp;quot;inst18&amp;quot;,&amp;quot;Mostrar o bloco Usuários Online&amp;quot;,&amp;quot;Esconder o bloco Usuários Online&amp;quot;);&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&amp;lt;span id=&amp;quot;sb-3&amp;quot; class=&amp;quot;skip-block-to&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;a href=&amp;quot;#sb-4&amp;quot; class=&amp;quot;skip-block&amp;quot;&amp;gt;Saltar Calendário&amp;lt;/a&amp;gt;&amp;lt;div  id=&amp;quot;inst4&amp;quot; class=&amp;quot;block_calendar_month sideblock&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;header&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;image&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/pix/t/switch_minus.gif&amp;quot; id=&amp;quot;togglehide_inst4&amp;quot; onclick=&amp;quot;elementToggleHide(this, true, function(el) {return findParentNode(el, &#039;DIV&#039;, &#039;sideblock&#039;); }, &#039;Mostrar o bloco Calendário&#039;, &#039;Esconder o bloco Calendário&#039;); return false;&amp;quot; alt=&amp;quot;Esconder o bloco Calendário&amp;quot; title=&amp;quot;Esconder o bloco Calendário&amp;quot; class=&amp;quot;hide-show-image&amp;quot; /&amp;gt;&amp;lt;h2&amp;gt;Calendário&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;div id=&amp;quot;overDiv&amp;quot; style=&amp;quot;position: absolute; visibility: hidden; z-index:1000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://nte-coxim.freewebclass.com/calendar/overlib.cfg.php&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;calendar-controls&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;previous&amp;quot; href=&amp;quot;index.php?cal_m=8&amp;amp;amp;cal_y=2011&amp;quot; title=&amp;quot;Mês anterior&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;arrow &amp;quot;&amp;gt;&amp;amp;#x25C4;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;accesshide &amp;quot; &amp;gt;&amp;amp;nbsp;Mês anterior&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;span class=&amp;quot;hide&amp;quot;&amp;gt; | &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;current&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://nte-coxim.freewebclass.com/calendar/view.php?view=month&amp;amp;amp;course=1&amp;amp;amp;cal_d=1&amp;amp;amp;cal_m=9&amp;amp;amp;cal_y=2011&amp;quot;&amp;gt;setembro 2011&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;hide&amp;quot;&amp;gt; | &amp;lt;/span&amp;gt;&amp;lt;a class=&amp;quot;next&amp;quot; href=&amp;quot;index.php?cal_m=10&amp;amp;amp;cal_y=2011&amp;quot; title=&amp;quot;Próximo mês&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;accesshide &amp;quot; &amp;gt;Próximo mês&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;arrow &amp;quot;&amp;gt;&amp;amp;#x25BA;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;clearer&amp;quot;&amp;gt;&amp;lt;!-- --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;table class=&amp;quot;minicalendar&amp;quot; summary=&amp;quot;Tabela de dados, setembro 2011 Calendário&amp;quot;&amp;gt;&amp;lt;tr class=&amp;quot;weekdays&amp;quot;&amp;gt;&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Domingo&amp;quot;&amp;gt;Dom&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Segunda-feira&amp;quot;&amp;gt;Seg&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Terça-feira&amp;quot;&amp;gt;Ter&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Quarta-feira&amp;quot;&amp;gt;Qua&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Quinta-feira&amp;quot;&amp;gt;Qui&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Sexta-feira&amp;quot;&amp;gt;Sex&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Sábado&amp;quot;&amp;gt;Sáb&amp;lt;/abbr&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;dayblank&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;dayblank&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;dayblank&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;dayblank&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;9&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;10&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;11&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;13&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;14&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;15&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;17&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;18&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day today eventnone&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;accesshide &amp;quot; &amp;gt;Hoje segunda,  19 setembro &amp;lt;/span&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot; onmouseover=&amp;quot;return overlib(&#039;Nenhum evento&#039;, CAPTION, &#039;Hoje segunda,  19 setembro&#039;);&amp;quot; onmouseout=&amp;quot;return nd();&amp;quot;&amp;gt;19&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;21&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;22&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;23&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;24&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;weekend day&amp;quot;&amp;gt;25&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;26&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;27&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;28&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;29&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;day&amp;quot;&amp;gt;30&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td class=&amp;quot;dayblank&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
elementCookieHide(&amp;quot;inst4&amp;quot;,&amp;quot;Mostrar o bloco Calendário&amp;quot;,&amp;quot;Esconder o bloco Calendário&amp;quot;);&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&amp;lt;span id=&amp;quot;sb-4&amp;quot; class=&amp;quot;skip-block-to&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&amp;lt;hr /&amp;gt;&amp;lt;p class=&amp;quot;helplink&amp;quot;&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;div class=&amp;quot;logininfo&amp;quot;&amp;gt;Você ainda não se identificou (&amp;lt;a  href=&amp;quot;http://nte-coxim.freewebclass.com/login/index.php&amp;quot;&amp;gt;Acesso&amp;lt;/a&amp;gt;)&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;sitelink&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Moodle&amp;quot; href=&amp;quot;http://moodle.org/&amp;quot;&amp;gt;&amp;lt;img style=&amp;quot;width:100px;height:30px&amp;quot; src=&amp;quot;pix/moodlelogo.gif&amp;quot; alt=&amp;quot;moodlelogo&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Downloading previous releases of Moodle==&lt;br /&gt;
It is possible to download previous versions of Moodle that are not found on the  [http://download.moodle.org Standard Moodle Download page].  There are zip and tgz compressed located at &amp;lt;nowiki&amp;gt;http://download.moodle.org/stable[version_number]&amp;lt;/nowiki&amp;gt; (see links below). &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:75%; height:75px&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| 2.0 Versions || [http://download.moodle.org/stable19 1.9 Versions]  || [http://download.moodle.org/stable18 1.8 Versions] &lt;br /&gt;
|- &lt;br /&gt;
|[http://download.moodle.org/stable17 1.7 Versions] || [http://download.moodle.org/stable16 1.6 Versions] || [http://download.moodle.org/stable15/ 1.5 Versions] &lt;br /&gt;
|-&lt;br /&gt;
| [http://download.moodle.org/stable14 1.4 Versions] || [http://download.moodle.org/stable13 1.3 Versions]  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can download previous releases by using wget, lynx or curl with this URL:&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://download.moodle.org/stable[version_number]&amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
:For example: to download Moodle version 1.5, use &amp;lt;nowiki&amp;gt;http://download.moodle.org/stable15&amp;lt;/nowiki&amp;gt;. You&#039;ll see a directory tree with the files displayed. Click on the one you want and download as normal - if you require the latest update of the version, scroll to the end of the list and download the &amp;quot;moodle-latest&amp;quot; file.&lt;br /&gt;
* &#039;&#039;&#039;Windows Packages&#039;&#039;&#039;: To download other releases not found in [http://download.moodle.org/windows/ Moodle packages for Windows], use this URL:&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;http://download.moodle.org/windows/MoodleWindowsInstaller-latest-[version_number].zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Mac Packages&#039;&#039;&#039;: To download other releases not found in [http://download.moodle.org/macosx/ Mac pacakges], use either of these URLs (depending on whether you need the Intel or PPC package):&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;http://download.moodle.org/macosx/Moodle4Mac-Intel-[version_number].dmg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;http://download.moodle.org/macosx/Moodle4Mac-PPC-[version_number}.dmg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Using CVS&#039;&#039;&#039;: You can also use CVS to download older releases and incremental releases of the Moodle generic packages, e.g. Moodle 1.5.4 - see the [[CVS_for_Administrators | CVS documentation]].&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
== How to enable and check PHP error logs==&lt;br /&gt;
PHP can be set up to log errors in a variety of different ways: two of these involve the use of the php.ini file and the ini_set command.  See [[PHP error logs]].&lt;br /&gt;
&lt;br /&gt;
==Email copies are not being sent from my forums==&lt;br /&gt;
&lt;br /&gt;
You &#039;&#039;must&#039;&#039; set up cron properly if you want Moodle to send out automatic email from forums, assignments etc. This same process also performs a number of clean-up tasks such as deleting old unconfirmed users, unenrolling old students and so on.&lt;br /&gt;
&lt;br /&gt;
Basically, you need to set up a process to regularly call the script &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://yoursite/admin/cron.php&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Please refer to the [[Cron|cron instructions]].&lt;br /&gt;
&lt;br /&gt;
Tips:&lt;br /&gt;
* Try the default settings in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Message outputs &amp;gt; Email&#039;&#039;. This generally works. Except...&lt;br /&gt;
* On a Windows server you *must* supply the address of an SMTP server (Windows, unlike Unix, does not have a build in mail server) in the above settings page&lt;br /&gt;
* Make sure that &#039;&#039;allowuseremailcharset&#039;&#039; in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Message outputs &amp;gt; Email&#039;&#039; is set to No unless you really know what you are doing. Setting this to Yes can cause a problem in some versions of Moodle.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==I can&#039;t log in - I just stay stuck on the login screen==&lt;br /&gt;
&lt;br /&gt;
This may also apply if you are seeing  “Your session has timed out. Please login again” and cannot log in.&lt;br /&gt;
&lt;br /&gt;
The following are possible causes and actions you can take (in no particular order):&lt;br /&gt;
&lt;br /&gt;
* Check first that your main admin account (which will be a manual account) is also a problem. If your users are using an external authentication method (e.g. LDAP) that could be the problem. Isolate the fault and make sure it really is Moodle before going any further.&lt;br /&gt;
* Sessions may not be configured properly on the server. You can test this by calling the script &amp;lt;nowiki&amp;gt;http://yourserver/moodle/lib/session-test.php&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
* If your server is on shared hosting check that you have not reached your disk space quota. This will prevent new sessions being created and nobody will be able to log in. &lt;br /&gt;
* Carefully check the permissions in your &#039;moodledata&#039; area. The web server needs to be able to write to the &#039;sessions&#039; subdirectory.&lt;br /&gt;
* Your own computer (not your Moodle server) may have a firewall that is stripping referrer information from the browser. Here are some instructions for fixing [http://service1.symantec.com/SUPPORT/nip.nsf/46f26a2d6dafb0a788256bc7005c3fa3/b9b47ad7eddd343b88256c6b006a85a8?OpenDocument&amp;amp;src=bar_sch_nam Norton firewall products].&lt;br /&gt;
* Try deleting the &#039;&#039;sessions&#039;&#039; folder in your moodledata directory (anybody currently logged in will be thrown out)&lt;br /&gt;
* Try deleting cookies on your computer and/or try another browser or another client computer&lt;br /&gt;
* In Site Administration &amp;gt; Server &amp;gt; Session handling, try setting a value for &#039;Cookie prefix&#039;. You can also do this by setting &amp;lt;code&amp;gt;$CFG-&amp;gt;sessioncookie=&#039;something&#039;;&amp;lt;/code&amp;gt; in config.php. This is especially true if you are using multiple Moodles on the same browser. &lt;br /&gt;
* Make sure you have not removed or changed the [[Password salting|Password Salt]] value(s) in config.php. If passwords were created using a salt the correct salt must be in config.php for those passwords to continue to work. This feature was optional since Moodle 1.6 but has been applied by default since 1.9.7. This is easily done if you recreate config.php while performing an upgrade and forget to transfer the salt values. &lt;br /&gt;
* Do you have a .htaccess file in your Moodle folder (or its parent directories). If so, is there anything in there that might be causing trouble (strange redirects, access restrictions etc.)?&lt;br /&gt;
* Check the value of &#039;&#039;&#039;mnet_localhost_id&#039;&#039;&#039; in the mdl_config database table. It&#039;s normally 1 but must match the &#039;&#039;&#039;mnet_hostid&#039;&#039;&#039; field in your user records in the mdl_user table for the user to be recognised. It can sometimes get changed spuriously during upgrades or site migrations. &lt;br /&gt;
* You are using the correct username and password, yes?&lt;br /&gt;
&lt;br /&gt;
If you are still having problems, read the [[Can_not_log_in | Cannot log in]] page. You &#039;&#039;&#039;could&#039;&#039;&#039; also try changing the admin password. Proceed as if you have lost it see [[Administration FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==I log in but the login link doesn&#039;t change. I am logged in and can navigate freely.==&lt;br /&gt;
&lt;br /&gt;
Make sure the URL in your &amp;lt;code&amp;gt;$CFG-&amp;gt;wwwroot&amp;lt;/code&amp;gt; setting is exactly the same as the one you are actually using to access the site.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
==Uploaded files give &amp;quot;File not found&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
For example: Not Found: The requested URL /moodle/file.php/2/myfile.jpg was not found on this server.&lt;br /&gt;
&lt;br /&gt;
Your web server needs to be configured to allow the part of the URL after a script name to be passed directly to the script. This is usually enabled in Apache 1, but is usually disabled by default in Apache 2. To turn it on, add this line to your &#039;&#039;httpd.conf&#039;&#039;, or to a &#039;&#039;.htaccess&#039;&#039; file in your local directory (see [[Installing Moodle]] for more details):&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;AcceptPathInfo&#039;&#039;&#039; on&lt;br /&gt;
&lt;br /&gt;
Note, this will ONLY work for Apache versions 2.x.&lt;br /&gt;
&lt;br /&gt;
For IIS you need to configure URL rewriting. This feature is not available in IIS 6 so you need to install a 3rd party IIS extension - see http://msdn.microsoft.com/en-us/library/ms972974.aspx. &lt;br /&gt;
&lt;br /&gt;
IIS 7 now comes with the new URL Rewrite Module so a 3rd part extension is no longer required if you are running IIS 7. See http://learn.iis.net/page.aspx/734/url-rewrite-module for more details.&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got URL rewriting working the recommended rewriting rule is:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;RewriteRule&#039;&#039;&#039; ^([^\?]+?\.php)(\/.+)$ $1\?file=$2 [QSA]&lt;br /&gt;
&lt;br /&gt;
In theory you could try to use path info on IIS too, but it is not reliable, especially when using unicode file names.&lt;br /&gt;
&lt;br /&gt;
If you are unable to configure your server properly then you can switch Moodle to use an alternative method. The major disadvantages is that you will not be able to use SCORM packages at all and some Adobe Flash and Java applets will not work either.&lt;br /&gt;
&lt;br /&gt;
To use this alternative method, you should change the &#039;&#039;slasharguments&#039;&#039; variable. For moodle versions &amp;lt; 1.7, this is located in the Operating System section of &#039;&#039;Administration &amp;gt; Configuration &amp;gt; [[admin/config|Variables]]&#039;&#039;. In later versions, this option is located in &#039;&#039;Site Administration &amp;gt; Server &amp;gt; HTTP&#039;&#039;. You should now be able to access your uploaded files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also&#039;&#039;&#039;:&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=145422 Troubleshooting Guide - 404 Errors] forum discussion.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==Why are all my pages blank?==&lt;br /&gt;
&lt;br /&gt;
Check the dirroot variable in &#039;&#039;config.php&#039;&#039;. You must use complete, absolute pathnames (Note some operating systems use single slashes instead of double slashes shown here)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;dirroot = &amp;quot;d:\\inetpub\\sites\\www.yoursite.com\\web\\moodle&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another reason might be that PHP has not been configured to support MySQL. This is common on RedHat and OpenBSD installations. In this case, an error is generated, but since error displays are often disabled by default, all that is seen on the browser is a blank screen. To enable PHP error displays see [[Installation_FAQ#How_to_enable_and_check_PHP_error_logs | How to enable and check PHP error logs]].&lt;br /&gt;
&lt;br /&gt;
To determine if MySQL support is your problem, insert this as the second line in your &#039;&#039;config.php&#039;&#039; file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
phpinfo();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then reload the web page. Examine the output closely to see if MySQL is supported. If not, look for a package you are missing.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
== Why is a particular page blank or incomplete? ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Check your web server log files!!&#039;&#039;&#039; &lt;br /&gt;
:If a particular page is blank or incomplete (it doesn&#039;t display the footer), before you do anything else switch on [[Debugging]] and  [[Installation_FAQ#How_to_enable_and_check_PHP_error_logs | check your PHP error logs]]. Having established that PHP error logging is working, reproduce the error. Immediately check the error log file right at the end. Hopefully you will see a PHP error message at or very near the end of the file. This may solve your problem directly or makes it a lot easier to diagnose the problem in the Moodle forums.&lt;br /&gt;
&lt;br /&gt;
*If you are &#039;&#039;&#039;upgrading to a new version of Moodle&#039;&#039;&#039;, check that you do not have an old version of a non-standard block or module installed. Remove any such blocks or modules installed using the admin settings page and start the install process again. However, do also make sure that you have included all optional plugins that were required by your courses. This is particularly common with &amp;quot;editing on&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*If you &#039;&#039;&#039;do not see any blocks listed&#039;&#039;&#039;, turn editing on and remove any blocks that you have added to that page and try reloading.&lt;br /&gt;
&lt;br /&gt;
*You may get this error immediately after &#039;&#039;&#039;selecting a language&#039;&#039;&#039;. At this stage of the installation process your Moodle computer may need to connect to the Internet and download a language pack, so check that the computer can access the Internet by using a browser. Check also that your PHP settings are as given in the Moodle [[Installing_Moodle#Requirements | Moodle Requirements]] page.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also&#039;&#039;&#039;:&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=97734 PHP configuration error] forum discussion&lt;br /&gt;
&lt;br /&gt;
==Installation hangs when setting-up database tables==&lt;br /&gt;
Sometimes the installation will hang when setting up tables, where only half the page displayed in the browser and/or other outputs are removed.  You may see truncated MySQL statements, or the “Scroll to continue” link is displayed but no “Continue” button is there. &lt;br /&gt;
&lt;br /&gt;
See [[Unexpected installation halts]] for more about solutions that involve:&lt;br /&gt;
*Checking for MySQL limits&lt;br /&gt;
*Checking the .htaccess files &lt;br /&gt;
*Code customizations issues&lt;br /&gt;
*Checking memory limit &lt;br /&gt;
*Upgrade incrementally&lt;br /&gt;
*Fix fopen function&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==Why can&#039;t I upload a new image into my profile?==&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t see anything on your user profile pages to let you upload user images then it&#039;s usually one of the following:&lt;br /&gt;
*The permissions associated with the role you are using are preventing you from changing your profile picture.&lt;br /&gt;
* GD is not installed, or is not enabled on your server. Make sure &#039;&#039;&#039;GD has been included in your PHP installation&#039;&#039;&#039;. You can check this by going to &#039;&#039;Site Administration &amp;gt; Server &amp;gt; [[PHP info]]&#039;&#039; and looking for the gdversion setting. This setting is chosen automatically every time you visit that page. If it shows GD version 1 or version 2 then everything should be fine. Save that configuration page and go back to your user profile.&lt;br /&gt;
* GD is installed, but is in some way corrupt. For instance, [http://moodle.org/mod/forum/discuss.php?d=44271#p386194 see this discussion on empty lines or white spaces in config files.]&lt;br /&gt;
GD is a library that allows image processing. For example, when all is well with your system, and you upload a new profile image, GD compresses the image and produces two thumbnails, one is 100x100 pixels, and the other is 35x35 pixels.&lt;br /&gt;
&lt;br /&gt;
If Moodle thinks GD is not installed, then you will need to &#039;&#039;&#039;install the GD library&#039;&#039;&#039;. &lt;br /&gt;
*On Unix you may need to re-compile PHP with arguments something like this:&lt;br /&gt;
&lt;br /&gt;
 ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-gd &lt;br /&gt;
 --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-ttf --enable-gd-native-ttf &lt;br /&gt;
 --enable-magic-quotes --with-mysql --enable-sockets --enable-track-vars &lt;br /&gt;
 --enable-versioning --with-zlib&lt;br /&gt;
&lt;br /&gt;
* On Windows this is usually a matter of &amp;quot;turning on&amp;quot; the extension in PHP by editing your php.ini file. To do this remove the semicolon for the php_gd2.dll extension - check that this file is actually present in your php extensions  folder first (search your php.ini for extension_dir to determine where this points to on your hard disk). You should then have a line that looks like this:&lt;br /&gt;
 extension=php_gd2.dll&lt;br /&gt;
&lt;br /&gt;
:Windows users should see the [[Installing AMP|installation instructions]] for further help. &lt;br /&gt;
&lt;br /&gt;
3. Remember to &#039;&#039;&#039;restart your webserver&#039;&#039;&#039; (if possible) and re-visit the Moodle configuration page after making any changes to PHP so it can pick up the correct version of GD.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also&#039;&#039;&#039;: Using Moodle forum discussion [http://moodle.org/mod/forum/discuss.php?d=44271 Profile pictures] for additional information.&lt;br /&gt;
&lt;br /&gt;
== Why doesn&#039;t my Moodle site display the time and date correctly? ==&lt;br /&gt;
&lt;br /&gt;
Each language requires a specific language code (called a &#039;&#039;&#039;locale&#039;&#039;&#039; code) to allow dates to be displayed correctly. The language packs contain default standard codes, but sometimes these don&#039;t work on Windows servers.&lt;br /&gt;
&lt;br /&gt;
You can find the correct locale codes for Windows on these two pages: [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_language_strings.asp Language codes] and [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_country_strings.asp Country/region] codes (e.g. &amp;quot;esp_esp&amp;quot; for spanish)&lt;br /&gt;
&lt;br /&gt;
These new locale codes can be entered on the Administration &amp;gt;&amp;gt; Configuration &amp;gt;&amp;gt; [[admin/config|Variables]] page, where they override the ones in the currently chosen language pack.&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
== How do I uninstall Moodle?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Webhost/manual installation&#039;&#039;&#039;: If you have installed Moodle manually or have installed onto a webhost, follow these steps:&lt;br /&gt;
*Delete the moodle database using this mysql command (or delete using your mysql client, e.g. PHPMyAdmin):&lt;br /&gt;
&amp;lt;pre&amp;gt;sql&amp;gt;DROP DATABASE moodle;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:In the above example replace &#039;moodle&#039; with the name of the moodle database you created when installing.&lt;br /&gt;
*Delete the moodledata directory. If you, or your users, have uploaded materials into this directory take a copy of these before deleting this directory.&lt;br /&gt;
*Delete the moodle directory itself. This will delete all of the moodle PHP script files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;XAMPP windows installation&#039;&#039;&#039;: If you have installed Moodle on windows through the XAMPP package, follow these steps:&lt;br /&gt;
*Open cmd.exe and navigate to this directory within your installation directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;server/mysql/bin&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Run this command, replacing USERNAME with your database username (the default is &amp;quot;root&amp;quot;) and DATABASE with your database name (the default is &amp;quot;moodle&amp;quot;):&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin.exe -u USERNAME -p drop DATABASE&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Enter your database password at the prompt (the default is &amp;quot;&amp;quot; [blank]).&lt;br /&gt;
*Enter &amp;quot;y&amp;quot; to confirm the database drop.&lt;br /&gt;
*Delete the moodledata directory. If you, or your users, have uploaded materials into this directory take a copy of these before deleting this directory.&lt;br /&gt;
*Delete the moodle directory itself. This will delete all of the moodle PHP script files.&lt;br /&gt;
&lt;br /&gt;
==Migrating Moodle to a new site or server==&lt;br /&gt;
Migrating Moodle means that you have to move the current installation to a new server, and so may have to change IP addresses or DNS entries. To do this you will need to change the $CFG-&amp;gt;wwwroot value in the config.php on the new server. You will also have to change any absolute links stored in the database backup file (before restoring the file on the new server) either using the admin/replace.php script, your text editor or another &amp;quot;search and replace&amp;quot; tool, e.g. sed. For more details see the [[Moodle_migration | Moodle Migration]] page.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
==Why does my new installation display correctly on the server, but when I view it from a different machine, styles and images are missing?==&lt;br /&gt;
In the installation instructions, one of the suggested settings for &#039;webroot&#039; is &#039;localhost&#039;. This is fine if all you want to do is some local testing of your new Moodle installation. If, however, you want to view your new installation from another machine on the same local area network, or view your site on the internet, you will have to change this setting:&lt;br /&gt;
*For local testing, &#039;localhost&#039; is fine for the webroot ($CFG-&amp;gt;wwwroot in config.php). &lt;br /&gt;
*If you want to test your site from other machines on the same local area network (LAN), then you will have to use the private ip address of the serving machine, (e.g. 192.168.1.2/moodle) or the network name of the serving computer (e.g. network_name_of_serving_machine/moodle) as the web root. Depending on your LAN setup, it may be better to use the network name of the computer rather than its (private) ip address, because the ip address can and will change from time to time. If you don&#039;t want to use the network name, then you will have to speak to your network administrator and have them assign a permanent ip address to the serving machine.&lt;br /&gt;
*Finally, if you want to test your new installation across the internet, you will have to use either a domain name or a permanent (public) ip address/moodle as your web root. To handle both types of access, see [https://docs.moodle.org/en/masquerading masquerading].&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
==Maximum upload file size - how to change it?==&lt;br /&gt;
There are several places to change the maximum file upload size. The first place to check is the Administration block.   Security -&amp;gt; Site Policies -&amp;gt; and look for &amp;quot;Maximum Uploaded File Size&amp;quot;.  This is the &amp;quot;maxbyte&amp;quot; variable found in older versions of Moodle (under Admin &amp;gt; Variables). Teachers may also set the maximum file size by the [[Course_settings#Maximum_upload_size|course administration block]].&lt;br /&gt;
&lt;br /&gt;
If the above does not provide a large enough figure you will need to make changes in your server settings. The usual place is in your php.ini file (go to Site administration &amp;gt; Server &amp;gt; PHPinfo and check a few lines down for its location). Look for settings &#039;&#039;&#039;upload_max_filesize&#039;&#039;&#039; and &#039;&#039;&#039;post_max_size&#039;&#039;&#039;, setting them both to your desired new value (e.g. &#039;64MB&#039;). You will need to restart the web server for these changes to take effect - e.g. on Linux, &#039;&#039;&#039;/etc/init.d/apache2 force-reload&#039;&#039;&#039;. Check your documentation or just reboot the server. &lt;br /&gt;
&lt;br /&gt;
For more help see:&lt;br /&gt;
*[[Administration_FAQ#How_do_the_limits_on_uploaded_files_work.3F]]&lt;br /&gt;
*[[Installing_Moodle#Recheck_PHP_settings]]&lt;br /&gt;
*[[Installing_Moodle#Using_a_.htaccess_file_for_webserver_and_PHP_settings]]&lt;br /&gt;
*[[Site_policies#Maximum_uploaded_file_size]]&lt;br /&gt;
*These forum posts: http://moodle.org/mod/forum/discuss.php?d=63840#287960 and http://moodle.org/mod/forum/discuss.php?d=93882#p414650&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==How do I install Moodle on Windows Vista?==&lt;br /&gt;
&lt;br /&gt;
See [[Installing Moodle on Windows Vista]].&lt;br /&gt;
&lt;br /&gt;
==Moodle claims PHP float handling is not compatible==&lt;br /&gt;
&lt;br /&gt;
The symptom is that when you try to install or upgrade your Moodle, you get a message &amp;quot;Detected unexpected problem in handling of PHP float numbers&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=114945 This forum thread] and MDL-18253 have more information. In short, this problem should not happen, you can help us by telling posting information about exactly which version of PHP, and OS you are using. That may let us find a way to work around this problem.&lt;br /&gt;
&lt;br /&gt;
You may be able to solve this issue by installing a more recent PHP versions. If you compile PHP yourself from source, changing the compilation options may help. However, since we don&#039;t understand the cause, we don&#039;t really know. If you do find a solution that works for you, please do tell us about it.&lt;br /&gt;
&lt;br /&gt;
Update: we have a guess that the problem may be the [http://au2.php.net/manual/en/ini.core.php#ini.precision &#039;precision&#039; setting in your php.ini file]. In a default PHP install this is set of 14. On at least one server that exhibited this problem it had been changed to a smaller value. So, if you see this problem, please try adding &lt;br /&gt;
 ini_set(&#039;precision&#039;, 14);&lt;br /&gt;
to your config.php file, and report your success in MDL-18253.&lt;br /&gt;
&lt;br /&gt;
==When upgrading Moodle claims my database is not UTF8 when I&#039;m sure it is==&lt;br /&gt;
&lt;br /&gt;
The symptom is that you are upgrading a post-1.6 Moodle to a newer version. The Environment check tells you that your database is not UTF8 and refuses to upgrade. &lt;br /&gt;
&lt;br /&gt;
The database may not have it&#039;s character encoding set quite correctly. You can safely try this command on the database&lt;br /&gt;
&lt;br /&gt;
    ALTER DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;&lt;br /&gt;
&lt;br /&gt;
(Change &#039;moodle&#039; for the name of your database). You need to copy this into your MySQL client program that comes packaged with it. &lt;br /&gt;
&lt;br /&gt;
Alternatively, you maybe adding a new clean install Moodle version to an existing web server and the UTF8 check error will not allow you to proceed.  Use [[phpMyAdmin]] to help you.  This web client is available as a plugin for Moodle or through your web hosting control panel. Using this program, create an empty database (for example moodle199) and make sure &amp;quot;MySQL connection collation&amp;quot; is a utf8 entry, such as utf8_general_ci. Go back to the Moodle installation screen with the check error, hit the previous button on the bottom and make sure the databae has the same name as your new empty database (for example moodle199). &lt;br /&gt;
&lt;br /&gt;
If your Moodle site is version 1.5 or older then it&#039;s telling the truth. &lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
== How do I run multiple instances of Moodle without duplicating base code? ==&lt;br /&gt;
&lt;br /&gt;
See [http://moodle.org/mod/forum/discuss.php?d=13211 this thread] for a detailed explanation by [[User:Martin_Langhoff| Martin Langhoff]].&lt;br /&gt;
&lt;br /&gt;
== What is FreeTDS and how can I use it in my installation? ==&lt;br /&gt;
[[FreeTDS]] is an open source implementation of the Tabular Data Stream protocol used by Microsoft SQL Server and Sybase for their databases. Unfortunately, Microsoft servers don&#039;t usually accept TDS 5.0 connections. FreeTDS allows your Unix/Linux applications to talk to these other database products and import and export data between different systems successfully.&lt;br /&gt;
&lt;br /&gt;
== How do I install a plugin? ==&lt;br /&gt;
&lt;br /&gt;
Please see [[Installing contributed modules or plugins]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Moodle]]&lt;br /&gt;
* [[Upgrading FAQ]]&lt;br /&gt;
* [[Errors FAQ]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum]&lt;br /&gt;
* [[Beginning_Moodle_2.0_Administration|Beginning Moodle 2.0 Administration FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:FAQ Instalación]]&lt;br /&gt;
[[fr:FAQ d&#039;installation]]&lt;br /&gt;
[[nl:Installatie FAQ]]&lt;br /&gt;
[[ja:インストールFAQ]]&lt;br /&gt;
[[ru:FAQ по установке]]&lt;br /&gt;
[[pl:Instalacja FAQ]]&lt;br /&gt;
[[de:Installation FAQ]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89938</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89938"/>
		<updated>2011-09-19T21:09:38Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* In config.php */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://.../admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
$CFG-&amp;gt;cachetype = ‘internal’;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = true;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89935</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89935"/>
		<updated>2011-09-19T20:52:19Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Debug messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://.../admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = true;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89932</id>
		<title>Configuration file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Configuration_file&amp;diff=89932"/>
		<updated>2011-09-19T20:19:29Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* The config-dist.php file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The name for Moodle&#039;s configuration file is config.php. The file is located in the moodle directory. It is not included in the Moodle download packages and is created by the installation process from the template file config-dist.php (which is included in Moodle packages).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sample config.php file==&lt;br /&gt;
Although the installation process creates the config.php file for you, there may be times when you want to do this yourself. Here is a sample config.php file to work from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: You may want to edit the config.php file directly if, for example, you change you database password or change servers completely. If you do so, be very careful that there are no spaces or line breaks after the final &amp;quot;?&amp;gt;&amp;quot; in the file. If there are such spaces, you may get blank pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php  /// Moodle Configuration File &lt;br /&gt;
&lt;br /&gt;
unset($CFG);&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mysql&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle17&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;moodleuser&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;xxxxxx&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://www.mymoodle.com/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/moodle&#039;;&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/var/moodledata&#039;;&lt;br /&gt;
$CFG-&amp;gt;admin     = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 00777;  // try 02777 on a server in Safe Mode&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;unicodedb = true;  // Database is utf8&lt;br /&gt;
&lt;br /&gt;
require_once(&amp;quot;$CFG-&amp;gt;dirroot/lib/setup.php&amp;quot;);&lt;br /&gt;
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,&lt;br /&gt;
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Enabling password salting==&lt;br /&gt;
&lt;br /&gt;
See [[Password salting]].&lt;br /&gt;
&lt;br /&gt;
==Including passwords in backups==&lt;br /&gt;
&lt;br /&gt;
Hashed user passwords are no longer saved in backup files containing user data in Moodle 1.8.11 and 1.9.7 onwards.&lt;br /&gt;
&lt;br /&gt;
If you really need passwords to be saved (in the rare case of restoring a backup with user data to a different site), the following line may be added to config.php:&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;includeuserpasswordsinbackups&lt;br /&gt;
&lt;br /&gt;
==Changing default block layout for new courses==&lt;br /&gt;
&lt;br /&gt;
See [[Block layout]].&lt;br /&gt;
&lt;br /&gt;
==Changing default theme directory location==&lt;br /&gt;
The location of theme directorys may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The config-dist.php file==&lt;br /&gt;
&lt;br /&gt;
The config-dist.php file http://cvs.moodle.org/moodle/config-dist.php?view=markup is the template file. It contains the usual settings of a config.php file, with lots of additional settings that don&#039;t currently have a UI for them. To use these settings you have to add them to the configuration file.&lt;br /&gt;
$CFG-&amp;gt;cachetype = ‘internal’;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=137889 Moodle Salting] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[de:Konfigurationsdatei]]&lt;br /&gt;
[[fr:Fichier de configuration]]&lt;br /&gt;
[[ja:設定ファイル]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89931</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89931"/>
		<updated>2011-09-19T19:57:25Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Debug messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Debug messages===&lt;br /&gt;
The default is none, your choices are:&lt;br /&gt;
&lt;br /&gt;
;&#039;MDL_PERF&#039;, true : Do not show any errors or warnings (Default) &lt;br /&gt;
;&#039;MDL_PERFDB&#039;, true : Show all reasonable PHP debug messages&lt;br /&gt;
;&#039;MDL_PERFTOLOG&#039;, true : Show only fatal errors&lt;br /&gt;
;&#039;MDL_PERFTOFOOT&#039;, true : Show warnings, errors and notices&lt;br /&gt;
;NONE : extra Moodle debug messages for developers&lt;br /&gt;
&lt;br /&gt;
There is rarely any advantage in going to Developer level, unless you are a developer, in which case it is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Once you have got the error message, and copied and pasted it somewhere.  HIGHLY RECOMMENDED to turn Debug back to NONE. Debug messages can give clues to a hacker as to the setup of your site.&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://.../admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = true;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89930</id>
		<title>Debugging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Debugging&amp;diff=89930"/>
		<updated>2011-09-19T19:50:40Z</updated>

		<summary type="html">&lt;p&gt;Vicentina: /* Debug messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Debugging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask for help in a Moodle.org forum, a developer may ask you to turn debug messages on, in order to locate the cause of the problem. By default Moodle does not show any error messages at all. If you are having problems (e.g. blank screens or incomplete screens) turning on debugging is usually the first thing to try. &lt;br /&gt;
&lt;br /&gt;
==Debugging settings==&lt;br /&gt;
Here are the settings on the Debugging page:&lt;br /&gt;
&lt;br /&gt;
===Debug messages===&lt;br /&gt;
The default is none, your choices are:&lt;br /&gt;
&lt;br /&gt;
;NONE : Do not show any errors or warnings (Default) &lt;br /&gt;
;NONE : Show all reasonable PHP debug messages&lt;br /&gt;
;NONE : Show only fatal errors&lt;br /&gt;
;NONE : Show warnings, errors and notices&lt;br /&gt;
;NONE : extra Moodle debug messages for developers&lt;br /&gt;
&lt;br /&gt;
There is rarely any advantage in going to Developer level, unless you are a developer, in which case it is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Once you have got the error message, and copied and pasted it somewhere.  HIGHLY RECOMMENDED to turn Debug back to NONE. Debug messages can give clues to a hacker as to the setup of your site.&lt;br /&gt;
&lt;br /&gt;
===Display debug messages===&lt;br /&gt;
&lt;br /&gt;
There is an option to choose whether to display error messages or simply record them in the server logs.&lt;br /&gt;
&lt;br /&gt;
===Debug email sending===&lt;br /&gt;
&lt;br /&gt;
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.&lt;br /&gt;
&lt;br /&gt;
===Performance info===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you add&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
define(&#039;MDL_PERF&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFDB&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOLOG&#039;, true);&lt;br /&gt;
define(&#039;MDL_PERFTOFOOT&#039;, true);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to your config.php file, then it will also count database queries. (This has to be in config.php, because Moodle starts doing DB queries before it loads the config information in the database!&lt;br /&gt;
&lt;br /&gt;
===Show origin of language strings===&lt;br /&gt;
Helps translators.&lt;br /&gt;
&lt;br /&gt;
===Show validator links===&lt;br /&gt;
Be careful, read the warning.&lt;br /&gt;
&lt;br /&gt;
===Show page information===&lt;br /&gt;
To show page information printed in the page footer.&lt;br /&gt;
&lt;br /&gt;
==What to do if you cannot get to the admin screens==&lt;br /&gt;
&lt;br /&gt;
If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.&lt;br /&gt;
&lt;br /&gt;
===Try typing the URL directly===&lt;br /&gt;
&lt;br /&gt;
The debug settings are at the URL &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://.../admin/settings.php?section=debugging&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on your server. Sometimes that URL will work, even though the pages you need to go to to get there (for example the site front page) do not. So it is worth trying to enter that URL directly.&lt;br /&gt;
&lt;br /&gt;
===In config.php===&lt;br /&gt;
&lt;br /&gt;
In moodle/config.php you can add the lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 2047; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or even more debugging messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;debug = 6143; &lt;br /&gt;
$CFG-&amp;gt;debugdisplay = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Moodle 2.0 the possible settings are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Force a debugging mode regardless the settings in the site administration&lt;br /&gt;
// @error_reporting(1023);  // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
@ini_set(&#039;display_errors&#039;, &#039;1&#039;); // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debug = 38911;  // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
$CFG-&amp;gt;debugdisplay = true;   // NOT FOR PRODUCTION SERVERS!&lt;br /&gt;
&lt;br /&gt;
// You can specify a comma separated list of user ids that that always see&lt;br /&gt;
// debug messages, this overrides the debug flag in $CFG-&amp;gt;debug and $CFG-&amp;gt;debugdisplay&lt;br /&gt;
// for these users only.&lt;br /&gt;
$CFG-&amp;gt;debugusers = &#039;2&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to remove those lines again when you have finished diagnosing your problem.&lt;br /&gt;
&lt;br /&gt;
===In the database===&lt;br /&gt;
&lt;br /&gt;
Using a tool like phpMyAdmin, execute the following SQL commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 2047 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 1 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To turn it back off, use the admin screens, or the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debug&#039;;&lt;br /&gt;
UPDATE mdl_config SET value = 0 WHERE name = &#039;debugdisplay&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you use a different database prefix, you will need to adjust those commands accordingly.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=91031 Debugging Turned on to Developer Mode on 1.8.2] forum discussion including instructions on how to turn debugging off&lt;br /&gt;
* Developers can also use [http://xdebug.org/ XDEBUG] (Installed as a module on the Apache server) to further dig into the code, step by step using an [http://xdebug.org/docs/remote XDEBUG client application]. Probably, as part of their favorite IDE. For example: [http://php.netbeans.org/ NetBeans], [http://www.jetbrains.com/phpstorm/ phpStorm] or...&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Débogage]]&lt;/div&gt;</summary>
		<author><name>Vicentina</name></author>
	</entry>
</feed>