Diferencia entre revisiones de «Administración FAQ»

De MoodleDocs
m (Germanvaleroelizondo movió la página FAQ Administración a Administración FAQ: better translation)
(updated as in English Doc page 2.9)
Línea 1: Línea 1:
{{FAQ}}
{{Pendiente de traducir}}
{{chafa}}
{{Managing a Moodle site}}==Changing text in Moodle==


==Cambiando texto en Moodle==
The language editing interface in ''Administration > Language> [[Language customisation]]'' enables you to easily change any word or phrase used on the site.  You may need to search through several files to find the word or phrase you are looking for. The file moodle.php contains all common site-wide phrases and the admin.php contains many admin phrases.


Los textos en Moodle se pueden cambiar si se editan los archivos del idioma, vía: Administración >> Configuración >> [[admin/lang| Idioma]].
== How do the limits on uploaded files work? ==


Por favor observe que los archivos del idioma son sobrescritos por nuevas versiones cuando se realiza una actualización (upgrade). Para evitar esto, usted puede crear su propio paquete de lenguaje al copiar los contenidos de la carpeta de lenguaje en una nueva carpeta, convirtiendo esta última en la carpeta por defecto de su sitio y, luego, editándola.
See [[File upload size]] for more information.


==¿Cómo cambio la ortografía de la palabra en ingles "enrol" a "enroll"?==
File upload sizes are restricted in a number of ways - each one in the list restricts the following ones.


Simplemente instale el paquete de lenguaje en idioma Ingles Americano (en_us), luego seleccionelo como su lenguaje predeterminado para el sitio.
1. Not very likely these days (i.e. check if the other settings don't work), there is a setting in Apache 2 which you may need to change. You can change the limit by adding or editing a line in Apache's ''/usr/local/apache2/conf/httpd.conf'' with the upload size in bytes (check your operating system's documentation for the correct location - e.g. under /etc/apache2 is a common alternative):


==¿Cómo hacer para que la página inicial de mi sitio de Moodle se parezca a la de moodle.org?==
LimitRequestBody 10485760
 
2. PHP also has limits. If you have access to it they are set in your site-wide '''php.ini''' file. On shared hosting you may be able to set these in a ''.htaccess'' file or a ''php.ini''. You are recommended to check with your hosting company how this works on their systems.
 
In a php.ini file the lines will look something like:
<pre>
    upload_max_filesize 64M
    post_max_size 64M
</pre>
 
...in .htaccess the entries will look like this:
<code>
php_value upload_max_filesize 64M
php_value post_max_size 64M
</code>
 
An .htaccess file usually can be placed in the root of your Moodle install and will affect the whole Moodle. A (non site-wide) php.ini file may need to be copied into all the directories it needs to affect. The following are a good start:
    * public_html
    * moodle/admin
    * moodle/course
    * moodle/files
    * moodle/repository
    * root of your moodledata directory
 
Please note that a server re-start may be required for the above changes to take effect.
 
3. Moodle has a site-wide limit called maxbytes that may be set in Settings > Site Administration > Security > Site Policies > Maximum uploaded file size.
 
To find out the server limit setting in php.ini (without server access, just using the Moodle administration interface), check out ''Site Administration block > Server > PHP info'' (Tip: search for filesize)
 
4. A limit may be set by teachers in the [[course/edit|Course settings]].
 
5. Activity modules such as [[Forums]] and [[Assignments]] have their own limits which may be set when adding or editing the activity.
 
'''See also'''
 
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=39625 Detailed instructions to increase the maximum allowed size for uploaded files] forum discussion
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=97907 Instructions to increase maximum allowed size on hosted servers] forum discussion
* [[File_upload_size|File Upload Size]] page
* Instructions below on How to change the maximum execution time
 
== How to change upload file size on a Windows localhost==
In a localhost (using a [[Complete install packages for Windows]] on a computer) for 1.6 it is easy to change the uploaded file size to something larger than the default 16M.
 
Here is an example of how to change the upload file size to 100M.
*Find ..'''/php/php.ini''' and open it with WordPad by right-clicking -> Open With -> then choose WordPad. 
*In this file scroll or do a search on the text "_max_" to find <code>upload_max_filesize = 16M</code>   
*Change that line to
upload_max_filesize = 100M
*In the same way, find <code>post_max_size = 16M</code>     
*Change that line to
post_max_size = 100M
*Save the file. 
 
