Arazketa: berrikuspenen arteko aldeak

MoodleDocstik
Hona jauzi:nabigazioa, bilatu
No edit summary
2. lerroa: 2. lerroa:
Kokapena: ''Gunearen kudeaketa > Zerbitzaria > Arazketa''
Kokapena: ''Gunearen kudeaketa > Zerbitzaria > Arazketa''


Debugging messages are intended to 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.
Mezuen arazketa Moodle garatzaileei laguntzeko da. Zure Moodle gunearekin arazoren bat baduzu eta Moodle.org-eko foro batean laguntza eskatzen baduzu, garatzaile batek mezuen arazketa aktibatzeko eska diezazuke arazoren nondik-norakoak bilatzeko.


==How to turn on debugging==
==Nola aktibatu arazketa==


Go into the admin screens, and look under Administration > Server > Debugging. Set the '''Debug messages''' to '''ALL''', and '''Display debug messages''' to '''Yes'''.
Joan kudeatzailearen pantailara eta bilatu hemen: Kudeaketa> Zerbitzaria> Arazketa. Ezarri '''Mezuak garbitu''''''DENAK''', eta '''Garbiketa mezuak erakutsi''''''Bai''' (markatu laukitxoa).


Once you have got the error message, and copied and pasted it somewhere, you are recommended to turn debugging back off again.
Errore-mezua duzuean eta nonbait kopiatu eta itsatsita duzunea, gomendagarri da berriz ere arazketa desaktibatzea.


==Debug messages==
==Arazketa-mezuak==


{{Moodle 1.7}}From Moodle 1.7 onwards, further options are provided for controlling how to handle PHP error messages. The administrator can select the types of error messages to be displayed or logged.  
{{Moodle 1.7}}Moodle 1.7-tik aurrera, PHP errore-mezuen kudeaketarako kontrol-aukera gehiago eskaintzen dira. Kudeatzaileak aukeratu egin ahal du erakutsiko edo erregistratuko diren errore-mezuak.  


The options for debugging include:
Honako arazketa-aukerak daude:
* NONE: Do not show any errors or warnings
* BAT ERE EZ: Ez erakutsi ez errorerik ez jakinarazpenik
* MINIMAL: Show only fatal errors
* GUTXIENEKOA: Erabateko akatsak bakarrik erakutsi
* NORMAL: Show errors, warnings and notices
* NORMALA: Akatsak, jakinarazpenak eta berriak erakutsi
* ALL: Show all reasonable PHP debug messages. When you want to find the cause of a problem with your site, this is probably best the setting to use.
* DENAK: PHP arazketa-mezu guztiak erakutsi. Zure guneko arazo baten arrazoia bilatu nahi duzunean, hauxe da erabili beharreko ezarpen egokia.
* DEVELOPER: extra Moodle debug messages for developers - If you turn this on, then PHP's error_reporting will be increased so that more warnings are printed. This is almost essential for developers, but not very helpful for anyone else.
* GARATZAILEA: Garatzaileentzako Moodle garbiketa-mezu estrak - Hau aukeratzen baduzu, PHP-ko error_reporting handitu egingo da eta jakinarazpen gehiago inprimatuko dira. This is almost essential for developers, but not very helpful for anyone else.


==Display debug messages==
==Garbiketa-mezuak erakutsi==


There is an option to choose whether to display error messages or simply record them in the server logs.
Aukera honekin erabakitzen duzu errore-mezuak erakutsi ala besterik gabe zerbitzarian erregistratu.


==Debug email sending==
==Arazketa e-postak  bidali==


Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.

Noizko berrikusketa: 08:34, 3 Martxoa 2010

Oharra: Itzuli gabekoak. Anima zaitezte eta ekin!.     (itzuli gabeko beste orri batzuk)

Kokapena: Gunearen kudeaketa > Zerbitzaria > Arazketa

Mezuen arazketa Moodle garatzaileei laguntzeko da. Zure Moodle gunearekin arazoren bat baduzu eta Moodle.org-eko foro batean laguntza eskatzen baduzu, garatzaile batek mezuen arazketa aktibatzeko eska diezazuke arazoren nondik-norakoak bilatzeko.

Nola aktibatu arazketa

Joan kudeatzailearen pantailara eta bilatu hemen: Kudeaketa> Zerbitzaria> Arazketa. Ezarri Mezuak garbitun DENAK, eta Garbiketa mezuak erakutsin Bai (markatu laukitxoa).

Errore-mezua duzuean eta nonbait kopiatu eta itsatsita duzunea, gomendagarri da berriz ere arazketa desaktibatzea.

Arazketa-mezuak

Moodle 1.7

Moodle 1.7-tik aurrera, PHP errore-mezuen kudeaketarako kontrol-aukera gehiago eskaintzen dira. Kudeatzaileak aukeratu egin ahal du erakutsiko edo erregistratuko diren errore-mezuak.

Honako arazketa-aukerak daude:

  • BAT ERE EZ: Ez erakutsi ez errorerik ez jakinarazpenik
  • GUTXIENEKOA: Erabateko akatsak bakarrik erakutsi
  • NORMALA: Akatsak, jakinarazpenak eta berriak erakutsi
  • DENAK: PHP arazketa-mezu guztiak erakutsi. Zure guneko arazo baten arrazoia bilatu nahi duzunean, hauxe da erabili beharreko ezarpen egokia.
  • GARATZAILEA: Garatzaileentzako Moodle garbiketa-mezu estrak - Hau aukeratzen baduzu, PHP-ko error_reporting handitu egingo da eta jakinarazpen gehiago inprimatuko dira. This is almost essential for developers, but not very helpful for anyone else.

Garbiketa-mezuak erakutsi

Aukera honekin erabakitzen duzu errore-mezuak erakutsi ala besterik gabe zerbitzarian erregistratu.

Arazketa e-postak bidali

Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.

Performance info

The Performance info option determines whether performance info will be included in the footer of the standard theme (and some other themes). Performance info includes the time for the page to load, the amount of memory used to generate the page, cpu usage, load, and the record cache hit/miss ration.

What to do if you cannot get to the admin screens

If the error is stopping you even getting to the admin screens to turn on debugging, then you can set the debugging setting manually.

config.php fitxategian

moodle/config.php fitxategian lerro hauek gehitu ahal dituzu:

$CFG->debug = 2047; 
$CFG->debugdisplay = 1;
$CFG->debug = 6143; 
$CFG->debugdisplay = 1;

Remember to remove those lines again when you have finished diagnosing your problem.

Datu-basean

Using a tool like phpMyAdmin, execute the following SQL commands:

UPDATE mdl_config SET value = 2047 WHERE name = 'debug';
UPDATE mdl_config SET value = 1 WHERE name = 'debugdisplay';

To turn it back off, use the admin screens, or the commands:

UPDATE mdl_config SET value = 0 WHERE name = 'debug';
UPDATE mdl_config SET value = 0 WHERE name = 'debugdisplay';

(If you use a different database prefix, you will need to adjust those commands accordingly.)

Ikusi halaber