[wp-testers] WP 3.0x Pagination problem

Cesar Aracena aracenameister at gmail.com
Fri May 7 17:54:39 UTC 2010


Yes, it handles the loop in a strange way (in all their themes) but it
worked in WP 2.9x without any problems. I'm now experiencing the same
problem stated in my original post in my local machine so it has nothing to
do with the PHP version.

What I just did to test everything is:

- Fresh install WP 2.9.2
- Install Whootheme's "Healdlines" theme
- Create 1 multipage article from scratch and pagination works
- Install Multi-page Toolkit Plugin and pagination works

Then:

- Fresh install WP 3.0 night build
- Install same theme
- Create 1 multipage article from scratch and pagination doesn't work
- Install Multi-page Toolkit Plugin and pagination still doesn't work

In conclusion: Same steps from fresh install on both versions - old works
and new doesn't.

Everything indicates something has changed in the WP core in the way it
treats pagination and I can't find it... Is there a "developer's changelog"
of some sort I haven't found? I'm pretty sure that it has to be something
very easy to fix.

César Aracena
Neuquén - Argentina


On Fri, May 7, 2010 at 14:37, Philip M. Hofer (Frumph) <philip at frumph.net>wrote:

> If you can check inside the index.php of the wootheme and look how they do
> the loop, whether its the provided one on the normal page load or they
> remake it, that would be great.  I know from experience that remade loops
> will always have a problem with pagination if not done right.  For example
> the *only* way remade loops will work with pagination *if* you have multiple
> loops on the same page is to make the non-main loops use a new WP_Query so
> if wootheme is doing multiple loops they probably should be save/restoring
> the original $wp_query/$post around any alternative loops it does.   I've
> seen this on a few multimedia embedded themes that have more then one loop
> generated once too often.
>
> Have you tried with a different theme and all plugins turned off?
>
> - Phil
>
>
>
> ----- Original Message ----- From: "Cesar Aracena" <
> aracenameister at gmail.com>
> To: <wp-testers at lists.automattic.com>
> Sent: Friday, May 07, 2010 10:26 AM
> Subject: Re: [wp-testers] WP 3.0x Pagination problem
>
>
>
> Hi Philip.
>
> Nothing special. Fresh install add "Spectrum" theme from Whootheme and
> error
> occurs. Also, I can't make it work again even with the default theme even
> if
> I uninstall the Spectrum theme.
>
> On a side note, I just tested it on another server using the same WAMP
> configuration (only changes are versions) and it works well what makes me
> think that is not a problem of WP but also not a problem of my server... I
> think there can be some sort of "unstabilty" in the WP pagination code that
> makes it work only in perfect server conditions which is not the case of
> many hosting services.
>
> Only differences of both servers I used is that one (where pagination
> doesn't work propperly) is in another computer on my LAN running PHP 5.3.1
> and the second server (where it works) is on my machine running PHP 5.3.0.
> Could it be a problem of WP + PHP 5.3.1?
>
> Thanks again,
>
> César Aracena
> Neuquén - Argentina
>
>
> On Fri, May 7, 2010 at 14:02, Philip M. Hofer (Frumph) <philip at frumph.net
> >wrote:
>
>  Works for me with that exact same custom permalink structure at
>> frumph.net(which is rare) I had to figure out the right way to do the
>> index page loop
>> query to have multiple loops on the page.   changing the index showposts
>> really screws things up cause WP isn't written properly for its usage with
>> that whole pre_get_posts thing being in the init
>>
>> What theme are you using? and are you doing any special queries with it ?
>>
>> ----- Original Message ----- From: "Cesar Aracena" <
>> aracenameister at gmail.com>
>> To: <wp-testers at lists.automattic.com>
>> Sent: Friday, May 07, 2010 9:25 AM
>> Subject: [wp-testers] WP 3.0x Pagination problem
>>
>>
>>
>> Hi everybody,
>>
>> I just subscribed to the list. Glad to be here.
>>
>> I'm experiencing a problem with pagination since beta1. It has the same
>> problem in beta2 and now it's partially solved in the nigh build. Simply
>> put, pagination don't work. I'm using pretty permalinks
>> (/%category%/%postname%/) and full text in feeds (in case it matters). In
>> both beta 1 and 2 it simply doesn't work. Links show /2/ at the end (for
>> page 2) like before but once clicked, the browser loads the same page 1
>> without the /2/ at the end.
>>
>> Example of post:
>> http://localhost/gtx03/reviews/hardware/review-evga-gtx-480-hc-ftw/<
>> http://caracena.com/gtx03/reviews/hardware/review-evga-gtx-480-hc-ftw/>
>> Example of second page:
>> http://localhost/gtx03/reviews/hardware/review-evga-gtx-480-hc-ftw/<
>> http://caracena.com/gtx03/reviews/hardware/review-evga-gtx-480-hc-ftw/>
>>
>> 2/
>>
>> Once the link to the second page is clicked, I'm taken to the first page
>> again (first link).
>>
>> In the night build I was able to pull the 2nd page using the same link
>> structure but only with the default Twenty Ten theme. Once I change the
>> theme (to a Wootheme or any other), I add the <?php wp_link_pages( array(
>> 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ),
>> 'after'
>> => '</div>' ) ); ?> (exactly like the Twenty Ten theme) pagination code
>> but
>> WP keeps getting the 1st page for me.
>>
>> I think this was important to tell because I haven't read any follow ups
>> on
>> this matter. Sorry if it's being discussed and I missed it.
>>
>> Cheers,
>>
>> César Aracena
>> Neuquén - Argentina
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>>  _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list