[bug in 2.2.5] entries page navigator miss some old pages

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

[bug in 2.2.5] entries page navigator miss some old pages

Postby smithfox » Wed Mar 23, 2011 1:49 am

go to http://www.smithfox.com/?o=11 , you will find the bottom entries page navigator tells us the page is the last page, but really, you can go to http://www.smithfox.com/?o=12 and http://www.smithfox.com/?o=13 by manual.

That means my blog visitor can not access my old post.
smithfox
 
Posts: 24
Joined: Fri Oct 22, 2010 12:51 am

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby hansfn » Wed Mar 23, 2011 11:08 pm

Yes, it seems that the pager is counting the entries in the weblog incorrectly. It's a bit strange since your setup seem simple - just one subweblog named standard (and it contains all the categories, I guess). It's hard to debug from remote. Flat file or MySQL database?
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby smithfox » Thu Mar 24, 2011 5:44 am

@hansfn, you are right, my blog only contain one subweblog.
my blog storage is flat file. What need I do?
smithfox
 
Posts: 24
Joined: Fri Oct 22, 2010 12:51 am

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby smithfox » Sun Mar 27, 2011 2:00 am

@hansfn, I think I know the root cause of the issue: I have some hold post, please do some investigation. thanks
smithfox
 
Posts: 24
Joined: Fri Oct 22, 2010 12:51 am

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby hansfn » Sat Apr 02, 2011 12:48 pm

Sorry about the late reply. Held posts should not be a problem. Have you tried to rebuild the index - pivotx/index.php?page=buildindex
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby smithfox » Tue Apr 05, 2011 2:30 am

@hansfn, I tried to rebuild the index, but the admin page show a Message Log with "Error rebuilding index.", then I checked the debug, debug_to_file, and rebuilded again, but did not find any Error, every post is OK. It is some strange!!!

This time, I found the next page show some same posts with the home page. Maybe this is the root cause?

http://www.smithfox.com (home page show bellow posts)
?e=125
?e=124
?e=122
?e=121
?e=120

?e=117
?e=116
?e=115


http://www.smithfox.com/?o=1 (the next page show the 3 same posts :117,116,115, but offset is 0)

?e=117
?e=116
?e=115

?e=108
?e=106
?e=103
?e=102
?e=101
smithfox
 
Posts: 24
Joined: Fri Oct 22, 2010 12:51 am

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby hansfn » Tue Apr 05, 2011 7:01 am

There is no reason at all to discuss this until you have rebuilt your index. Read viewtopic.php?p=10799#p10799
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby smithfox » Wed Apr 06, 2011 12:53 am

Now, I replaced the jquery js, and then I clean cache and rebuild then index, Message Box show: "Finished! Generating index for 121 entries took 0.194 seconds".
But the problem still there.
smithfox
 
Posts: 24
Joined: Fri Oct 22, 2010 12:51 am

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby hansfn » Wed Apr 13, 2011 12:21 pm

Sorry about slow replies ...

OK, then we know the index is correct.

Are you setting the amount parameter for the subweblog or paging tag in your templates? (You shouldn't.) You should set the amount in the subweblog config in the weblog config.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: [bug in 2.2.5] entries page navigator miss some old pag

Postby smithfox » Thu Apr 14, 2011 1:15 am

hansfn,

I did not find the amount parameter in subweblog.
do you mean the following?

Untitled1.png
Untitled1.png (16.36 KiB) Viewed 9944 times


if not, could you tell me where I can set the amount parameter?

Thanks
-SmithFox
smithfox
 
Posts: 24
Joined: Fri Oct 22, 2010 12:51 am

Next

Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron