Skip to content

Fix two errors that stop the branch installing on phpBB 4 - #460

Open
ECYaz wants to merge 2 commits into
phpbb:oberonfrom
ECYaz:oberon-install-fixes
Open

Fix two errors that stop the branch installing on phpBB 4#460
ECYaz wants to merge 2 commits into
phpbb:oberonfrom
ECYaz:oberon-install-fixes

Conversation

@ECYaz

@ECYaz ECYaz commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Two small things stop oberon installing on current master.

The migration declares two columns as MTEXT_UNI:255, but phpBB 4 rejects a length on that type, so enabling the extension throws before any table is created.

Both console commands declare execute() without the : int return type Symfony Console 7 requires, so once enabled every phpbbcli run fatals too.

Tested on a phpBB 4 dev board: with both applied the extension enables and the index renders.

ECYaz added 2 commits August 26, 2026 19:49
phpBB 4 rejects a length on MTEXT_UNI, so the migration throws in update_schema()
before any table is created and enabling the extension fails.
Symfony Console 7 declares Command::execute() as returning int. phpBB builds every
tagged command on each phpbbcli run, so without the return type every CLI call
fatals once the extension is enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant