BMWSportTouring BMWST DB
Previous Thread
Next Thread
Print Thread
Page 3 of 3 1 2 3
#995550 - 08/28/17 12:08 AM Re: Text disappearing? [Re: chrisolson]  
Joined: Feb 2003
Posts: 1,790
chrisolson Offline
glue
chrisolson  Offline
glue
Member

Joined: Feb 2003
Posts: 1,790
tucson arizona
first line of post
second line of post

Same behavior using full reply. First line disappears in preview but is there when submitted.


Chris
IBA 18417
85 VF500F
95 DR 350
99 R1100S
03 FZ1
#995623 - 08/29/17 01:58 AM Re: Text disappearing? [Re: lkraus]  
Joined: Jul 2000
Posts: 15,534
EffBee Offline
Administrator
EffBee  Offline
Administrator
Member

Joined: Jul 2000
Posts: 15,534
SoCal, USA

Originally Posted By: lkraus
I hope I'm not wasting anyone's time, since my only experience with forum software is as a user, but...

I browsed through the user forum for the UBBThread software and found this thread: Bug? Disappearing posts. Caveat: It's several years old, and deals with new posts disappearing under different circumstances, but with the same result - a blank post. I could not follow most of the discussion.

The interesting portion was a mention that in these cases, the text of a blank post could be seen by pressing the "Quick Quote" button. I checked a few of the blank posts linked earlier in this thread and found that I could indeed see the text. So, maybe the problem is related even though the exact conditions differ?

The final outcome was that the problem was caused by software conflicts between UBB prior to ver 7.5.8 and a host ISP running PHP 5.4 or newer.

And we did just change servers...

FWIW, I used Quick Quote to see Kinsley's post In the FART thread. Copied the quote, and pasted into Notepad. That showed me that the word "Info" had some strange characters around it. Left and right quotes from another app, I think. Changed those to standard ASCII, pasted into a new reply, and everything posted OK.


Thank you, Larry. This is also what we believe. Admin Mike Greiff came up with the following and it has been confirmed by IT guru Matt Banks:

