miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   
 

Chinese characters will be automatically truncated BUG

 
 
Page  Page 2 of 2:  « Previous  1  2

Author ng4
Partaker
#16 | Posted: 22 Apr 2017 20:21 | Edited by: ng4 
Paul

This is the program I put on the server, the same problem.
Demo:
http://tester.honorificabilitudinitatibus.services/index.php?action=vthread&forum=1&topic=1
Has been automatically truncated.
The environment is Nginx+Mysql5.3, using the basic miniBB package, the version is 3.2.2

Author Paul
Lead Developer
#17 | Posted: 25 Apr 2017 13:46 
Sorry for a late reply - I've entered your link today and noticed you have complete paragraphs of Chinese chars posted.
Did you solve the problem somehow?

Anyway, for the future... if such a problem appears, you need to determine the nature of it i.e. understand what kind of code is causing it. Because if it works on our server and doesn't work on yours, and we have almost the same configuration, it means the problem could be somewhere on your end.

In the case of your problem, you could debug it that way:

- edit bb_func_pthread.php
- look up for $postText
- put this code after this or that line following from top to bottom of the code:

echo $postText;
exit;

Then post something and watch after which function the $postText value will lose its original value.
I suppose this will happen after textFilter function, but I have no ideas what exactly in this function will cause the trouble, so you will need to debug this function as well (bb_func_txt.php).

Page  Page 2 of 2:  « Previous  1  2 
Specific miniBB Support Forums / Specific /
 Chinese characters will be automatically truncated BUG
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
 
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP