Moodle

file_rewrite_urls undefined in setup

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Installation
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

When creating admin user in setup:

Fatal error: Call to undefined function file_rewrite_urls() in /var/www/moodle/moodle/user/editadvanced.php on line 129

I guess an explict require lib/filelib.php is needed?

Activity

Hide
Petr Škoda (skodak) added a comment -

I guess this will be move to ?oofleform class

Show
Petr Škoda (skodak) added a comment - I guess this will be move to ?oofleform class
Hide
Petr Škoda (skodak) added a comment -

hmm, I am afraid it will have to be rewritten

Show
Petr Škoda (skodak) added a comment - hmm, I am afraid it will have to be rewritten
Hide
Martin Dougiamas added a comment -

What's the status on this now? or the problem?

Show
Martin Dougiamas added a comment - What's the status on this now? or the problem?
Hide
Petr Škoda (skodak) added a comment -

I think it should be replaced with file_prepare_draftarea() and file_convert_draftarea()

Show
Petr Škoda (skodak) added a comment - I think it should be replaced with file_prepare_draftarea() and file_convert_draftarea()
Hide
Petr Škoda (skodak) added a comment -

call removed for now, will be replaced by new editor element later

Show
Petr Škoda (skodak) added a comment - call removed for now, will be replaced by new editor element later

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: