customisation-db icon indicating copy to clipboard operation
customisation-db copied to clipboard

Default board links broken when expanding categories

Open battye opened this issue 2 years ago • 0 comments

When you are here: https://www.phpbb.com/customise/db/extensions-36 And then click on the left side on "Official extensions", which is done by a AJAX loading. The breadcrumbs shows: "Board index > Customisation Database > Extensions > Official Extensions" The "board index" links to: https://www.phpbb.com/customise/community/index.php which gives a 404 error. If you access https://www.phpbb.com/customise/db/extensions/official-extensions-86 directly, this issue it not showing itself.

Reported: Crizzo Created: 10/Sep/21 7:23 PM

Comments:

3Di [X] (Inactive) added a comment - 11/Sep/21 1:06 AM - edited Not here (FF), it leads correctly to "https://www.phpbb.com/community/index.php" without any error.

Crizzo added a comment - 11/Sep/21 8:30 AM According to your screenshot you are not in a sub-category of the CDB and therefor it is no suprise, that you can not reproduce this issue. I edited the steps to reproduce the issue.

3Di [X] (Inactive) added a comment - 11/Sep/21 8:19 PM Now I can reproduce the issue.

Matt Friedman added a comment - 12/Sep/21 9:57 PM - edited This isn't just the board index. It is every link that is a default link in phpBB. So FAQ, ACP, Notifications, Delete Cookies, The Team, Etc...

The problem is caused by this line, which I have no idea why it exists, why it is there, or what it's purpose is, other than to break things.

https://github.com/phpbb/customisation-db/blob/3.2.x/assets/javascript/ajax.js#L70

And it just gets worse too. You can keep seeing it add more and more junk to the Board Index (and the other) URLs every time AJAX is used. For example. Choose All Branches and pick a branch. Then open up the extensions category and choose an extension category type, and now the board index is

https://www.phpbb.com/customise/db/community/index.php

Look at all that extra junk in that URL!!!

Removing the line above fixes everything...but what does that break???

Skouat added a comment - 22/Aug/22 10:30 AM Hi there, This is due to an invalid value on Titania settings. @phpBB.com Admins Go to https://www.phpbb.com/customise/db/manage/administration/config_settings Check that "phpBB root path" is properly defined. It should be set as follows: ../community/

battye avatar Sep 23 '23 09:09 battye