Attention : vous consultez actuellement la documentation dédiée aux versions 1.x de Moodle. La documentation pour les versions 2.x de Moodle est consultable ici : FAQ d'installation, celle pour les versions 3.x de Moodle est consultable ici : FAQ d'installation et celle pour Moodle 4.x est consultable là : FAQ d'installation.

« FAQ d'installation » : différence entre les versions

De MoodleDocs
Aller à :navigation, rechercher
(Suite)
(Suite)
Ligne 18 : Ligne 18 :


'''Astuce :''' essayez d'abord le réglage par défaut dans la page des paramètres techniques de Moodle. Laissez la variable smtphost vide. Cela fonctionnera correctement pour la plupart des utilisateurs.
'''Astuce :''' essayez d'abord le réglage par défaut dans la page des paramètres techniques de Moodle. Laissez la variable smtphost vide. Cela fonctionnera correctement pour la plupart des utilisateurs.
==Error: database connection failed==
Si vous obtenez des erreurs du type "database connection failed" ou "could not connect to the database you specified", voici quelques raisons possibles et quelques solutions à envisager.
# Your database server isn't installed or running. To check this for MySQL try typing the following command line <code>telnet database_host_name 3306</code>. You should get a cryptic response which includes the version number of the MySQL server.
# You don't have the PHP mysql or postgresql extensions installed (please refer to FAQ re. whether PHP is installed).
# You haven't created a database for Moodle and assigned a user with the correct privileges to access it. Or the database name, database user or database user password in your Moodle configuration file ''config.php'' are incorrect. Use phpMyAdmin to set up and check your MySQL installation.
# You are using MySQL version 4.1 or higher, whose default password hashing algorithm is incompatible with that available in PHP versions 4.x.x. See http://dev.mysql.com/doc/mysql/en/old-client.html for further information on how to deal with this.
# You are using Fedora core 3 or some other Linux system with SELinux installed and enabled. See the following URL for information on how to disable SELinux: http://fedora.redhat.com/projects/selinux/
==Je ne peux pas me connecter. Je reste bloqué sur la page de connexion ==
The most common cause for this is that your own computer (not your Moodle server) has 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&src=bar_sch_nam Norton firewall products].
The server admin can also fix this for everyone by changing the ''secureforms'' variable to 'No' in the security section of Administration >> Configuration >> [[admin/config|Variables]].
Another possible cause of this problem is that sessions are not configured properly on the server. You can test this by calling the script <nowiki>http://yourserver/moodle/lib/session-test.php</nowiki>.


[[Category:Base]]
[[Category:Base]]

Version du 8 mars 2006 à 07:22

Remarque : cet article est en cours de rédaction. N'hésitez pas à le compléter. Veuillez utiliser la page de discussion pour vos recommandations et suggestions d'améliorations.




Tous les textes ajoutés à Moodle contenant un apostrophe (') ou des guillemets droits (") provoquent des erreurs ou sont affichés avec une barre oblique supplémentaire

Les problèmes causé par les apostrophes sont dus à un mauvais réglage des "magic quotes". Moodle requiert les réglages suivants (qui sont généralement en vigueur par défaut) :

magic_quotes_gpc = On
magic_quotes_runtime = Off

Veuillez consulter en:Installing Moodle pour plus de détails.

Les copies par courriel des messages des forums ne sont pas envoyées

Vous devez configurer correctement le cron si vous voulez que Moodle envoie automatiquement des messages par courriel depuis les forums, les devoirs, etc. Ce processus effectue également un certain nombre de tâches de nettoyage, comme la suppression des utilisateurs non confirmés, la désinscription d'anciens étudiants, etc.

En deux mots, vous devez mettre en place un processus qui appelle régulièrement le script http://votresite/admin/cron.php. Pour plus d'informations, voyez Installing Moodle set up cron.

Astuce : essayez d'abord le réglage par défaut dans la page des paramètres techniques de Moodle. Laissez la variable smtphost vide. Cela fonctionnera correctement pour la plupart des utilisateurs.

Error: database connection failed

Si vous obtenez des erreurs du type "database connection failed" ou "could not connect to the database you specified", voici quelques raisons possibles et quelques solutions à envisager.

  1. Your database server isn't installed or running. To check this for MySQL try typing the following command line telnet database_host_name 3306. You should get a cryptic response which includes the version number of the MySQL server.
  2. You don't have the PHP mysql or postgresql extensions installed (please refer to FAQ re. whether PHP is installed).
  3. You haven't created a database for Moodle and assigned a user with the correct privileges to access it. Or the database name, database user or database user password in your Moodle configuration file config.php are incorrect. Use phpMyAdmin to set up and check your MySQL installation.
  4. You are using MySQL version 4.1 or higher, whose default password hashing algorithm is incompatible with that available in PHP versions 4.x.x. See http://dev.mysql.com/doc/mysql/en/old-client.html for further information on how to deal with this.
  5. You are using Fedora core 3 or some other Linux system with SELinux installed and enabled. See the following URL for information on how to disable SELinux: http://fedora.redhat.com/projects/selinux/

Je ne peux pas me connecter. Je reste bloqué sur la page de connexion

The most common cause for this is that your own computer (not your Moodle server) has a firewall that is stripping referrer information from the browser. Here are some instructions for fixing Norton firewall products.

The server admin can also fix this for everyone by changing the secureforms variable to 'No' in the security section of Administration >> Configuration >> Variables.

Another possible cause of this problem is that sessions are not configured properly on the server. You can test this by calling the script http://yourserver/moodle/lib/session-test.php.