Skip to content

Bug: Documentation news app project #3054

Description

@tobecci

Describe the bug
the news/slug page in the documentation project fails to load

CodeIgniter 4 version
4.0.3

Affected module(s)
the overview view

Expected behavior, and steps to reproduce if appropriate
when you visit the news page it loads the overview view listing the news items in the database along with a link redirecting to News::view/$1 route which displays the single news item.
but it does not show the page.
the reason lies in the view

 <p><a href="/news/<?= esc($news_item['slug'], 'url'); ?>">View article</a></p>

should instead be

 <p><a href="news/<?= esc($news_item['slug'], 'url'); ?>">View article</a></p>

Context

  • Web server xampp 3.2.4
  • PHP version 7.4.4

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

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions