Issue Details (XML | Word | Printable)

Key: MDL-19249
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Eloy Lafuente (stronk7)
Reporter: Chris Malton
Votes: 3
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Moodle installer on Windows with MySQL 5.1.30 fails unicode checks

Created: 19/May/09 11:36 PM   Updated: 16/Jun/09 06:22 AM
Return to search
Component/s: Installation
Affects Version/s: 1.8.9
Fix Version/s: None

File Attachments: None
Image Attachments:

1. SetupError.png
(2 kB)
Environment:
Windows Server '03
IIS 6.0
PHP 5.2.9/fastcgi
MySQL 5.1.30

Database: MySQL
URL: http://kegsnet.cmalton.me.uk/install.php
Participants: Chris Malton, Eloy Lafuente (stronk7) and Mike Kelly
Security Level: None
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
While attempting to install Moodle on the listed configuration, I ran into the almost famous "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)." problem.

Upon performing further investigation:

When reaching line 369 of the installer file, $records is an array with first key being blank, not 'character_set_database' as expected, hence the "ALTER DATABASE" SQL query will never run.

The same problem applies on Line 171 of lib/setuplib.php

I added debug code (couple of var_dumps) to try and see what caused it - see attachment.

This is preventing me from installing Moodle.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) made changes - 06/Jun/09 02:35 AM
Field Original Value New Value
Assignee moodle.com [ moodle.com ] Eloy Lafuente (stronk7) [ stronk7 ]