Pagination not working after migration from 2.5.28 to 3.3.6

Phoca Guestbook - creating guestbooks in Joomla! CMS
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Pagination not working after migration from 2.5.28 to 3.3.6

Post by DZrenner »

I cannot use pagination for pages higher than "1". By clicking on side 2, 3,... or "Next" page "1" is shown again.

With selecting "All" I can see all posts.

What could go wrong?

Best regards
DZ
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not working after migration from 2.5.28 to 3.

Post by Jan »

Hi, can I see the website where this occurs? Does it work when you disable SEF?

Jan
If you find Phoca extensions useful, please support the project
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Re: Pagination not working after migration from 2.5.28 to 3.

Post by DZrenner »

ok, now i'm online with the site.

http://fsv-gunzenhausen.de/index.php?op ... &Itemid=24

I migrated it from 2.5.28 to xampp and now to the live server. No difference with the problem. In 2.5.28 it worked well.
Tried template phoca-t and also no difference. Disabling SEF does not help.

Dieter
Last edited by DZrenner on 06 Feb 2015, 11:27, edited 1 time in total.
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Re: Pagination not working after migration from 2.5.28 to 3.

Post by DZrenner »

My earlier post is missing here, so I try it again.

I' m online now with the site after migration from J 2.2.28. Same problem as in xampp. SEF off doesn' t help. I tried other templates (phoc-t) witout success.

I also deleted all posts, deinstalled the Guestbook, deleteg the tables in the database and started from the beginning. Same result. It is impossible to navigate to pages >1.

Here is the link:
http://fsv-gunzenhausen.de/index.php?op ... &Itemid=24

Many thanks and best regards
Dieter
Last edited by DZrenner on 06 Feb 2015, 11:28, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not working after migration from 2.5.28 to 3.

Post by Jan »

Hi, not sure if this can be related to your problem, but first try to solve the javascript errors on your site:

https://www.phoca.cz/documents/16-joomla ... -conflicts

When I click on the pagination the url changes and it is OK in URL: limitstart=5 .. limitstart=10 - so the URL is working OK but really no idea why it is not accepted on the page :idea:

Try to fix the javascript issues and try to change to some other template :idea: (for test only)

Jan
If you find Phoca extensions useful, please support the project
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Re: Pagination not working after migration from 2.5.28 to 3.

Post by DZrenner »

ok, I found the culprit for the javascript error. It was "JB Library". No idea for what it is for...

Now the javascript errors are gone, but pagination isn' t working, even with phoca-t template.

Best regards
Dieter
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Re: Pagination not working after migration from 2.5.28 to 3.

Post by DZrenner »

new observation:

I have activated "can change limit" in the backend controlcenter of the guestbook.

Now I can choose a higher number of posts and they are displayed then. But when I choose "all" no posts are shown and a message comes "There is no public post yet".

Very irritating!

Best regards
Dieter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not working after migration from 2.5.28 to 3.

Post by Jan »

Hmm, then the only idea is, the pagination is somehow broken in database?

Did you do the migration with help of this guide:
https://www.phoca.cz/documents/50-phoca/ ... o-joomla-3

Try to check the ordering described there :idea:

Jan
If you find Phoca extensions useful, please support the project
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Re: Pagination not working after migration from 2.5.28 to 3.

Post by DZrenner »

Yes, first I did it with the migration guide.

Because I then had the same problems, I thought that something has gone wrong with the import and I did plan "B": I deinstalled the guestbook, deleted all tables of phocaguestbook in the database and begun from start. I installed fresh and entered all data in the new environment manually, no import was involved and that is the momentary situation. I have a new build guestbook with manually entered entrys without imports.

Would it help if I export the database and send you? Or a screenshot? There are only 16 entries.

Any relation to ?
https://www.phoca.cz/forum/viewtopic.php?f=2&t=28066

Any idea?

Dieter
DZrenner
Phoca Member
Phoca Member
Posts: 21
Joined: 16 May 2013, 15:01

Re: Pagination not working after migration from 2.5.28 to 3.

Post by DZrenner »

I think I found one of the problems!

see
https://www.phoca.cz/forum/viewtopic.php?f=2&t=27277#p101071

I edited the line 284 and now the pagination works.

I think you have to correct this in the next version.

The problem when selecting "all" still exists!

Best regards
Dieter
Post Reply