Hello!

I'm running into a strange problem where pagination is appended to the comments section at the bottom of a node, when pagination isn't required, and each page lists the same exact comments.

It seems to have stopped at 9. At that point I may have enabled anonymous users to skip comment approval, but I'm not sure about that. I also deleted all my comments (both published and unpublished) and the pagination didn't go away. It may have corresponded at one point with the number of published comments (from any node, not just the node they were attached to) but again, I can't be sure. I didn't notice til it was too late.

I've attached an image of the problem. Any ideas?

Thanks for any help/suggestions!

Comments

areikiera’s picture

Component: comment.module » drupal.module

Just noticed this is also happening on my taxonomy pages (the term pages that lists associated nodes), so not just a comment issue.

Any clues as to why this might be happening?

areikiera’s picture

Title: Comment Pagination when no pagination needed » Pagination problem. Duplicate Pages being created for Taxonomy Pages / Comments

Title change.

Also, when more than one page of comments (or nodes on the taxonomy term page) is created, only the second page is duplicated.

No idea where to start looking for a solution. Any guidance would be greatly appreciated!

areikiera’s picture

Version: 7.12 » 7.14
Priority: Normal » Major

This is happening on at least 2 of my sites now. Would really really appreciate any suggestions on what to look for.

cweagans’s picture

Priority: Major » Normal

Support requests are neither major nor critical.

areikiera’s picture

Sorry about that! I was thinking it might be a bug, but so far no one else seems to be experiencing it, or posting about it here anyway. Though it's strange to me that it's occurring on more than one site for me and is a really obvious problem.

Any help at all would really be appreciated!

Mentor.37’s picture

I have the same problem.
Any idea to fix it?

Postedit: SOLVED by me
This is a views pagination problem, you must change views paginator id.

adrupaler’s picture

I have the same problem on my taxonomy pages. the pager shows correctly but I see the same result in all pages. since I load the taxonomy pages pro grammatically I thought something is wrong with my code but the problem was still there even when I used "views' to create the taxonomy page.

<?php
$query = new EntityFieldQuery();
  $query->entityCondition('entity_type', 'node')
    ->entityCondition('bundle', 'product_display')
    ->propertyCondition('status', 1);

  if($current_char != 'N/A')
    $query->fieldCondition('field_product_category', 'tid', (array) $taxonomy_ids,'IN');

  $query->propertyOrderBy('title','ASC');
  $query = $query->pager(12);
  $result = $query->execute();
?>

any idea what's wrong with my code?

akanchha’s picture

Component: drupal.module » ajax system
Issue summary: View changes
StatusFileSize
new927 bytes

I was facing the same problem. Hence i removed the pagination and made all the terms in one page. This is for Drupal 8.4
Attaching my patch.

Version: 7.14 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.