After any changes to the php.ini file you need to restart Apache. So restart xampp and browse to localhost. You should find that the Upload file size in Configuration now reads 100M.
 
'''See also'''
 
* Instructions below on How to change the maximum execution time
 
== How to change the maximum execution time ==


Por favor vea el tema como-hacer: [[Diseño de la página principal|Diseño de la página principal de moodle.org]]  para ver los detalles completos.
A side-effect of increasing the file upload limit is that the php scripts may execute beyond the limit set by default (300 seconds/5 minutes). To change this, look for max_execution_time in php.ini and change to something like this:


== ¿Cómo funcionan los límites cuando se suben archivos ==
max_execution_time = 600


Para definir el tamaño máximo de los archivos que queremos subir a Moodle tenemos que hacer algunas modificaciones en los siguientes sitios, cada uno limita el siguiente:
If you are using Apache and have a .htaccess file to change php settings, add this line to your .htaccess file:


1. Inicialmente en Apache 2 (especialmente con RedHat el valor por defecto es muy bajo), hay que editar los ficheros ''/etc/httpd/conf/httpd.conf'' y/o '''/etc/httpd/conf.d/php.conf''' para ajustar, en bytes, el tamaño máximo de envío. Para ello, hay que localizar la línea siguiente y ponerle ese valor, que equivale a 10MB (en diferentes sistemas operativos los archivos indicados pueden tener otras ubicaciones):
php_value max_execution_time 600
LimitRequestBody 10485760
 
(con esto el servidor Apache tiene el límite de hasta 10MB)
Restart your webserver for these changes to take effect, and check that the values have been changed by looking at your phpinfo output in the moodle admin -> environment page.
 
== I have forgotten the admin password ==
First, try using the button "Send my details via email".
 
It is possible to reset the admin user's password using [[Administration_via_command_line#Reset_user_password|command line tools]] provided with Moodle.
 
Failing that, if you can access the database using an administration tool, you can modify a password there. Passwords for all users, including admin, are stored as cryptographic hashes in the table ''mdl_user''. You can manually replace the old hash with md5 value of the new password, it will be upgraded to the strong hash value after the first log-in.
 
== My log table has disappeared - No logs found! ==
The most likely cause is that the mdl_log table has become corrupted. See the [[How to check your database for corruption]].
 
==My style sheet changes aren't showing up==
 
Browsers usually cache style sheets and so a forced refresh (CTRL + F5) is required before any changes show up.
Also, in ''Settings>Site Administration>Appearance>Themes>Theme selector'', click "clear theme caches".
 
== Site-wide scales ==
*To add a site-wide scale, available in all courses, go to ''Settings>Site administration>Grades>Scales'' and click the button "Add a new scale".
*As an administrator you also have the right to add site-wide scales within a course by going to ''Settings>Course administration>Grades>Scales''. (A regular teacher cannot do this.)
 
==Why do I see <nowiki>[[missing strings]]</nowiki>?==
 
Double square brackets around text indicate that language strings are missing. Try checking for untranslated words or phrases in ''Administration > Language > [[Language editing]]'' and update local language packs in ''Administration > Language > [[Language packs]]'' (or ''Administration > Configuration > Language'' in Moodle 1.6).
 
Language strings for non-standard modules and plugins are generally contained in a ''lang'' folder within the module or plugin folder. For sites which have migrated to UTF-8, it may be necessary to re-name the folder e.g. ''en'' should be re-named ''en_utf8''.


2. En PHP hay que definir el límite otra vez (igual o inferior al límite superior). Para ello hay que editar el fichero php.ini (o también pueden existir en el fichero httpd.conf de Apache y en los .htaccess, teniendo estas últimas preferencia sobre el php.ini) y poner:
==How do I find the version of Moodle currently installed?==
See the [[Moodle version]] information on the Site Administration > Notifications page.


php_value upload_max_filesize 50000000
==How do I repair a corrupted Moodle database?==
php_value post_max_size 50000000


(con esto PHP tiene el límite de hasta 5MB, aproximadamente).
Typically, you might see an error message like './moodle/mdl_quiz_grades' is marked as crashed and should be repaired. See [[How to check your database for corruption]] for the solution.


