There is an ambiguous note in the bug tracker.
This bug may be caused by Elija using a variable 'page' to denote the page of the album while the CMS is also using page to denote the page of the CMS page.
The error needs to be fixed within the PHP of the module which is a bit beyond my current PHP skills - BUT!!
TEMPORARY WORKAROUND!!
The problem is in the url string written for the next and previous page URLs
e.g.
/index.php?mact=Album,,default,1&albumid=1&page=2&returnid=53&page=53
The correct value for album page (2) is being overwritten by the later value which is set
to the CMS page (53), not the album page.
These two variables need to be disambiguated in the module code
In the meantime add the following smarty code to your smarty template
an example is given below
Code: Select all
{$link.page.previous|regex_replace:'/&page=\d+$/':''}
this uses a regular expression to remove the offending string
the URL becomes /index.php?mact=Album,,default,1&albumid=1&page=2&returnid=53
which works for me at least