Info
- 11 posts
- 4 voices
- Started 4 years ago by henry014
- Latest reply from mazdakam
- This topic is not resolved
The Chinese tags will be wrong
-
- Posted 4 years ago #
In bbPress vers. 0.8, the Chinese tag name's problem fixed. When I add a Chinese tag name, the tags was added success!
But when I click the Chinese tag link, there will be a error message in Firefox "Redirect method is not correct" (this is transfer from Chinese... so I'm not sure it's correct text, but it's the same meaning.)
Looks like it has some error so that make a unlimited loop...
-
- Posted 4 years ago #
And the problem is only for Chinese tags? Plain english tags with no special characters work okay?
-
- Posted 4 years ago #
yes, only in Chinese tags!
The English tags works great! -
- Posted 4 years ago #
This is a sample in my webhost.
http://www.wiiholic.com/bbpress/tags.php?tag=%e6%b8%ac%e8%a9%a6
-
- Posted 4 years ago #
I got a method to fix this problem.
I edit the config.php file, the line text is "$bb->mod_rewrite = false;".
I changed the value to true and the tag problem was fixed!I don't know why, but I use the "tags.php?tag=XXX" to get topics list will be wrong!
-
- Posted 4 years ago #
Hey Henry, unfortunately it isn't working for me. Going to your forum and clicking on the Chinese tab gets me an error page in FF but not in IE7:
The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies.No idea why!
-
- Posted 4 years ago #
Hi, same problem here in Japan (no wonder;-p)
The error is caused by a function
bb_repermalink()inbb-includes/functions.php, which redirects the request to the correct permalink. You will see what is happening by setting the debug flag in your config file and access the tag page which causes the errorconfig.php
$bb->debug = 1;Must be lacking
utf8_uri_encode()somewher. I tried adding this right before the evaluation part at the bottom of the function and it seems to be working so far.$domain = bb_get_option('domain'); $domain = preg_replace('/^https?/', '', $domain); $check = preg_replace( '|^.*' . trim($domain, ' /' ) . '|', '', $permalink, 1 ); $check = utf8_uri_encode($check); // add this lineWell, I don't really understand the structure of the bbPress source code so the solution here is something very opportunistic and may cause a side-effect.
-
- Posted 4 years ago #
Thanks for posting a solution!
What does
bb->debugdo? What was the error you got? -
- Posted 4 years ago #
Hi, Felix.
I also got Redirect Loop error. bbPress keeps redirecting me to the same tag page as it compares decoded actual uri string and non-decoded should-be string.
$bb->debug = 1will show the actual- and should-be- request URLs for the tag page, instead of redirecting former to the latter.
This trouble is issued as a difect at http://trac.bbpress.org/ticket/585 , which I may have mixed up. -
- Posted 4 years ago #
Hi we have the same problem with Pesian (farsi) adn arabic tags!
-
- Posted 4 years ago #
any idea!?
-
You must log in to post.