Moodle

Constant ADODB_PREFETCH_ROWS already defined

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9, 1.9.2
  • Fix Version/s: 2.0
  • Component/s: General
  • Labels:
    None
  • Environment:
    Ubuntu, Oracle 10g express, Apache2, PHP 5.2.4-2ubuntu5.2
  • Database:
    Oracle
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    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

Activity

Hide
Petr Škoda (skodak) added a comment -

hello,
this should no longer be an issue in new 2.0 installer because we do not use adodb any more there

thanks

Show
Petr Škoda (skodak) added a comment - hello, this should no longer be an issue in new 2.0 installer because we do not use adodb any more there thanks

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: