CH Runners

Forum News => Forum Status and Maintenance => Topic started by: GeekMaster on May 05, 2021, 02:42:57 PM

Title: Error Reports
Post by: GeekMaster on May 05, 2021, 02:42:57 PM
PLEASE INCLUDE COMPLETE ERROR MESSAGES
Title: Re: Error Reports
Post by: roadstrailstris on May 06, 2021, 11:27:08 AM
I can't post much of anything anymore. I keep trying to post to the 1st Amendment thread, stripping out any quotes, apostrophe's, italics. Nothing works.
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 12:00:30 PM
I can't post much of anything anymore. I keep trying to post to the 1st Amendment thread, stripping out any quotes, apostrophe's, italics. Nothing works.

PC. MAC, iphone or Android phone?
Which browser?
Title: Re: Error Reports
Post by: nadra's babydaddy on May 06, 2021, 02:37:32 PM
It seems to only consistently happen when I try to post in MoS threads, which is probably for the best  :d

Both PC and iphone.   Just seems to be a quirky glitch since I can usually post in all the other threads with no trouble when it happens.   
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 03:21:19 PM
PLEASE INCLUDE COMPLETE ERROR MESSAGES
Title: Re: Error Reports
Post by: lamerun on May 06, 2021, 03:43:55 PM
Database error.
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 03:48:07 PM
Is that the complete error message?
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 03:53:34 PM
Please understand that vague errors like "database error" is not helpful.  If that is the complete message that you get then at lease post the time that you got it.
Title: Re: Error Reports
Post by: Arrojo on May 06, 2021, 03:53:55 PM
Whenever I try something that has the degree symbol I get this error message:

“Please try again. If you come back to this error screen, report the error to an administrator”

So now I just spell out the word degrees as in 70 degrees.
Title: Re: Error Reports
Post by: Arrojo on May 06, 2021, 03:56:28 PM
Whenever I try something that has the degree symbol I get this error message:

“Please try again. If you come back to this error screen, report the error to an administrator”

So now I just spell out the word degrees as in 70 degrees.

And then I couldn’t even post that message above in your thread. I originally was able to post it in the error reply thread that Eco Ellen started. But when I copied that message and tried to paste it into a new reply to this thread I got the exact same error message as above.

Perhaps it has something to do with copy/paste using safari?

Test: 70°

This works fine in Tapatalk
Title: Re: Error Reports
Post by: Chris the Wheeler on May 06, 2021, 04:12:14 PM
Okay,  Now I'm getting an error when  trying to report my error in the ERROR REPORTS thread

Sorry to start another error thread put it here.  But I couldn't post in the Error Reports thread. 



I've been trying to post in a thread that I started.  I keep getting the same error.  2 days now.


Here is what I'm posting in the Time Travel thread that I started:   

jamers quote  But my answer is boring.  Id like to see my grandparents as children

I understand that  Not so boring I'd probably go back and get to meet my grandfather  He was a North Atlantic Fisherman  Went over the side in bad weather  They never recovered him   My grandmother  always said I had the same sense of humor as him   I'd love to have a pint of two and crack each other up

Here's what I get

