Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
test post - keep getting errors attempting to post
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
jhardin
n00b
n00b


Joined: 12 Oct 2005
Posts: 59

PostPosted: Sun Aug 22, 2021 12:31 am    Post subject: test post - keep getting errors attempting to post Reply with quote

This is just a test. I keep getting "error in posting" in Portage&Programming and I'm wondering if it's the post content...
Back to top
View user's profile Send private message
jhardin
n00b
n00b


Joined: 12 Oct 2005
Posts: 59

PostPosted: Sun Aug 22, 2021 12:36 am    Post subject: Reply with quote

...and this worked. :(

Can anybody suggest why particular content would cause a "error in posting" response? Or is there any way to determine more specifically what's causing the problem?
Back to top
View user's profile Send private message
jhardin
n00b
n00b


Joined: 12 Oct 2005
Posts: 59

PostPosted: Sun Aug 22, 2021 12:53 am    Post subject: Reply with quote

...okaaaay. I posted an empty message and then edited the content. That worked. ???
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Aug 22, 2021 5:27 am    Post subject: Reply with quote

Most likely it is this...

John R. Graham wrote:
We have seen a rash of errors of this type lately; we're not sure why. It is triggered by:
  1. A title that's close to the maximum allowed length that contains an ampersand ("&"), and
  2. A bug in the phpBB 2.x code that predicts the length of sanitized strings. The "&", you see, is converted to "&" for storage which, because of the bug, can overflow the database field that stores the title.
Alas, when this bug manifests, the post body is not even stored, so if you don't notice the posting error when it occurs (and it does report an error), then I'm afraid the post body is permanently lost. We have confirmed that the bug is fixed in the phpBB 3.x code we're working on.

The work-around, for now, is to shorten the title or else remove the ampersand. If you see the posting error, you can recover your text by simply hitting the <Back> button.

Sorry for the trouble.

- John

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
jhardin
n00b
n00b


Joined: 12 Oct 2005
Posts: 59

PostPosted: Sun Aug 22, 2021 6:02 pm    Post subject: Reply with quote

The subject was certainly hitting the length limit as I was trying to squeeze in as much as possible to be clear. But there was no ampersand in it.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sun Aug 22, 2021 6:51 pm    Post subject: Reply with quote

It's enough that there's any single character that needs escaping and the title is long enough.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
jhardin
n00b
n00b


Joined: 12 Oct 2005
Posts: 59

PostPosted: Sun Aug 22, 2021 7:33 pm    Post subject: Reply with quote

Quotes, maybe. OK, that makes sense.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum