Dotclear

Ticket #2065 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Strange /page/2 request

Reported by: ben_griffith Owned by: team
Priority: normal Milestone: 2.7.4
Component: module:core Version: 2.7.3
Severity: normal Keywords:
Cc:

Description

Tbtip noticed a problem, which I also can reproduce in my blog:

  1. Enter Dashboard and go to Blog appearance
  2. Choose Berlin theme and activate it
  3. Refresh page of your blog so that you can see your blog with Berlin theme
  4. View "Source code" (depending on browser, right-click or menu)
  5. look at code in header:

<!-- dc-title-head -->
<!-- head-dc -->
is followed by
a.) archive
b.) list of categories
c.) the current article's link like "<link rel="prev" title="previous entries" href=" http://www.test.com/blog/index.php?post/2014/08/31/Test/page/2" />"
d.) list of the most recent articles' links

Result to 5.c):
You will find on each page (home, post, ...) a /page/2 added, which leads to 404 error (because there is no page/2)

Tbtip located the problem in context to \inc\public\default-templates\currywurst, line 43 onwards starting with
<tpl:Entries no_content="1">
<tpl:EntriesHeader>
...
Can you please look into this?

Change History

comment:1 Changed 9 years ago by franck

Have you reset the Template Cache after switching the current theme to Berlin?

comment:2 Changed 9 years ago by ben_griffith

Hi Franck

When you look at your blog, you have got the same:
<!-- dc-title-head -->
<!-- head-dc -->
<link rel="contents" title="Archives" href=" http://open-time.net/archive" />
<link rel="section" href=" http://open-time.net/category/Mots" title="Mots" />
<link rel="section" href=" http://open-time.net/category/Photos" title="Photos" />
<link rel="section" href=" http://open-time.net/category/Air-du-temps" title="Air du temps" />
<link rel="section" href=" http://open-time.net/category/Breves" title="Brèves" />
<link rel="section" href=" http://open-time.net/category/Dotclear" title="Dotclear" />
<link rel="section" href=" http://open-time.net/category/Dotclear/Plugins" title="Plugins" />
<link rel="section" href=" http://open-time.net/category/Dotclear/Themes" title="Thèmes" />
<link rel="section" href=" http://open-time.net/category/Internet" title="Internet" />

<link rel="prev" title="billets précédents" href=" http://open-time.net/page/2" />

This is not a mtter of cache, unfortunately, there is something not correct when generating the code.

Last edited 9 years ago by ben_griffith (previous) (diff)

comment:3 Changed 9 years ago by bruno

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from A definir to 2.7.4

Should have been fixed with changeset [2936]

Note: See TracTickets for help on using tickets.

Sites map