Recent Topics

1 Dec 27, 2008 02:12    

My b2evolution Version: 2.4.5

I started to notice the problem in the previous version, 2.4.3. I thought the upgrade to 2.4.5 would resolve the problem, but it doesn't. Not sure the problem was there even earlier.

The problem is very similar to what discribed in this thread:

http://forums.b2evolution.net/viewtopic.php?t=13015

In my situation, when I click a category I get a page of correct entries. Then at the bottom of the page I get numbers of other pages for that category and link arrows too. However these links don't work - clicking them just gives me the same item as listed in the first page in this category list.

To make it clear, the difference is, the previous reported error is displaying all blogs in the second page and after. In my case, the second page and after still reports a correct category, but it repeats with what has been listed in the page 1 alrady.

I have also followed a link suggested by ¥åßßå for a solution to the following thread:

http://forums.b2evolution.net/viewtopic.php?t=13868

I have reviewed the inc/widgets/model/_widget.class.php file and it seems to be correct based on ¥åßßå's message.

2 Dec 27, 2008 02:30

You may view my website here,

http://blogs.vistaview.org/xiaoping/

The first page for a category list:

http://blogs.vistaview.org/xiaoping/guanjing/

The second page and third page URL should be:

http://blogs.vistaview.org/xiaoping/guanjing/?blog=4&cat=17&paged=2

http://blogs.vistaview.org/xiaoping/guanjing/?blog=4&cat=17&paged=3

But it always returns to:

http://blogs.vistaview.org/xiaoping/guanjing/

Could that be something to do with the rewrite setting in the .htaccess file?

Here is what I have for this blog:


RewriteCond %{REQUEST_URI} ^/(xiaoping)/?$
RewriteRule ^(xiaoping)/?$ /$1.php

RewriteCond %{REQUEST_URI} ^/(xiaoping)/(.+)$
RewriteRule ^(xiaoping)/(.+)$ /$1.php?$2

3 Dec 27, 2008 09:31

Try :


RewriteCond %{REQUEST_URI} ^/(xiaoping)/?$
RewriteRule ^(xiaoping)/?$ /$1.php [QSA, L]

RewriteCond %{REQUEST_URI} ^/(xiaoping)/(.+)$
RewriteRule ^(xiaoping)/(.+)$ /$1.php?$2 [QSA, L]

¥

4 Dec 27, 2008 19:31

Thanks ¥åßßå for looking into this.

I add the code to the .htaccess file and it failed to work. It may be conflicting with other codes. I would get a 500 error at any page once I deployed the code.

5 Dec 27, 2008 21:32

¥åßßå, I found the working solution based your recommendation:

RewriteCond %{REQUEST_URI} ^/(xiaoping)/?$
RewriteRule ^(xiaoping)/?$ /$1.php

RewriteCond %{REQUEST_URI} ^/(xiaoping)/(.+)$
RewriteRule ^(xiaoping)/(.+)$ /$1.php?$2 [QSA]

Thanks.


Form is loading...