Diferencia entre revisiones de «Administración FAQ»

De MoodleDocs
(tidy up)
(tidy up)
Línea 1: Línea 1:
{{Pendiente de traducir}}
{{Pendiente de traducir}}
{{Gestionando un sitio Moodle}}==Changing text in Moodle==
{{Gestionando un sitio Moodle}}
==Cambiar texto en Moodle==


The language editing interface in ''Administration > Language> [[Personalización del idioma]]'' 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.
The language editing interface in ''Administration > Language> [[Personalización del idioma]]'' 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? ==
== ¿Cómo funcionan los límites para archgivos subidos? ==


See [[Tamaño de archivo subido]] for more information.   
Vea [[Tamaño de archivo subido]] para más información.   


File upload sizes are restricted in a number of ways - each one in the list restricts the following ones.
File upload sizes are restricted in a number of ways - each one in the list restricts the following ones.
Línea 53: Línea 54:
* Instructions below on How to change the maximum execution time
* Instructions below on How to change the maximum execution time


== How to change upload file size on a Windows localhost==
== ¿Cómo cambio el tamaño para archivo subido en un localhost de Windows?==
In a localhost (using a [[Paquetes para Instalación Completa para Windows]] on a computer) for 1.6 it is easy to change the uploaded file size to something larger than the default 16M.  
In a localhost (using a [[Paquetes para Instalación Completa para Windows]] on a computer) for 1.6 it is easy to change the uploaded file size to something larger than the default 16M.  


Línea 72: Línea 73:
* Instructions below on How to change the maximum execution time
* Instructions below on How to change the maximum execution time


== How to change the maximum execution time ==
== Como cambiar el tiempo máximo de ejecución (''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:
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:
Línea 84: Línea 85:
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.
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 ==
== Se me olvidó la contraseña deñl administrador ==
First, try using the button "Send my details via email".
First, try using the button "Send my details via email".


Línea 91: Línea 92:
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.
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! ==
== Mi tabla de [[Bitácoras|bitácoras]] desapareció. No se encontraron bitácoras! ==
The most likely cause is that the mdl_log table has become corrupted. See the [[Desempeño/Revisar corrupción en su BasedeDatos]].
The most likely cause is that the mdl_log table has become corrupted. See the [[Desempeño/Revisar corrupción en su BasedeDatos]].


==My style sheet changes aren't showing up==
==Mis cambios en la hoja de estilos no se están mostrando==


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


== Site-wide scales ==
== [[Escalas]] para todo el sitio ==
*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".
*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.)
*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>?==
==¿Porqué veo <nowiki>[[missing strings]]</nowiki> (<nowiki>[[cadenas faltantes]]</nowiki>)?==


