Issue Details (XML | Word | Printable)

Key: MDL-12983
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dan Poltawski
Reporter: John Harald Gartland
Votes: 0
Watchers: 2
Operations

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

Installation stops after trying to download Language-Pack

Created: 14/Jan/08 07:24 PM   Updated: 29/Jan/08 05:13 AM
Return to search
Component/s: Installation, Languages
Affects Version/s: 1.9, 2.0
Fix Version/s: 1.9, 2.0

File Attachments: 1. Text File mdl-12983.patch (2 kB)

Environment: IE+Firefox
Issue Links:
Dependency
 
Duplicate
 

Database: MySQL
Participants: Dan Poltawski, John Harald Gartland, Nicolas Martignoni and Petr Skoda
Security Level: None
QA Assignee: Nicolas Martignoni
Resolved date: 21/Jan/08
Affected Branches: MOODLE_19_STABLE, MOODLE_20_STABLE
Fixed Branches: MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
When installing I choose Norwegian Bokmål as installation and goes on. When I come to the place where I can download Language pack Norwegian Bokmål (have some troubles showing å as well), the installation goes into a hang (white), and if I restart browser and try to install again it still hangs.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Poltawski added a comment - 14/Jan/08 11:09 PM
Petr,

this appears to be caused by use of new object() in download_file_content()

Dunno if we want to create the object class in the installer or something?


Dan Poltawski added a comment - 14/Jan/08 11:49 PM
Patch for this, I think it just needs moving to setuplib.

Also the download url the error message gives is broken, fixed that.


Petr Skoda added a comment - 15/Jan/08 01:07 AM
aaah PHP4 again, I think we could add some object emulation into install.php or simply use stdClass - going to revive my ubuntu snapshot and fix it ASAP, thanks!

Dan Poltawski added a comment - 15/Jan/08 01:11 AM
Hmm - I don't think its php4 cos I reproduced it on my php5 box

Petr Skoda added a comment - 15/Jan/08 01:35 AM
hmm, I am confused - need to look at this properly later today

John Harald Gartland added a comment - 15/Jan/08 07:08 AM
I also do PHP 5.2. Todays 1.9 beta with xammp on xp pro.. so it would be really mystic if php was the problem...

Petr Skoda added a comment - 21/Jan/08 03:00 AM
fixed in cvs, thanks Dan

Petr Skoda added a comment - 21/Jan/08 03:00 AM
and thanks for the report!

Nicolas Martignoni added a comment - 29/Jan/08 05:13 AM
Works now correctly (1.9b4). Closing.