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.
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
The input var limitstart is at 20, so JPagination knows it's on page 2 (with limit set at 20)
A 404 error
Joomla 3.7.3
Not sure when this error occured, could be in Joomla 3.7.2, but in 3.7.1 is was working fine.
Labels |
Added:
?
|
Category | ⇒ | com_content com_plugins |
Status | New | ⇒ | Discussion |
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.
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.
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!
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-29 03:53:29 |
Closed_By | ⇒ | franz-wohlkoenig |
Status | Closed | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/17305
thanks for Report. Can you please look if #17127 is same Issue?