Please try again. If you come back to this error screen, report the error to an administrator.
Back
Title: Re: Error Reports
Post by: Chris the Wheeler on May 06, 2021, 04:13:13 PM
I had to strip out all the punctuation to get my report to post
Title: Re: Error Reports
Post by: nadra's babydaddy on May 06, 2021, 05:02:02 PM
(https://scontent-lax3-1.xx.fbcdn.net/v/t1.6435-9/182463235_10100531430078398_3624448451143592896_n.jpg?_nc_cat=108&ccb=1-3&_nc_sid=8bfeb9&_nc_ohc=Du3acibZ_L0AX_xzqw8&_nc_ht=scontent-lax3-1.xx&oh=e81d600dcae67448b2fa081babc88fd3&oe=60BB3450)

quack quack
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 05:02:18 PM

And then I couldn't even post that message above in your thread. I originally was able to post it in the error reply thread that Eco Ellen started. But when I copied that message and tried to paste it into a new reply to this thread I got the exact same error message as above.

Perhaps it has something to do with copy/paste using safari?

Test: 70d

This works fine in Tapatalk

How about if the degree symbol is converted to a lower case 'd'?
Title: Re: Error Reports
Post by: Arrojo on May 06, 2021, 06:50:12 PM
How about if the degree symbol is converted to a lower case 'd'?

Yes you can just spell it out. 70 degrees.
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 06:59:15 PM
Yes you can just spell it out. 70 degrees.

Of course.  But if someone forgets, the d will replace it.
Title: Re: Error Reports
Post by: radial on May 06, 2021, 08:49:54 PM
It's not just apostrophes and degree symbols.  There's a whole host of other characters that trigger the database error condition.  Can't help but think there's some character set based misconfiguration at the root of this.  Fix that root cause, and all of these glitches will disappear. 
Title: Re: Error Reports
Post by: GeekMaster on May 06, 2021, 08:53:13 PM
It's not just apostrophes and degree symbols.  There's a whole host of other characters that trigger the database error condition.  Can't help but think there's some character set based misconfiguration at the root of this.  Fix that root cause, and all of these glitches will disappear.
I have read descriptions of how to attempt such a fix and it hurt my head.  Not something that I want to do.

Sent from my SM-G975U using Tapatalk

Title: Re: Error Reports
Post by: radial on May 06, 2021, 09:15:26 PM
I have read descriptions of how to attempt such a fix and it hurt my head.  Not something that I want to do.

My head too!  I used to know a thing or two about web server administration, scripting, and backend database management, but my fevered brain moved on to other things and I'm way out of that loop now.  trotter seems to know a thing or two about this stuff and is apparently on summer break.  Seems like a nice pro bono opportunity.  Maybe you should read him in and see if he can figure out a more elegant solution. 
Title: Re: Error Reports
Post by: Arrojo on May 07, 2021, 09:25:13 AM
I attempted to post this in the am I an a$$hole thread:

You’re the mom here. Mother’s Day is for to do as you see fit. Scout is the a$$hole.

Got the same old message:

Please try again. If you come back to this error screen, report the error to an administrator
Title: Re: Error Reports
Post by: Arrojo on May 07, 2021, 09:27:16 AM
I was however just able to post it using Tapatalk. That appears to be the workaround.
Title: Re: Error Reports
Post by: Arrojo on May 07, 2021, 09:32:15 AM
Same thing just happened posting in another thread. There are no weird symbols or anything like that. It’s just the standard same error message that is resolved by using Tapatalk
Title: Re: Error Reports
Post by: GeekMaster on May 07, 2021, 11:37:40 AM
I attempted to post this in the am I an a$$hole thread:

You're the mom here. Mother's Day is for to do as you see fit. Scout is the a$$hole.

Got the same old message:

Please try again. If you come back to this error screen, report the error to an administrator

The problem is that the error message tells us nothing about what went wrong and there are no entries in the forum's error log.

If you could send the exact failing post that you tried to webmaster@chrunners.net I will take a look at it.
Title: Re: Error Reports
Post by: Trotter on May 07, 2021, 03:44:56 PM
My head too!  I used to know a thing or two about web server administration, scripting, and backend database management, but my fevered brain moved on to other things and I'm way out of that loop now.  trotter seems to know a thing or two about this stuff and is apparently on summer break.  Seems like a nice pro bono opportunity.  Maybe you should read him in and see if he can figure out a more elegant solution. 
Mike, I'm not a SMF pro, but I do dev work in PHP and open-source SQL databases, so I might be able to help with the charset mismatch thing. But I totally get it if you'd rather not have a hacky dude poking around, especially when you've looked into this way more and with a more knowing eye than I have & have gotten things pretty settled with the string replaces. But my messages and email are open.
Title: Re: Error Reports
Post by: GeekMaster on May 07, 2021, 05:29:56 PM
I appreciate it Trotter.

What I am currently doing is for every known character problem I am having the code change it to a substitute that does not throw an error.

I just discovered how to do it for the thread title.  In fact, I believe that the degree symbol issue is solved.
Title: Re: Error Reports
Post by: Ergonomic Mouse on May 07, 2021, 08:34:51 PM
(https://scontent-lax3-1.xx.fbcdn.net/v/t1.6435-9/182463235_10100531430078398_3624448451143592896_n.jpg?_nc_cat=108&ccb=1-3&_nc_sid=8bfeb9&_nc_ohc=Du3acibZ_L0AX_xzqw8&_nc_ht=scontent-lax3-1.xx&oh=e81d600dcae67448b2fa081babc88fd3&oe=60BB3450)

quack quack
same for me
Title: Re: Error Reports
Post by: GeekMaster on May 08, 2021, 06:47:02 AM
Most of the posting errors seem to be due to characters that cannot be handled by the database.

My task now is to discover the actual characters and intercept them before the post is inserted into the DB.  The latest one that I found thanks to Arrojo is a type of right quotation with the decimal code of 8217.  It should now be converted to a standard single quote.
Title: Re: Error Reports
Post by: Trotter on May 08, 2021, 10:54:21 AM
Mike, the common thread here is that error happens when someone tries to post something involving a UTF-8 character that doesn't overlap with the ISO-8859-1 set. And it looks like it gets resolved when you swap in a ISO-8859-1 character.

But this doesn't mean the database can't handle UTF-8. The fact that folks can bypass the troubles by using Tapatalk confirms this. So the problem's happening because the SMF encoding isn't harmonizing with the database encoding.

Check the database encoding charset. According to the site's HTML and JS files, the site is telling every user's browser to expect ISO-8859-1 characters. That's SMF's default, for old school legacy reasons. But if you're using an updated MySQL database, the charset might well be set to UTF-8 by default. If there's a mismatch, that might be the root of the problem. The system is behaving like there's some funky double encoding going on, which is messing up input escaping & causing the database to reject inserts.

If there's a charset mismatch, I would think that you can get well down the path to repairing it by converting the charset to UTF-8, which the SMF folks discuss here: https://wiki.simplemachines.org/smf/UTF-8_Readme. If the DB is already using UTF-8, you wouldn't need or want to convert it again.

Title: Re: Error Reports
Post by: GeekMaster on May 08, 2021, 11:58:59 AM
Mike, the common thread here is that error happens when someone tries to post something involving a UTF-8 character that doesn't overlap with the ISO-8859-1 set. And it looks like it gets resolved when you swap in a ISO-8859-1 character.

But this doesn't mean the database can't handle UTF-8. The fact that folks can bypass the troubles by using Tapatalk confirms this. So the problem's happening because the SMF encoding isn't harmonizing with the database encoding.

Check the database encoding charset. According to the site's HTML and JS files, the site is telling every user's browser to expect ISO-8859-1 characters. That's SMF's default, for old school legacy reasons. But if you're using an updated MySQL database, the charset might well be set to UTF-8 by default. If there's a mismatch, that might be the root of the problem. The system is behaving like there's some funky double encoding going on, which is messing up input escaping & causing the database to reject inserts.

If there's a charset mismatch, I would think that you can get well down the path to repairing it by converting the charset to UTF-8, which the SMF folks discuss here: https://wiki.simplemachines.org/smf/UTF-8_Readme (https://wiki.simplemachines.org/smf/UTF-8_Readme). If the DB is already using UTF-8, you wouldn't need or want to convert it again.



Not happening.
Title: Re: Error Reports
Post by: nadra's babydaddy on May 10, 2021, 10:32:43 AM
Got the same one I screenshotted above while attempting to quote a post.  Removed the quote and it posted fine. 
Title: Re: Error Reports
Post by: rocketgirl on May 10, 2021, 09:25:47 PM
Not an error report, but why am I getting subscribed to topics?  I'm not actively choosing this and I'm getting a bunch of notification emails for "topics I've subscribed to".
Title: Re: Error Reports
Post by: radial on May 10, 2021, 09:28:41 PM
I can't see my sent messages.  Just get the database error screen when I try.
Title: Re: Error Reports
Post by: GeekMaster on May 10, 2021, 10:39:40 PM
I can't see my sent messages.  Just get the database error screen when I try.

Try it again.
Title: Re: Error Reports
Post by: radial on May 10, 2021, 10:42:32 PM
Try it again.

Works now, thank you!
Title: Re: Error Reports
Post by: GeekMaster on May 10, 2021, 10:47:31 PM
Not an error report, but why am I getting subscribed to topics?  I'm not actively choosing this and I'm getting a bunch of notification emails for "topics I've subscribed to".
If you look at your Profile->Notifications you will see 23 pages of topics to which you are subscribed.  You can un-notify individually or a page at a time.
Title: Re: Error Reports
Post by: GeekMaster on May 10, 2021, 10:51:21 PM
Works now, thank you!

The forum Error Log had multiple entries with your name on them like this:

Quote
Database Error: Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'chrunners.pm.id_pm' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT MAX(pm.id_pm) AS id_pm, pm.id_pm_head
FROM smf_personal_messages AS pm
WHERE pm.id_member_from = 1782
AND pm.deleted_by_sender = 0
GROUP BY pm.id_pm_head
ORDER BY pm.id_pm DESC
LIMIT 0, 20

I changed this setting: sql_mode=only_full_group_by.  But why you got the error and I don't is a mystery.
Title: Re: Error Reports
Post by: nadra's babydaddy on May 16, 2021, 01:48:44 PM
There's something quirky with the members list.  It looks like a good chunk of it was copied twice. And when you try to search for members by letter, it pulls up a different part of the list (i.e. searching for usernames beginning with K pulls up Y, Z, and then back to A).  They're all in there in one place or another though.
Title: Re: Error Reports
Post by: GeekMaster on May 16, 2021, 03:19:47 PM
There's something quirky with the members list.  It looks like a good chunk of it was copied twice. And when you try to search for members by letter, it pulls up a different part of the list (i.e. searching for usernames beginning with K pulls up Y, Z, and then back to A).  They're all in there in one place or another though.

I am not seeing that behavior.  There are 39 pages of members and I do not see any dupes.  If I search by a single letter all members with that letter in their name are displayed.
Title: Re: Error Reports
Post by: Trotter on May 18, 2021, 05:36:13 PM
Mike, there are no error messages about this, but a bunch of posts are getting cut off. You can just look at recent posts in the vaccination thread and some others to see examples of this. I've had issues with it for over a week, and it looks like others have as well.

The common denominator is that people use a character outside the ISO-8859-1 set (and this often seems to be happening when people quote a user who posted something from Tapatalk or paste something from an outside source), and then the rest of what they wrote gets escaped, so the post only contains their text up to the character that caused the glitch.

For me, this has sometimes happened even when I just use a comma in a browser (whether Chrome or iOS Safari). But not always. This post has commas and, if you're reading it, it still worked.

So it looks like, rather than replacing the non-ISO-8859-1 character, the code is just escaping the post.

Some examples of posts where this happened today. There are a bunch of other examples as well; all have the same characteristics:

http://chrunners.net/forum/index.php?topic=127337.msg3434400#msg3434400 (http://chrunners.net/forum/index.php?topic=127337.msg3434400#msg3434400) (the character that caused the cutoff was an angled quotation mark in the quoted post, which came from Tapatalk; scroll down in the thread to see it happen when MM tries to quote the same post)

http://chrunners.net/forum/index.php?topic=127337.msg3434526#msg3434526 (http://chrunners.net/forum/index.php?topic=127337.msg3434526#msg3434526) (post cuts off when I used a comma)

http://chrunners.net/forum/index.php?topic=127523.msg3434277#msg3434277 (http://chrunners.net/forum/index.php?topic=127523.msg3434277#msg3434277) (cutoff happened when poster tried to paste an article)
Title: Re: Error Reports
Post by: tazawa on May 18, 2021, 05:55:24 PM
I was just going to post what Trotter posted without the knowledge or insight. Just that I can't see things people are cutting and pasting (including my own once it's posted).
Title: Re: Error Reports
Post by: Honey Badger on May 19, 2021, 06:45:38 PM
Your session timed out while posting. Please try to resubmit your post.


I first wrote this error message in quotes and it ended up being a blank post.
I was trying to post in the How's your mood? thread.
I'd refreshed prior. I exited the app and retried multiple times


My mood is really fucking shitty BTW. That was my response. 😡
Title: Re: Error Reports
Post by: GeekMaster on May 19, 2021, 06:50:44 PM
"Your session timed out while posting. Please try to resubmit your post."


I don't see any messages about this in the Forum error log. If it is a one-time glitch the problem could be anywhere from your browser to the internet to the forum server.


Please let me know as soon as possible if it happens again.
Title: Re: Error Reports
Post by: Honey Badger on May 19, 2021, 06:52:02 PM
After posting the above I tried again and it took
Title: Re: Error Reports
Post by: Honey Badger on May 19, 2021, 06:59:19 PM
PC. MAC, iphone or Android phone?
Which browser?
iphone
Safari
Title: Re: Error Reports
Post by: rocketgirl on May 20, 2021, 02:14:00 PM
I am unable to PM some members except from the search members screen where I click on the profile and then click send message.

If I type their username in and hit "enter" from the create message in the Personal Message section, I get this message:

The following error or errors occurred while posting this message:
One or more 'to'-recipients could not be found.

Some people will populate, like Suesquatch.  Some give me the error message, like Jamers or Batty.


ETA this is from Chrome browser on laptop, not TapaTalk.
Title: Re: Error Reports
Post by: Honey Badger on May 22, 2021, 07:50:31 AM
I'm getting the same timeout error as above again.
I'm on my iPhone using safari
Title: Re: Error Reports
Post by: Eco Ellen on June 07, 2021, 06:04:47 AM
I've been having consistent issues with quotation marks. I post from iPhone via safari. When I use quotation marks everything after the quotation mark disappears. So if I start a post with Quotes then the post shows up empty. I've seen it happen to other people as well.
Title: Re: Error Reports
Post by: Eco Ellen on June 08, 2021, 06:53:30 AM
Also just happened so  try h single quotation mark/apostrophe?
Title: Re: Error Reports
Post by: GeekMaster on June 08, 2021, 08:41:38 AM
Stop using safari? Use different quotation marks. Don't use quotation marks?

I don't think that there is anything else that I can do about this.
Title: Re: Error Reports
Post by: Eco Ellen on June 08, 2021, 02:16:38 PM
Ok. I just thought you should know. (It is not just happening to me, I have noticed.)

Thanks for everything you do!

E
Title: Re: Error Reports
Post by: rocketgirl on June 15, 2021, 06:24:53 PM
I am unable to PM some members except from the search members screen where I click on the profile and then click send message.

If I type their username in and hit "enter" from the create message in the Personal Message section, I get this message:

The following error or errors occurred while posting this message:
One or more 'to'-recipients could not be found.

Some people will populate, like Suesquatch.  Some give me the error message, like Jamers or Batty.

ETA this is from Chrome browser on laptop, not TapaTalk.

Fionn is having the same issue.  Also I tried Tapatalk and the same people I can't populate in Chrome, I can't populate in TapaTalk either.  (I don't get an error in TapaTalk; it just won't send, or if it's a group, it won't send to everyone). 
My theory is that it's people who have changed their names (i.e. Jamers) and those who have a multiple word username (i.e. Mom of Scooby).
Title: Re: Error Reports
Post by: GeekMaster on June 15, 2021, 11:27:59 PM
I'm finding that typing the entire multi-word name works. As for other instances like Jamers, the user name and display name are different. Using the username "jamers86" works.

This is weird and definitely calls for further research.
Title: Re: Error Reports
Post by: Trotter on July 23, 2021, 11:43:28 PM
Test §§§§§