Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10215

Database updater fails on Oracle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.0.9-RC1
    • Update system
    • None
    • Oracle 10g Express, phpBB 3.0.8

      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.

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

              Created:
              Updated:
              Resolved: