Moodle

Installation stops after trying to download Language-Pack

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9, 2.0
  • Fix Version/s: 1.9, 2.0
  • Component/s: Installation, Language
  • Labels:
    None
  • Environment:
    IE+Firefox
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

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.

Issue Links

Activity

Hide
Dan Poltawski added a comment -

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?

Show
Dan Poltawski added a comment - 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?
Hide
Dan Poltawski added a comment -

Patch for this, I think it just needs moving to setuplib.

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

Show
Dan Poltawski added a comment - Patch for this, I think it just needs moving to setuplib. Also the download url the error message gives is broken, fixed that.
Hide
Petr Škoda (skodak) added a comment -

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!

Show
Petr Škoda (skodak) added a comment - 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!
Hide
Dan Poltawski added a comment -

Hmm - I don't think its php4 cos I reproduced it on my php5 box

Show
Dan Poltawski added a comment - Hmm - I don't think its php4 cos I reproduced it on my php5 box
Hide
Petr Škoda (skodak) added a comment -

hmm, I am confused - need to look at this properly later today

Show
Petr Škoda (skodak) added a comment - hmm, I am confused - need to look at this properly later today
Hide
John Harald Gartland added a comment -

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...

Show
John Harald Gartland added a comment - 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...
Hide
Petr Škoda (skodak) added a comment -

fixed in cvs, thanks Dan

Show
Petr Škoda (skodak) added a comment - fixed in cvs, thanks Dan
Hide
Petr Škoda (skodak) added a comment -

and thanks for the report!

Show
Petr Škoda (skodak) added a comment - and thanks for the report!
Hide
Nicolas Martignoni added a comment -

Works now correctly (1.9b4). Closing.

Show
Nicolas Martignoni added a comment - Works now correctly (1.9b4). Closing.

Dates

  • Created:
    Updated:
    Resolved: