?
avatar conflate-nl
conflate-nl
27 Jul 2017

This problem occurs when the Page Break plugin is enabled, and an article page uses a custom pagination feature for i.e. showing a list with extra items linked to an article, which if longer than 20 items, can be paginated using a JPagination object. This will result in the addition of the limitstart variable as an input var. This wasn't a problem before, but now with the modification in the Page Break plugin, this will throw a 404 error. Disabling the plugin makes the pages work normal again, and the custom list starts at page 2.

Steps to reproduce the issue

Make sure the Page Break plugin is enabled. Open an article page which hasn't got a pagebreak tag in the content. At the end of the url add ?limitstart=20

Expected result

The input var limitstart is at 20, so JPagination knows it's on page 2 (with limit set at 20)

Actual result

A 404 error

System information (as much as possible)

Joomla 3.7.3

Additional comments

Not sure when this error occured, could be in Joomla 3.7.2, but in 3.7.1 is was working fine.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar conflate-nl conflate-nl - open - 27 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jul 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Jul 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Jul 2017

thanks for Report. Can you please look if #17127 is same Issue?

avatar brianteeman
brianteeman - comment - 27 Jul 2017

probably related to #11217

avatar conflate-nl
conflate-nl - comment - 27 Jul 2017

#17127 is not the problem, the problem is on pages which aren't using page breaks

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Jul 2017
Category com_content com_plugins
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Jul 2017
Status New Discussion
avatar eriknzzz
eriknzzz - comment - 28 Jul 2017

But #17127 is still my problem and I would appreciate some suggestions.

avatar ricardov03
ricardov03 - comment - 1 Aug 2017

I present the same error in Joomla 3.7.4. I'm creating a custom module and I using the pagination.
The system return the same error when I have more then 1 page of products. Doesn't matter if you just have 1 product per page, the problem appears when I change the page with the pagination.

I see the variable that return the problem it's 'start' on the URL.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17305.

avatar julienlusson
julienlusson - comment - 3 Aug 2017

Same here, I've a module on an article page without page break in the text, but the module have multiple pages so, with this check only on the article text, if I click on the pagination I get a 404 error, if I disable the check from #11217 it works.

avatar loewl
loewl - comment - 9 Aug 2017

I can also confirm this error, after the upgrade to Joomla 3.7.4 a custom module that works with pagination through GET (?start=100) throws a 404 Page Not Found error, the debug mode shows pagebreak.php on top of the callstack.
After deactivating the plugin, the pagination works correctly again.

avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar ReLater
ReLater - comment - 29 Jul 2018

I've written a plugin that works partially similiar like plg_content_pagebreak with a toc and JPagination.

I get the described 404 error if plg_content_pagebreak is activated and the article contains no class="system-pagebreak" is present in the article.

#11217 is wrong!

avatar ReLater
ReLater - comment - 29 Jul 2018

Please test #21290 and be loud if not accepted.

avatar franz-wohlkoenig franz-wohlkoenig - change - 29 Jul 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-07-29 03:53:29
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jul 2018
Status Closed Discussion
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jul 2018
Status Discussion Closed
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 29 Jul 2018
avatar joomla-cms-bot joomla-cms-bot - close - 29 Jul 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 29 Jul 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jul 2018

closed as having Pull Request #21290

Add a Comment

Login with GitHub to post a comment