+ Post New Thread
Results 1 to 6 of 6
Virtual Learning Platforms Thread, Moodle - undefined variable error in Technical; Hi I have set up moodle for the school on a windows 2003 server, IIS6, PHP 5.2, Moodle vers 1.8. ...
  1. #1

    Join Date
    Jun 2007
    Location
    Middlesbrough
    Posts
    143
    Thank Post
    17
    Thanked 10 Times in 10 Posts
    Rep Power
    16

    Moodle - undefined variable error

    Hi I have set up moodle for the school on a windows 2003 server, IIS6, PHP 5.2, Moodle vers 1.8.

    When navigating to --- http://www.primrose.leeds.sch.uk/moo...ndex.php?id=30

    We get the following error

    Notice: Undefined variable: maxgrade in C:\Inetpub\wwwroot\moodle\mod\assignment\lib.php on line 1894

    Notice: Undefined variable: maxgrade in C:\Inetpub\wwwroot\moodle\mod\assignment\lib.php on line 1894

    Notice: Undefined variable: maxgrade in C:\Inetpub\wwwroot\moodle\mod\assignment\lib.php on line 1894

    Notice: Undefined variable: maxgrade in C:\Inetpub\wwwroot\moodle\mod\assignment\lib.php on line 1894

    Notice: Undefined variable: maxgrade in C:\Inetpub\wwwroot\moodle\mod\assignment\lib.php on line 1894

    Notice: Undefined variable: maxgrade in C:\Inetpub\wwwroot\moodle\mod\assignment\lib.php on line 1894

    from what I have managed to gather from the Moodle forums it seems to be a gradebook problem but i have no idea on a fix for this.

    Any suggestions from anyone on fixes for this

    Kind regards

    Damien Harrison

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Moodle - undefined variable error

    It's just a warning and nothing serious to worry about - just tone down your PHP error reporting level in php.ini.

    PHP performance is very poor on IIS, you could do worse than atleast running it under Apache on Windows. Apache on *nix would be even better.

  3. #3

    Join Date
    Jun 2007
    Location
    Middlesbrough
    Posts
    143
    Thank Post
    17
    Thanked 10 Times in 10 Posts
    Rep Power
    16

    Re: Moodle - undefined variable error

    PHP seems to run quite well 200+ users on moodle and no problems (apart from my network manager who insists on installing all new patches, SP's and other stuff without reading what it says it does on the tin)

    Regards

    Damien

  4. #4

    Join Date
    Jun 2007
    Location
    Middlesbrough
    Posts
    143
    Thank Post
    17
    Thanked 10 Times in 10 Posts
    Rep Power
    16

    Re: Moodle - undefined variable error

    PHP seems to run quite well 200+ users on moodle and no problems (apart from my network manager who insists on installing all new patches, SP's and other stuff without reading what it says it does on the tin)

    Regards

    Damien

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Moodle - undefined variable error

    You can change the error level reporting method and level from within Moodle. If you go to Site Administration -> Server -> Debugging you will find the controls there to alter the settings that affect this.

  6. #6

    Join Date
    Jun 2007
    Location
    Middlesbrough
    Posts
    143
    Thank Post
    17
    Thanked 10 Times in 10 Posts
    Rep Power
    16

    Re: Moodle - undefined variable error

    Cheers Geoff

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle help
    By firefox_2006 in forum Virtual Learning Platforms
    Replies: 20
    Last Post: 18th October 2007, 01:45 PM
  2. Username variable in the 'Connect to' box?
    By Andie in forum Windows
    Replies: 2
    Last Post: 22nd May 2007, 12:22 PM
  3. Batch: Text file -> Environment variable?
    By PiqueABoo in forum Scripts
    Replies: 5
    Last Post: 13th December 2006, 11:09 PM
  4. %Userprofile% Variable not being set.
    By drjturner in forum Windows
    Replies: 16
    Last Post: 23rd November 2006, 09:07 PM
  5. VLE but not Moodle
    By MManjra in forum Web Development
    Replies: 6
    Last Post: 26th January 2006, 11:12 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •