Skip to content

"Page not found", but does exist #5690

Description

@TomSpidge

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I have a single page within a chapter that no-one can see. It claims 'page not found' for all users, including the page owner and admin users (with all rights). When the page is recreated from a copy elsewhere there is no problem.
There are no errors in the logs, turning on APP_DEBUG shows the same page.
When looking in the database, I can see the page in the pages table, alongside the replacement. Both are in the same book and chapter and the only differences are dates, priority, revision count and created by entries.
There are no entries in entity_permissions for either page, so presumably both should inherit the chapter permissions, and yet one works and the other is 'page not found'

Exact BookStack Version

25.05.1

Log Content


Hosting Environment

Ubuntu 24.04.2 LTS
Apache/2.4.58
PHP 8.3.6
MySQL 8.0.42-0ubuntu0.24.04.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions