Pagination broken

How to configure and adapt Aimeos based shops as developer
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!
gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Pagination broken

Post by gilbertsoft » 30 Jan 2017, 10:31

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

gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Re: Pagination broken

Post by gilbertsoft » 30 Jan 2017, 13:03

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.

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Pagination broken

Post by aimeos » 30 Jan 2017, 16:23

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, Image give us a star

gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Re: Pagination broken

Post by gilbertsoft » 30 Jan 2017, 20:15

I always forget the logfiles, I only looked at the interal logs at the BE ;-( Thanks for the hint! Corrections are uploaded

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Pagination broken

Post by aimeos » 30 Jan 2017, 23:15

Never mind ;-)
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, Image give us a star

Post Reply