Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-4720

Warning: get_list_of_currencies(/usr/local/www/data/moodle/lang/en/currencies.php

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: Language
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE

      Description

      Warning: get_list_of_currencies(/usr/local/www/data/moodle/lang/en/currencies.php): failed to open stream: No such file or directory in /usr/local/www/data/moodle/lib/moodlelib.php on line 5157 Warning: get_list_of_currencies(): Failed opening '/usr/local/www/data/moodle/lang/en/currencies.php' for inclusion (include_path='.:/usr/local/share/pear') in /usr/local/www/data/moodle/lib/moodlelib.php on line 5157 Notice: Undefined variable: string in /usr/local/www/data/moodle/lib/moodlelib.php on line 5163

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            From oen roggemans (koen at roggemans.net) Wednesday, 8 February 2006, 10:27 PM:

            Wich version of moodlelib are you using? Should be 1.653

            From (hephappy at gmail.com) Thursday, 9 February 2006, 04:48 PM:

            Yes it is 1.653.

            I think $lang = 'en'; must be en_utf8 by default.

            You will see this error at Admin >> Enrol >> Authorize.net

            From oen roggemans (koen at roggemans.net) Friday, 10 February 2006, 03:04 AM:

            I see.

            dirroot should be dataroot

            en should be en_utf8

            Errors in moodlelib.php in function get_list_of_currencies

            I'll add Yu since he has write access on moodlelib and I don't.

            From Yu Zhang (yu at moodle.com) Friday, 10 February 2006, 09:27 AM:

            fixed in cvs, thanks for the report!

            Show
            dougiamas Martin Dougiamas added a comment - From oen roggemans (koen at roggemans.net) Wednesday, 8 February 2006, 10:27 PM: Wich version of moodlelib are you using? Should be 1.653 From (hephappy at gmail.com) Thursday, 9 February 2006, 04:48 PM: Yes it is 1.653. I think $lang = 'en'; must be en_utf8 by default. You will see this error at Admin >> Enrol >> Authorize.net From oen roggemans (koen at roggemans.net) Friday, 10 February 2006, 03:04 AM: I see. dirroot should be dataroot en should be en_utf8 Errors in moodlelib.php in function get_list_of_currencies I'll add Yu since he has write access on moodlelib and I don't. From Yu Zhang (yu at moodle.com) Friday, 10 February 2006, 09:27 AM: fixed in cvs, thanks for the report!
            Hide
            mblake Michael Blake added a comment -

            assign to a valid user

            Show
            mblake Michael Blake added a comment - assign to a valid user

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: