Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

error/group/erroraddremoveuser

De MoodleDocs
La revisió el 17:00, 6 set 2008 per brian lockwood (discussió | contribucions)
(dif.) ← Versió més antiga | Versió actual (dif.) | Versió més nova → (dif.)
Salta a:navegació, cerca

This error is produced by the code in /group/members.php which calls code in /group/lib.php which in turn calls code in /lib/dmllib.php.

The various functions involved result in a line of SQL which is sent to the database engine.

You can trap this SQL in /lib/dmllib.php with a line like

print("SQL to be run is $insertSQL");

if you insert the line at line 1555 in /lib/dmllib.php.

The text "SQL to be run is INSERT INTO ....." will then appear at the top of the page that is causing the problem. You may then be able to debug the problem.