Double square brackets around text indicate that language strings are missing. Try checking for untranslated words or phrases in ''Administration > Language > [[Personalización del idioma]]'' and update local language packs in ''Administration > Language > [[Paquetes de idioma]]'' (or ''Administration > Configuration > Language'' in Moodle 1.6).
Double square brackets around text indicate that language strings are missing. Try checking for untranslated words or phrases in ''Administration > Language > [[Personalización del idioma]]'' and update local language packs in ''Administration > Language > [[Paquetes de idioma]]'' (or ''Administration > Configuration > Language'' in Moodle 1.6).
Línea 109: Línea 110:
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''.
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?==
==¿Cómo encuentro la versión de Moodle que está instalada actualmente?==
See the [https://docs.moodle.org/29/en/Moodle_version Moodle version] information on the Site Administration > Notifications page.
See the [https://docs.moodle.org/29/en/Moodle_version Moodle version] information on the Site Administration > Notifications page.


==How do I repair a corrupted Moodle database?==
==¿Cómo reparo una BasedeDatos de Moodle corrupta?==


Typically, you might see an error message like './moodle/mdl_quiz_grades' is marked as crashed and should be repaired. See [[Desempeño/Revisar corrupción en su BasedeDatos]] for the solution.
Typically, you might see an error message like './moodle/mdl_quiz_grades' is marked as crashed and should be repaired. See [[Desempeño/Revisar corrupción en su BasedeDatos]] for the solution.


==My site is stuck in maintenance mode==
==Mi sitio está atascado en el Modo de mantenimineto==


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:
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:
Línea 123: Línea 124:
* Manually delete the maintenance.html file.
* Manually delete the maintenance.html file.


==Incomplete page displayed when I click "Turn Editing On"==
==Se muestra una página incompleta cuando hago click en "[[Activar la edición]]"==
When you see an incomplete page, it is normally a sign that an error occurred. To find out more, turn on [[Depuración]], and you should see an error message which may help you to diagnose the problem.
When you see an incomplete page, it is normally a sign that an error occurred. To find out more, turn on [[Depuración]], and you should see an error message which may help you to diagnose the problem.


Línea 136: Línea 137:
This message sometimes is generated when attempting to upload a file larger than the upload limit.
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==
==Como cambiar la URL del servicio Moodle==


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:
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:
Línea 145: Línea 146:
'''See also''': [http://moodle.org/mod/forum/discuss.php?d=51667 Forum discussion]
'''See also''': [http://moodle.org/mod/forum/discuss.php?d=51667 Forum discussion]


==How do I enable/disable debugging?==
==¿Cómo habilito/deshabilito la depuración (''debugging'')?==
See [[Depuración]]. 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.
See [[Depuración]]. 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.


Línea 161: Línea 162:
To fix this problem, check that you have entered the CVS command correctly and that port 2401 is open on your firewall.
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?==
==¿Porqué una página está vacía o le falta la mitad?==


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.
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.
Línea 167: Línea 168:
The solution is to [[Depuración|activar las opciones de depuración]] 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.
The solution is to [[Depuración|activar las opciones de depuración]] 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?==
==¿Cómo puedo corregir solamente un problema, sin tener que actualizar todo mi sitio?==


Suppose:
Suppose:
Línea 180: Línea 181:
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.
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?==
==¿Cómo puedo cambiar la pantalla para el ingreso inicial?==
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.
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?==
==¿Cómo puedo cambiar la ayuda para la pantalla para el ingreso inicial?==


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.
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.
Línea 193: Línea 194:
Solution is to delete the last '''?>'''.
Solution is to delete the last '''?>'''.


==After using the 'Login as' function, why am I logged out of Moodle?==
==Después de usar la función para 'Ingresar como', porqué me sacó de  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.  
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.  

Revisión del 16:23 26 jun 2015

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

Cambiar texto en Moodle

The language editing interface in Administration > Language> Personalización del idioma 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.

¿Cómo funcionan los límites para archgivos subidos?

Vea Tamaño de archivo subido para más información.

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 Configuraciones del curso.

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

See also

¿Cómo cambio el tamaño para archivo subido en un localhost de Windows?

In a localhost (using a Paquetes para Instalación Completa para 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

Como cambiar el tiempo máximo de ejecución (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.

Se me olvidó la contraseña deñl administrador

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

It is possible to reset the admin user's password using herramientas para línea de comandos 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.

Mi tabla de bitácoras desapareció. No se encontraron bitácoras!

The most likely cause is that the mdl_log table has become corrupted. See the Desempeño/Revisar corrupción en su BasedeDatos.

Mis cambios en la hoja de estilos no se están mostrando

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".

Escalas para todo el sitio

  • 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.)

¿Porqué veo [[missing strings]] ([[cadenas faltantes]])?

Double square brackets around text indicate that language strings are missing. Try checking for untranslated words or phrases in Administration > Language > Personalización del idioma and update local language packs in Administration > Language > Paquetes de idioma (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.

¿Cómo encuentro la versión de Moodle que está instalada actualmente?

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

¿Cómo reparo una BasedeDatos de Moodle corrupta?

Typically, you might see an error message like './moodle/mdl_quiz_grades' is marked as crashed and should be repaired. See Desempeño/Revisar corrupción en su BasedeDatos for the solution.

Mi sitio está atascado en el Modo de mantenimineto

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.

Se muestra una página incompleta cuando hago click en "Activar la edición"

When you see an incomplete page, it is normally a sign that an error occurred. To find out more, turn on Depuración, 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 Instalar 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.

Como cambiar la URL del servicio Moodle

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 Migración de Moodle instructions.

See also: Forum discussion

¿Cómo habilito/deshabilito la depuración (debugging)?

See Depuración. 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.

¿Porqué una página está vacía o le falta la mitad?

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 activar las opciones de depuración 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.

¿Cómo puedo corregir solamente un problema, sin tener que actualizar todo mi sitio?

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.

¿Cómo puedo cambiar la pantalla para el ingreso inicial?

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.

¿Cómo puedo cambiar la ayuda para la pantalla para el ingreso inicial?

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 archivo config.php probably has extra lines after ?>.

Solution is to delete the last ?>.

Después de usar la función para 'Ingresar como', porqué me sacó de 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