So, I'm quite certain it has to do with the new server. I don't believe in coincidences (although I've seen plenty).

The new server is running on PHP 5.4 which paired with our version of UBB 7.5.6 has been buggy. There are several threads over on the UBB forum regarding this and they are a few years old. I would be willing to bet that our previous server was running a release of PHP 5.3.

UBB 7.5.7 was also buggy with PHP 5.4. But, everything equal or newer than 7.5.8 has been optimized for PHP 5.4.

There are really only two fixes. Downgrade the server to PHP 5.3 (which I'm quite certain the host will not do) OR upgrade the UBB software to 7.5.8 or newer.


We're working to clear up an old security issue involving a pre-existing username and password with UBB Threads. We changed them all when the ownership changed both with UBB Threads as well as with the hosting company, but one of the old ones slipped through and we've never needed to go to that screen until now. When this is corrected, we will be able to upgrade to the latest UBB software. Not only do we believe it will correct the missing text issue, but there are numerous new features on V7.5.8 that everyone will enjoy. I'm excited, but like everyone else, I need to be patient until we get the security.password issue resolved.


Cary, Gleno, Rodger, Paul,
Godspeed, my brothers.
We will never forget you.


Teach your children about taxes. Eat 40% of their ice cream cone.

Do you have a MotoReflective Reflective Kit (Link) for the rear of your BMW?
#995642 - 08/29/17 12:31 PM Re: Text disappearing? [Re: EffBee]  
Joined: May 2011
Posts: 1,232
lkraus Offline
Member
lkraus  Offline
Member

Joined: May 2011
Posts: 1,232
Central Ohio
yes

I'm glad the cause has been found. The server transition was suspiciously smooth. I guess it was just too good to be true, though this is a minor glitch that can be worked around until the upgrade.


Larry
2006 R1200RT
#995709 - 08/30/17 12:08 AM Re: Text disappearing? [Re: lkraus]  
Joined: Sep 2011
Posts: 348
mnTwin Offline
Member
mnTwin  Offline
Member

Joined: Sep 2011
Posts: 348
Twin Cities, MN
Earlier today, D.R. made some posts in the Oilheads forum in which the text was missing. I tried a couple of things without success.

<geek>
When I got it to display correctly, I made a misstatement about editing out high ascii characters. They're not ascii. The em-dash is 0x97 and the apostrophe is 0x92. Regular ascii would be less than 0x80.

Those aren't high (or extended) ascii either. They appear to be CP-1252, or Windows 1252 characters.

How did I find that out?

I did a quick quote of one of D.R.'s posts and copied the text, then pasted it into Notepad. Nothing looked funny there.

Next, I pasted it into Notepad++, a programmer's editor. Then looked up a regexp (regular expression) to search for non-ascii characters.

Code:
[^\x00-\x7F]+


That searches for hexadecimal values that are greater than 0x7F. (Well really that aren't in the range of 0x00 to 0x7F.)

That search highlighted all of the apostrophes and the em-dash character. I replaced those in D.R.'s text, then tried to post that...

Which still didn't work. :-( So I tried again, but added a blank line at the beginning, which did work.

This evening, I pasted the text into a hex editor (HxD), where I could see the hex values for each character making it easy to identify those two characters.
</geek>

#995720 - 08/30/17 05:07 AM Re: Text disappearing? [Re: mnTwin]  
Joined: Sep 2011
Posts: 867
TheOtherLee Offline
Member
TheOtherLee  Offline
Member

Joined: Sep 2011
Posts: 867
Wilsonville, Oregon, USA
Thanks for the explanation, mnTwin. That regular expression looks like a bit of sorcery. stir

Last edited by TheOtherLee; 08/30/17 05:09 AM.

Channeling farfegnugen since 2011.
#995856 - 09/01/17 01:11 AM Re: Text disappearing? [Re: lkraus]  
Joined: Sep 2011
Posts: 348
mnTwin Offline
Member
mnTwin  Offline
Member

Joined: Sep 2011
Posts: 348
Twin Cities, MN
I've been thinking about this a bit more today.

If copying and pasting text from another application (like a browser, or Word), or from a non-Windows system (tablet, phone, Mac), it will be common for alternate character sets to be included.

So a simpler workaround may be to just copy and paste, and then in the post composition box, replace the punctuation and special characters. When editing within the post window, the character set will be correct for this forum environment.

I was trying to confirm if this would work this morning by trying to fix a post with blank text--but the original post was deleted before I finished, so I couldn't post my quick quote reply.

#995945 - 09/02/17 12:41 AM Re: Text disappearing? [Re: TheOtherLee]  
Joined: Nov 2003
Posts: 1,556
Green RT Offline
Member
Green RT  Offline
Member

Joined: Nov 2003
Posts: 1,556
Guadalajara, México
Originally Posted By: TheOtherLee
Thanks for the explanation, mnTwin. That regular expression looks like a bit of sorcery. stir


[^\x00-\x7F]+

Regular expressions always look like sorcery. The minus sign means a range from x00 to x7F. The x means use the hexdecimal representation of the characters. x00 to x7F are all the characters that can be represented with 1 byte, 8 bits, really 7 bits which gives you 128 characters, all of the standard ones, upper and lower case, plus numbers and some punctuation. The caret means find anything not in that range. The brackets mean find one character that matches the expression inside. And the + means find one or more characters matching the expression inside the brackets.

Edit: And the backslashes mean interpret the x as a special symbol, not just look for an ordinary x.

Last edited by Green RT; 09/02/17 12:43 AM.

Will

2015 R1200R Cordoba Blue (current)
1999 R1100RT Tundra Green
1987 R100RT Grey
1970 R60/5 Black w/white pin stripes
196? Honda 305 Super Hawk
195? Sears Allstate 50 cc Moped
#997326 - 09/19/17 08:53 PM Re: Text disappearing? [Re: lkraus]  
Joined: Dec 2008
Posts: 1,650
workin' them angels Offline
Member
workin' them angels  Offline
Member

Joined: Dec 2008
Posts: 1,650
Indianapolis
I also had this problem - and tried cleansing the text by pasting to a txt doc. Didn't work. I ended up just re-entering it "the Old Fashioned Way" rofl


Dave
06 R12RT

The point of the journey is not to arrive...
#998050 - 09/30/17 12:11 AM Re: Text disappearing? [Re: workin' them angels]  
Joined: Sep 2011
Posts: 867
TheOtherLee Offline
Member
TheOtherLee  Offline
Member

Joined: Sep 2011
Posts: 867
Wilsonville, Oregon, USA
Test...

€€€

Hooray for UBB.threadsâ„¢ PHP Forum Software 7.6.0 !!!

Attached Files
Red BMW K1600 GT.jpg (33 downloads)
Last edited by TheOtherLee; 09/30/17 12:30 AM.

Channeling farfegnugen since 2011.
Page 3 of 3 1 2 3

Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.013s Queries: 16 (0.003s) Memory: 2.7966 MB (Peak: 2.9793 MB) Zlib enabled. Server Time: 2017-11-21 17:32:34 UTC