Para convertir Bytes en Megabytes podemos usar [http://www.onlineconversion.com/computer.htm este conversor ]
==My site is stuck in maintenance mode==


Recuerde que debe reiniciar el servidor para que los cambios realizados tengan efecto.
Sometimes Moodle gets stuck in maintenance mode and you'll see the message "This site is undergoing maintenance and is currently unavailable" despite your attempts to turn-off maintenance mode. When you put Moodle into maintenance mode it creates a file called maintenance.html in moodledata/maintenance.html (the site files folder). To fix this try the following:


3. En Moodle, en Administración >> Configuración >> [[admin/config|Variables]], en la variable '''maxbytes''' le decimos lo que aceptará todo nuestro sitio Moodle.
* Check that the web server user has write permissions to the moodledata folder.
* Manually delete the maintenance.html file.


4. En cada curso de Moodle, el profesorado puede especificar también un valor máximo de tamaño de fichero en la [[course/edit|configuración del curso]].
==Incomplete page displayed when I click "Turn Editing On"==
When you see an incomplete page, it is normally a sign that an error occurred. To find out more, turn on [[Debugging]], and you should see an error message which may help you to diagnose the problem.


5. Finalmente, algunas actividades, como [[Foros]] y [[Tareas]], permiten poner otro valor diferente (inferior al punto superior) que se puede ajustar en la creación o edición de dicha actividad.
This is usually as a result of an incompatible contributed module or block that you have installed. Follow these steps:
#Follow the module removal instructions in [[Installing contributed modules or plugins]].
#Re-visit your course page and try clicking on the "Turn Editing On" button again.  


If you find an incompatible module or block, please report the problem to the person named as the maintainer in the [http://moodle.org/mod/data/view.php?id=6009 Modules and Plugins database].


'''Ver también'''
=="a required parameter (id) was missing" when uploading a file==


* Debate de foro de Using Moodle [http://moodle.org/mod/forum/discuss.php?d=39625 Detailed instructions to increase the maximum allowed size for uploaded files]
This message sometimes is generated when attempting to upload a file larger than the upload limit.
* Podemos encontrar información detallada (inglés) en: http://www.radinks.com/upload/config.php


== Cómo cambiar el tamaño para subir archivos en un host local Windows ==
==How can I change the URL of the moodle service==


En un host local (utilizando el [[Paquetes para Instalación Completa]] en una computadora) para 1.6 es fácil cambiar el tamaño de archivo que se puede subir a algo más grande que el valor por omisión de 16M. Aquí hay un ejemplo de cómo cambiar el tamaño máximo que se puede subir a 100M.
You should configure your Apache server, at httpd.conf, using Listen, Port and DocumentRoot directives and Directory section. After restarting Apache, you also must open config.php in a text editor, and change the line:
    $CFG->wwwroot  = 'http://mydomain/testmoodle';


*Busque ..'''/Apache/bin/php.ini''' y abralo con WordPad haciendo clic-derecho -> Abrir Con -> luego seleccionar WordPad.   
Your Moodle site will also contain absolute links to resources which point to the previous URL. These links are in the database. Moodle contains a utility to change all the links to the new URL. To change this login as admin and enter http://OurMoodle.org/admin/tool/replace/index.php in your browser address bar (or http://OurMoodle.com/admin/replace.php in older versions). Fill in your old url and new url in the boxes and run the utilityYou can also see the [[Moodle_migration#Migrating_a_complete_Moodle_site | migrating a complete Moodle site]] instructions.
*En este archivo desplácese o realice una busqueda en '''_max_''' para encontrar
**upload_max_filesize = 16M   
*Cambie esta línea a
**'''upload_max_filesize = 100M'''
*En la misma forma, encuentre
**post_max_size = 16M     
*Cambie esta línea a
**'''post_max_size = 100M'''
*Guarde el archivo.


Después de cualquier cambio al archivo php.ini es necesario reiniciar Apache. Entonces reinicie xampp y eche un vistazo al host local. Usted debe encontrar que el tamaño del archivo que se puede subir en la Configuración ahora dice 100M.
'''See also''': [http://moodle.org/mod/forum/discuss.php?d=51667 Forum discussion]


'''Vea también'''
==How do I enable/disable debugging?==
See [[Debugging]]. If you are getting a blank or partially complete page, it is probably a sign that an error is occurring. Turning on debugging will let you see what the error message is, which may help you diagnose the problem.


* Instrucciones en una sección posterior de "Cómo cambiar el tiempo máximo de ejecución"
==I cannot login to the Moodle CVS servers==


== Cómo cambiar el tiempo máximo de ejecución ==
When attempting to login to the Moodle CVS servers, you may receive a "login aborted" error as shown below (this example shows the eu cvs server, with the command in bold):


Un efecto lateral de aumentar el límite de archivos que se pueden subir es que los scripts php pueden ejecutar más allá del límite fijado por omisión (300 segundos / 5 minutos). Para cambiar esto, busque max_execution_time en php.ini y cambielo a algo parecido a esto:
C:\gnuwin32>'''cvs -d:pserver:anonymous@eu.cvs.moodle.org:/cvsroot/moodle login'''
Logging in to :pserver:anonymous@eu.cvs.moodle.org:2401/cvsroot/moodle
CVS password: <- (blank password entered)
cvs [login aborted]: connect to uk.cvs.moodle.org(212.219.207.198):2401 failed:
Connection refused
C:\gnuwin32>


max_execution_time = 600
To fix this problem, check that you have entered the CVS command correctly and that port 2401 is open on your firewall.


Si está usando Apache y tiene un archivo .htaccess para cambiar la configuración de php, agrege esta línea a su archivo .htaccess
==Why is a page blank, or half missing?==


php_value max_execution_time 600
A blank page, or a page that seems to have half missing, is normally a sign that an error occurred. If (as is recommended on production systems) you have display of error messages turned off, it can be very hard to understand what is going on.


Reinicie su servidor web para que estos cambios hagan efecto, y verifique que los valores han cambiado viendo la salida de su phpinfo en la página de moodle Administración ► Miscelánea ► Environment. Nota del traductor: En la version 1.7 se encuentra en Administración ► Servidor ► Información PHP
The solution is to [[Debugging|turn on the debugging options]] temporarily. Then, when you go back to the problem page, you should see the error message. Once you had finished solving the problem, remember to turn debugging off again.


== He olvidado la contraseña de administrador ==
==How can I fix just one bug, without upgrading my whole site?==
Primero intenta recuperarla con el botón "Enviar mis datos por email". Si no funciona, tendrás que acceder a la base de datos utilizando MySQL admin. Las contraseñas de todos los usuarios, incluyendo la del administardor, se almacenan encriptadas en la tabla ''mdl_user''. Copia la contraseña de invitado (guest) en la contraseña del administrador y entra en el sistema utilizándola.


Otras soluciones se detallan en los foros (en inglés) [http://moodle.org/mod/forum/discuss.php?d=18103 change admin's password] y [http://moodle.org/mod/forum/discuss.php?d=4552&parent=38070 login/password].
Suppose:
* You are experiencing a particular bug.
* You have searched in the [http://tracker.moodle.org/ tracker], and found that your problem is MDL-abc, and that it has been fixed in the latest version.
* For some reason, you cannot upgrade your whole site, even though the latest version probably has security fixes.


== Mi tabla de bitacoras ha desaparecido - No logs found! ==
Then, how can you get the fix for just this one bug, without upgrading your whole site? Well, if you are prepared to manually patch the code, you can probably get this information from the tracker. Please see [[How to fix just one bug without upgrading|this guide]].
La causa más común es que la tabla mdl_log se haya corrompido. Puede ser reparada utilizando MySQL Admin como sigue:


Haga click en la pestaña SQL, luego en el "Run SQL query/queries on database moodle" tipo de campo <code>REPAIR TABLE mdl_log</code> y haga clic en el botón "Go".
==How can I change centre of the Front Page from course categories to something else?==


'''Enlaces externos'''
Go to Front Page > Settings and change "Front page" to None all down. Change "Front page items when logged in" to None all down. Ensure that "Include a topic section" is checked. Save changes and return to the front page. Turn editing on, obviously, and you should now see the "Add a resource" and "Add an activity" drop down combo-boxes. Select "Add a resource" and select "Insert a label". You can then edit the label in any way you want to in the WYSYWYG editor.


*[http://www.databasejournal.com/features/mysql/article.php/10897_3300511_2 Repairing Database Corruption in MySQL]
==How can I change the initial login screen?==
Edit one of the language files. ''Settings > Site  administration > Language> Language customisation'', look in the moodle.php file.  Look for ''loginusing''  or ''loginsteps'' or ''loginstepsnone'' string variables.


==Los cambios que hago en la hoja de estilos no se muestran==
==How can I change the initial login screen help?==


Los navegadores suelen almacenar en caché las hojas de estilo y por lo tanto será necesario recargar la página  (CTRL + F5) para que aparezcan los cambios.
To change or add a help message for the login go to ''Settings > Site administration > Plugins > Authentication > Manage authentication.'' Type your help message in there in the'' Instructions'' text box.


== Escalas de todo el sitio ==
==Users can not login, they need cookies and debug mentions config.php==
To add a site-wide scale, available in all courses, follow the Scales link in any course Administration block. Add a new scale, then use the move down arrow to move the scale from custom scales to standard scales.
Your site's [[Configuration file|config.php file]] probably has extra lines after '''?>'''.


== Los usuarios están siendo desmatriculados sin razón aparente ==
Solution is to delete the last '''?>'''.
La desmatriculación se puede controrar por los siguientes:
*La variable ''longtimenosee'' en Administración >> Configuración >> [[admin/config|Variables]] que especifica el límite de tiempo tras el cual, si los estudiantes no se han conectado, serán dados de baja de los cursos.
*La variable ''Enrolment duration'' dentro de  [[course/edit|Course settings]] que desmatricula a los estudiantes cuando ha trancurrido el tiempo que dura su inscripción.


==Por qué veo <nowiki>[[cadenas no encontradas]]</nowiki>?==
==After using the 'Login as' function, why am I logged out of Moodle?==


Los corchetes alrededor de un texto indican que no se encuentran las cadenas de texto en el idioma que se está usando. Por favor verifique si tiene cadenas no encontradas y en ese caso actualice los paquetes de idioma locales en Administración >> [[Configuración]] >> [[admin/lang|Idioma]].
After using the 'Login as' function, for security reasons you are automatically logged out of Moodle when you return to your normal role. If you login again you will be redirected to the page that you were on previously.  


Cadenas de idioma para módulos y plugins no-estandar son generalmente guardados en un folder lang dentro de la carpeta del mismo módulo o plugin. Para sitios que han migrado a UTF-8, puede ser necesario renombrar la carpeta, ej. en debe ser renombrada a en_utf8
==Vea también==


==¿Cómo encuentro la versión de Moodle actualmente instalada?==
* [[Errores FAQ]]
Vea este documento en [https://docs.moodle.org/es/Versión_de_Moodle Versión de Moodle].
* [[Instalación FAQ]]


[[Categoría:FAQ]]


[[Category:Administrador]]
[[Categoría:Administrador]]
[[Category:FAQ]]


[[en:Administration FAQ]]
[[en:Administration FAQ]]
[[fr:FAQ d'administration]]
[[fr:FAQ d'administration]]
[[pt:FAQ Administracão]]
[[pt:FAQ Administracão]]

Revisión del 15:56 26 jun 2015

Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

Plantilla:Managing a Moodle site==Changing text in Moodle==

The language editing interface in Administration > Language> Language customisation enables you to easily change any word or phrase used on the site. You may need to search through several files to find the word or phrase you are looking for. The file moodle.php contains all common site-wide phrases and the admin.php contains many admin phrases.

How do the limits on uploaded files work?

See File upload size for more information.

File upload sizes are restricted in a number of ways - each one in the list restricts the following ones.

1. Not very likely these days (i.e. check if the other settings don't work), there is a setting in Apache 2 which you may need to change. You can change the limit by adding or editing a line in Apache's /usr/local/apache2/conf/httpd.conf with the upload size in bytes (check your operating system's documentation for the correct location - e.g. under /etc/apache2 is a common alternative):

LimitRequestBody 10485760

2. PHP also has limits. If you have access to it they are set in your site-wide php.ini file. On shared hosting you may be able to set these in a .htaccess file or a php.ini. You are recommended to check with your hosting company how this works on their systems.

In a php.ini file the lines will look something like:

    upload_max_filesize 64M
    post_max_size 64M

...in .htaccess the entries will look like this:

php_value upload_max_filesize 64M
php_value post_max_size 64M

An .htaccess file usually can be placed in the root of your Moodle install and will affect the whole Moodle. A (non site-wide) php.ini file may need to be copied into all the directories it needs to affect. The following are a good start:

   * public_html
   * moodle/admin
   * moodle/course
   * moodle/files
   * moodle/repository
   * root of your moodledata directory

Please note that a server re-start may be required for the above changes to take effect.

3. Moodle has a site-wide limit called maxbytes that may be set in Settings > Site Administration > Security > Site Policies > Maximum uploaded file size.

To find out the server limit setting in php.ini (without server access, just using the Moodle administration interface), check out Site Administration block > Server > PHP info (Tip: search for filesize)

4. A limit may be set by teachers in the Course settings.

5. Activity modules such as Forums and Assignments have their own limits which may be set when adding or editing the activity.

See also

How to change upload file size on a Windows localhost

In a localhost (using a Complete install packages for Windows on a computer) for 1.6 it is easy to change the uploaded file size to something larger than the default 16M.

Here is an example of how to change the upload file size to 100M.

  • Find ../php/php.ini and open it with WordPad by right-clicking -> Open With -> then choose WordPad.
  • In this file scroll or do a search on the text "_max_" to find upload_max_filesize = 16M
  • Change that line to
upload_max_filesize = 100M
  • In the same way, find post_max_size = 16M
  • Change that line to
post_max_size = 100M
  • Save the file.

After any changes to the php.ini file you need to restart Apache. So restart xampp and browse to localhost. You should find that the Upload file size in Configuration now reads 100M.

See also

  • Instructions below on How to change the maximum execution time

How to change the maximum execution time

A side-effect of increasing the file upload limit is that the php scripts may execute beyond the limit set by default (300 seconds/5 minutes). To change this, look for max_execution_time in php.ini and change to something like this:

max_execution_time = 600

If you are using Apache and have a .htaccess file to change php settings, add this line to your .htaccess file:

php_value max_execution_time 600

Restart your webserver for these changes to take effect, and check that the values have been changed by looking at your phpinfo output in the moodle admin -> environment page.

I have forgotten the admin password

First, try using the button "Send my details via email".

It is possible to reset the admin user's password using command line tools provided with Moodle.

Failing that, if you can access the database using an administration tool, you can modify a password there. Passwords for all users, including admin, are stored as cryptographic hashes in the table mdl_user. You can manually replace the old hash with md5 value of the new password, it will be upgraded to the strong hash value after the first log-in.

My log table has disappeared - No logs found!

The most likely cause is that the mdl_log table has become corrupted. See the How to check your database for corruption.

My style sheet changes aren't showing up

Browsers usually cache style sheets and so a forced refresh (CTRL + F5) is required before any changes show up. Also, in Settings>Site Administration>Appearance>Themes>Theme selector, click "clear theme caches".

Site-wide scales

  • To add a site-wide scale, available in all courses, go to Settings>Site administration>Grades>Scales and click the button "Add a new scale".
  • As an administrator you also have the right to add site-wide scales within a course by going to Settings>Course administration>Grades>Scales. (A regular teacher cannot do this.)

Why do I see [[missing strings]]?

Double square brackets around text indicate that language strings are missing. Try checking for untranslated words or phrases in Administration > Language > Language editing and update local language packs in Administration > Language > Language packs (or Administration > Configuration > Language in Moodle 1.6).

Language strings for non-standard modules and plugins are generally contained in a lang folder within the module or plugin folder. For sites which have migrated to UTF-8, it may be necessary to re-name the folder e.g. en should be re-named en_utf8.

How do I find the version of Moodle currently installed?

See the Moodle version information on the Site Administration > Notifications page.

How do I repair a corrupted Moodle database?

Typically, you might see an error message like './moodle/mdl_quiz_grades' is marked as crashed and should be repaired. See How to check your database for corruption for the solution.

My site is stuck in maintenance mode

Sometimes Moodle gets stuck in maintenance mode and you'll see the message "This site is undergoing maintenance and is currently unavailable" despite your attempts to turn-off maintenance mode. When you put Moodle into maintenance mode it creates a file called maintenance.html in moodledata/maintenance.html (the site files folder). To fix this try the following:

  • Check that the web server user has write permissions to the moodledata folder.
  • Manually delete the maintenance.html file.

Incomplete page displayed when I click "Turn Editing On"

When you see an incomplete page, it is normally a sign that an error occurred. To find out more, turn on Debugging, and you should see an error message which may help you to diagnose the problem.

This is usually as a result of an incompatible contributed module or block that you have installed. Follow these steps:

  1. Follow the module removal instructions in Installing contributed modules or plugins.
  2. Re-visit your course page and try clicking on the "Turn Editing On" button again.

If you find an incompatible module or block, please report the problem to the person named as the maintainer in the Modules and Plugins database.

"a required parameter (id) was missing" when uploading a file

This message sometimes is generated when attempting to upload a file larger than the upload limit.

How can I change the URL of the moodle service

You should configure your Apache server, at httpd.conf, using Listen, Port and DocumentRoot directives and Directory section. After restarting Apache, you also must open config.php in a text editor, and change the line:

   $CFG->wwwroot   = 'http://mydomain/testmoodle';

Your Moodle site will also contain absolute links to resources which point to the previous URL. These links are in the database. Moodle contains a utility to change all the links to the new URL. To change this login as admin and enter http://OurMoodle.org/admin/tool/replace/index.php in your browser address bar (or http://OurMoodle.com/admin/replace.php in older versions). Fill in your old url and new url in the boxes and run the utility. You can also see the migrating a complete Moodle site instructions.

See also: Forum discussion

How do I enable/disable debugging?

See Debugging. If you are getting a blank or partially complete page, it is probably a sign that an error is occurring. Turning on debugging will let you see what the error message is, which may help you diagnose the problem.

I cannot login to the Moodle CVS servers

When attempting to login to the Moodle CVS servers, you may receive a "login aborted" error as shown below (this example shows the eu cvs server, with the command in bold):

C:\gnuwin32>cvs -d:pserver:anonymous@eu.cvs.moodle.org:/cvsroot/moodle login
Logging in to :pserver:anonymous@eu.cvs.moodle.org:2401/cvsroot/moodle
CVS password: <- (blank password entered)
cvs [login aborted]: connect to uk.cvs.moodle.org(212.219.207.198):2401 failed:
Connection refused
C:\gnuwin32>

To fix this problem, check that you have entered the CVS command correctly and that port 2401 is open on your firewall.

Why is a page blank, or half missing?

A blank page, or a page that seems to have half missing, is normally a sign that an error occurred. If (as is recommended on production systems) you have display of error messages turned off, it can be very hard to understand what is going on.

The solution is to turn on the debugging options temporarily. Then, when you go back to the problem page, you should see the error message. Once you had finished solving the problem, remember to turn debugging off again.

How can I fix just one bug, without upgrading my whole site?

Suppose:

  • You are experiencing a particular bug.
  • You have searched in the tracker, and found that your problem is MDL-abc, and that it has been fixed in the latest version.
  • For some reason, you cannot upgrade your whole site, even though the latest version probably has security fixes.

Then, how can you get the fix for just this one bug, without upgrading your whole site? Well, if you are prepared to manually patch the code, you can probably get this information from the tracker. Please see this guide.

How can I change centre of the Front Page from course categories to something else?

Go to Front Page > Settings and change "Front page" to None all down. Change "Front page items when logged in" to None all down. Ensure that "Include a topic section" is checked. Save changes and return to the front page. Turn editing on, obviously, and you should now see the "Add a resource" and "Add an activity" drop down combo-boxes. Select "Add a resource" and select "Insert a label". You can then edit the label in any way you want to in the WYSYWYG editor.

How can I change the initial login screen?

Edit one of the language files. Settings > Site administration > Language> Language customisation, look in the moodle.php file. Look for loginusing or loginsteps or loginstepsnone string variables.

How can I change the initial login screen help?

To change or add a help message for the login go to Settings > Site administration > Plugins > Authentication > Manage authentication. Type your help message in there in the Instructions text box.

Users can not login, they need cookies and debug mentions config.php

Your site's config.php file probably has extra lines after ?>.

Solution is to delete the last ?>.

After using the 'Login as' function, why am I logged out of Moodle?

After using the 'Login as' function, for security reasons you are automatically logged out of Moodle when you return to your normal role. If you login again you will be redirected to the page that you were on previously.

Vea también