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

strings not loaded on site page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      On the site page I get a php notice:

      Notice: Undefined variable: string in c:\webroot\moodle16\lib\moodlelib.php on line 4700

      This is independent of whether I am logged in or not. I assume someone else already noticed this problem and hence added the @ sign in line 4699 to avoid a more severe php warning. But I think the problem should be fixed properly.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 12 July 2005, 06:56 PM:

            This was due to an empty directory lang/sr in my installation. So all that is needed is a check whether the file moodle.php does actually exist in a directory. I'll add that.

            From Martin Dougiamas (martin at moodle.com) Tuesday, 12 July 2005, 07:35 PM:

            Fixed in HEAD and STABLE 1.5

            Show
            dougiamas Martin Dougiamas added a comment - From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 12 July 2005, 06:56 PM: This was due to an empty directory lang/sr in my installation. So all that is needed is a check whether the file moodle.php does actually exist in a directory. I'll add that. From Martin Dougiamas (martin at moodle.com) Tuesday, 12 July 2005, 07:35 PM: Fixed in HEAD and STABLE 1.5
            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: