Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10215

Database updater fails on Oracle

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.9-RC1
    • Fix Version/s: None
    • Component/s: Update system
    • Labels:
      None
    • Environment:
      Oracle 10g Express, phpBB 3.0.8

      Description

      Running the database updater, the queries for the new login attempts table fail:

      Result :: Some queries failed, the statements and errors are listing below.
      Error :: ORA-00911: invalid character
      SQL :: CREATE TABLE phpb8_login_attempts ( attempt_id number(8) , attempt_ip varchar2(40) DEFAULT '' , attempt_browser varchar2(150) DEFAULT '' , attempt_forwarded_for varchar2(255) DEFAULT '' , attempt_time number(11) DEFAULT '0' , user_id number(8) DEFAULT '0' , username varchar2(765) DEFAULT '0' NOT NULL, username_clean varchar2(255) DEFAULT '0' NOT NULL, CONSTRAINT pk_phpb8_login_attempts PRIMARY KEY (attempt_id) );

      Error :: ORA-00942: table or view does not exist
      SQL :: CREATE OR REPLACE TRIGGER t_phpb8_login_attempts BEFORE INSERT ON phpb8_login_attempts FOR EACH ROW WHEN ( new.attempt_id IS NULL OR new.attempt_id = 0 ) BEGIN SELECT phpb8_login_attempts_seq.nextval INTO :new.attempt_id FROM dual END;

      Error :: ORA-00942: table or view does not exist
      SQL :: CREATE INDEX phpb8_login_attempts_att_ip ON phpb8_login_attempts(attempt_ip, attempt_time)

      Error :: ORA-00942: table or view does not exist
      SQL :: CREATE INDEX phpb8_login_attempts_att_for ON phpb8_login_attempts(attempt_forwarded_for, attempt_time)

      Error :: ORA-00942: table or view does not exist
      SQL :: CREATE INDEX phpb8_login_attempts_att_time ON phpb8_login_attempts(attempt_time)

      Error :: ORA-00942: table or view does not exist
      SQL :: CREATE INDEX phpb8_login_attempts_user_id ON phpb8_login_attempts(user_id)

      Of course, the first failure causes the rest.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Noxwizard Patrick Webster
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: