Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Site News : Forum upgrade
Page 12 of 15 | |||||
Author | Message | ||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6089 |
This is the post I had problems quoting https://www.thebackshed.com/forum/ViewTopic.php?TID=13305&P=2#162046 Others mention problems here https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=13312#162043 I use HxD for viewing hex data. I have copied a few times but have been unable to find any suspect characters. Jim VK7JH MMedit MMBasic Help |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Thanks Looking at mclout999 posts, I see its full of those double spaces at the end of every sentence. I might try replace a few pest >127 characters before I test for other >127 characters. Going over the java forums I see its a common thread, other developers trying to block stuff over 127. Apparently 160 is a major pest. Updated the code, see how that goes. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
test OK, I think this is working for non-32 space character. Edited 2021-01-04 11:16 by Gizmo The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Are you aware that code now has to be in capitals only and won't work if lower case is used? ie [code] [quote] etc won't work but in capitals it will? This breaks older posts formatting properly |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
I've not made any change to the forums tags. Its always been uppercase as far as I can remember. Can you give me a link to a old post that no longer works? Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
https://www.thebackshed.com/forum/ViewTopic.php?TID=11088&PID=130357#130357 That used to work because anytime I saw it not working I correct it and I definitely would have corrected that Maybe I only notice because I do the tags manually instead of using the buttons This is the same https://www.thebackshed.com/forum/ViewTopic.php?TID=10302&PID=116575#116575 Edited 2021-01-09 21:00 by lew247 |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Looks like those posts were made on the old forum code, and that old code may have accepted the tags in lower case. The new forum code only accepts upper case, as this was the format used in the old code when a user clicked the button to add a quote, code, etc I guess this is a bit like the unicode emoji problem, it only causes problems when users dont stick with the forums standard set of tags and emojis. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
RetroJoe Senior Member Joined: 06/08/2020 Location: CanadaPosts: 290 |
Also having great difficulty posting - behavior is consistent in both Chrome and Safari on my iPad, and Chrome on Windows 10. The dialog that displays is as follows: As far as I can tell, there are no special characters in my text, and I have copied it into a few online "rogue character detectors" and it came back clean. FYI, this post went up clean - 99% of my activity on the TBS is in the "Microcontroller" forum Edited 2021-01-21 06:46 by RetroJoe Enjoy Every Sandwich / Joe P. |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1611 |
A similar problem for me was caused by 'curly quotes'. Bill Keep safe. Live long and prosper. |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
The code looks for any character over 127 ascii. Finding a balance between a forum where users can post code, and a forum that wont let someone post code that breaks the forum, isn't easy. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
RetroJoe Senior Member Joined: 06/08/2020 Location: CanadaPosts: 290 |
"This is test" Curly quotes does indeed seem to be the culprit - thanks very much, Bill ! Edited 2021-01-21 17:32 by RetroJoe Enjoy Every Sandwich / Joe P. |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
What's the ascii or keyboard combination for curly quotes? I can tell the code to replace some characters before checking for >127 characters. I did this with the non breaking space, they are replaced with a normal space, so they no longer trigger the warning message. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1611 |
This, copied from a pdf file (CMM2 Manual): Gives this in a Hex editor: I don't know if that's of any help? To borrow someone else's signature: 'It's all too hard'. Bill Keep safe. Live long and prosper. |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6089 |
if ch$=chr$(145) or ch$=chr$(146) then ch$=chr$(39) ' single quote if ch$=chr$(147) or ch$=chr$(148) then ch$=chr$(34) ' double quote if ch$=chr$(150) or ch$=chr$(151) then ch$=chr$(45) ' EN dash to hyphen You may also need: if ch$=chr$(152) or ch$=chr$(153) then ch$=chr$(39)' single quote if ch$=chr$(157) or ch$=chr$(156) then ch$=chr$(34)' double quote Jim VK7JH MMedit MMBasic Help |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Made some changes. Could someone please test if those curly quotes are replace with normal quotes and the page no longer complains about them please? Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1611 |
This is from the CMM2 manual again The image is of the original. Bill Edited 2021-01-23 14:44 by Turbo46 Keep safe. Live long and prosper. |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Thanks The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Glenn--I've been getting this message fairly often lately--would it be possible to extend the time to, say, 45 seconds? "Fatal error: Maximum execution time of 30 seconds exceeded in C:\inetpub\wwwroot2\TheBackShed\forum\SearchForum.php on line 35" PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Hi Lizby If the code is that busy that it times out for you, it means anyone else visiting the site is also experiencing a delay, something I try to avoid. So I need to look at how I've written the search code and fix it. Could you give me an example of a search that causes this bog down? Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Hmmm . . . Right now late at night in eastern North America activity seems to be low enough that I can't reproduce the timeout. I think one of the ones today was "any" occurrence of "ili9341" in a post by "Geoffg"--probably around noon Atlantic time. I'll try to keep track of what and when so I can post. It's probably happened to me 4-5 times in the past week. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Page 12 of 15 |
Print this page |