Pages

Saturday, January 17, 2009

Problems installing Moodle

Installing moodle over a windows shared hosting, using PHP (obviously) and MySQL I got this error:

It is required that you store all your data in Unicode format (UTF-8). New installations must be performed into databases that have their default character set as Unicode. If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).

In spanish:

Es necesario que almacene todos sus datos en formato Unicode (UTF-8). Las instalaciones nuevas deberían ejecutarse en bases de datos cuyo juego de caracteres por defecto fuera Unicode. Si está realizando una actualización, debería llevar a cabo el proceso de migración UTF-8 (vea al respecto la página de Administración).

The problem is generated by the mysql database; use phpMyAdmin to edit the collation of the database; on the frontpage of phpMyAdmin you may have utf8_unicode_ci, that is ok; after click on the left side on the name of your database, go to Operations, scroll down and change the collation of your database to utf8_unicode_ci; if you have problems it is a matter of the user permissions, just go back to your control panel (the one you use it to create the database and its user) and activate all of them, or make it as dba.

Hope this post helps you!!!

Cheers!!!!