Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17458 Install & upgrade 2.0 cleanup META
  3. MDL-15754

Constant ADODB_PREFETCH_ROWS already defined

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9, 1.9.2
    • 2.0
    • General
    • None
    • Ubuntu, Oracle 10g express, Apache2, PHP 5.2.4-2ubuntu5.2
    • Oracle
    • MOODLE_19_STABLE
    • MOODLE_20_STABLE

    Description

      A Notice: "Constant ADODB_PREFETCH_ROWS already defined" error occurs, already on the installation wizard pages. This happens in setuplib.php, row 297: define ('ADODB_PREFETCH_ROWS', 1000);

      I can solve the problem by change into: if (!defined('ADODB_PREFETCH_ROWS')) define ('ADODB_PREFETCH_ROWS', 1000);
      But of course i'd like to know why this error occurs in the first place

      Attachments

        Activity

          People

            skodak Petr Skoda
            henrykyssinger Henry Kyssinger
            Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10