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

install.php error about redeclared print_object() function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Installation
    • Labels:
      None
    • Environment:
      Moodle 1.8 (HEAD)
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      Installing from scratch is not working for HEAD.

      It drops this error:

      Fatal error: Cannot redeclare print_object() (previously declared in /Users/stronk7/cvs_moodle/moodle_head/install.php:700) in /Users/stronk7/cvs_moodle/moodle_head/lib/datalib.php on line 1549

      Somewhere datalib.php is being included, while it wasn't in 1.7

      Solution: Delete print_object() from install ? Although I think it should be any good reason preventing datalib.php to be included by install.php in the past.

      This is IMPORTANT to fix ASAP. Marked as blocker.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07