A board was working, data is in the database, but contents are no longer visible

Started by SomeoneElse, February 27, 2023, 07:26:17 PM

Previous topic - Next topic

SomeoneElse

An SMF 2.0.19 installation has nineteen 'boards'. At some point since the 17th Feb, one of them has stopped showing its content, including to moderators - the board's index is shown, even though the URL is of the board in question.

Possibly not by coincidence, the 17th was when it was upgraded to SMF 2.0.19 from 2.0.18 and 2.0.17.

The data for the board is in the database: if I look directly in it for topics with its board_id set to that board, hundreds of them are there.

Doing a forum maintenance check does not find any errors.

Suggestions?

Sir Osis of Liver

Even if the whole world has forgotten,
The song remembers when.

                              - H. Prestwood

Arantor

Quote from: SomeoneElse on February 27, 2023, 07:26:17 PMone of them has stopped showing its content,

What does it show, exactly? Empty board, or some error (if so what?)
Holder of controversial views, all of which my own.


SomeoneElse

Quote from: Arantor on February 27, 2023, 08:31:03 PM
Quote from: SomeoneElse on February 27, 2023, 07:26:17 PMone of them has stopped showing its content,

What does it show, exactly? Empty board, or some error (if so what?)

Exactly the same as /index.php down to the title in the browser's title bar being "(site name) - Index" - except that the URL in the browser's URL bar is the right one for the board.

SomeoneElse

Ah. The board is using Pretty URLs 2.3 with board redirects on.

If I turn that off, I can see this board normally (albeit at a /index.php?board=xx.0 style URL!)

If I turn it back on, then this board and only this board out of the 19 that exist is unreachable and displays the same as /index.php.

There is nothing in the webserver logs to suggest anything odd is happening, but I will try uninstalling Pretty URLs 2.3 and installing 2.5.1c ..

Arantor

That suggests something is off about the name of the board that Pretty URLs can't detect. What's the name of the board in question?
Holder of controversial views, all of which my own.


SomeoneElse

Grr, lost the reply when marking this solved.

What's worked is uninstalling Pretty URLs 2.3 and installing 2.5.1c - as mentioned in the mod's thread in the 'mods and packages' board, for some unknown reason, the SMF package manner would not let me update from one to the other directly.

This is the only board of the nineteen with an apostrophe in the title, but it was working fine with that until the SMF core updates, so I don't know if that became the underlying issue for some reason. (I did try renaming it to something without an apostrophe while we still had Pretty URLs 2.3 installed, which didn't help, but I didn't make absolutely sure that it would look again at titles rather than keep doing what it had been doing.)


Arantor

Apostrophes are problematic - I'm sure I've seen that discussed in the Pretty URLs help thread before now. But that is the root cause of your problem...
Holder of controversial views, all of which my own.


Advertisement: