Pagination broken
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 28
- Joined: 18 Nov 2016, 10:35
Pagination broken
Hi,
since version 2017.01 pagination on catalog list seems to be broken. page 0 of 2 is shown and if I switch to the second page the following error: Oops, an error occurred! Code: 20170130112303c476ea5c
Is this already corrected in the newest sources?
Regards
Simon
since version 2017.01 pagination on catalog list seems to be broken. page 0 of 2 is shown and if I switch to the second page the following error: Oops, an error occurred! Code: 20170130112303c476ea5c
Is this already corrected in the newest sources?
Regards
Simon
-
- Posts: 28
- Joined: 18 Nov 2016, 10:35
Re: Pagination broken
Two bugs found at body-default.php, the last 2 params pointed to listProduct instead listPage:
$pagination = $this->partial(
$this->config( 'client/html/catalog/lists/partials/pagination', 'catalog/lists/pagination-default.php' ),
array(
'params' => $params,
'total' => $this->get( 'listProductTotal', 0 ),
'current' => $this->get( 'listPageCurr', 0 ),
'size' => $this->get( 'listPageSize', 48 )
)
);
But the error on the second page remains. Are there any hints on debugging, say finding the point of this error fast?
Fixes will be pushed to github as always.
$pagination = $this->partial(
$this->config( 'client/html/catalog/lists/partials/pagination', 'catalog/lists/pagination-default.php' ),
array(
'params' => $params,
'total' => $this->get( 'listProductTotal', 0 ),
'current' => $this->get( 'listPageCurr', 0 ),
'size' => $this->get( 'listPageSize', 48 )
)
);
But the error on the second page remains. Are there any hints on debugging, say finding the point of this error fast?
Fixes will be pushed to github as always.
Re: Pagination broken
What's the latest entry in log file stored in typo3temp/logs/? There you will most probably find a meaningful explanation of what did go wrong.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 28
- Joined: 18 Nov 2016, 10:35
Re: Pagination broken
I always forget the logfiles, I only looked at the interal logs at the BE ;-( Thanks for the hint! Corrections are uploaded
Re: Pagination broken
Never mind
Instead, we would like to give you a really big "thank you" for all your efforts and the great job you did!
Instead, we would like to give you a really big "thank you" for all your efforts and the great job you did!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star