Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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
    • Rank:
      14466

      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.

        Activity

        Hide
        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
        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
        Michael Blake added a comment -

        assign to a valid user

        Show
        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: