Menu
JAQForum Ver 19.10.27

Forum Index : Site News : Forum upgrade

   Page 11 of 16    
Posted: 07:27am
06 Jul 2020
Copy link to clipboard
RFburns
Regular Member


Hey Glen great work; my error was adding a .pdf and error before up loading . The forum index shows I have posted to the forum but it never makes it. Don't think that helps any but just wanted to let you know.
 
Posted: 07:47am
06 Jul 2020
Copy link to clipboard
Gizmo
Admin Group


Different bug RF, I'll get to it.

Glenn
 
Posted: 04:09am
11 Jul 2020
Copy link to clipboard
Quazee137
Guru


Is search working right? I try to search in "Microcontroller and PC projects"
 but get results from the "solar".
 
Posted: 07:16am
12 Jul 2020
Copy link to clipboard
Chopperp
Guru


I've found that the search function searches through the whole site, not just the forum you start with or want to search through.
 
Posted: 07:05am
11 Aug 2020
Copy link to clipboard
Hark0
Newbie


Hi, I can't reply.... I get a error like in my reply post:

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xE2\x80\x8B\xE2\x80\x8B...' for column 'Message' at row 1 in C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php:59 Stack trace: #0 C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php(59): PDO->exec('Insert into thr...') #1 {main} thrown in C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php on line 59

Look in thread "My cool CMM2 (Hardware fan)", count my reply, but not show the post.

I send PM to @matherp.... and I get an error...


Edited 2020-08-11 17:06 by Hark0
 
Posted: 04:51pm
17 Sep 2020
Copy link to clipboard
twofingers
Guru

@ADMIN

the same error:

  Quote  Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC5\xAB\xC4\xAB a...' for column 'Message' at row 1 in C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php:59 Stack trace: #0 C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php(59): PDO->exec('Insert into thr...') #1 {main} thrown in C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php on line 59


Anything I can do?

Regards
Michael
 
Posted: 03:27am
19 Sep 2020
Copy link to clipboard
TassyJim
Guru


  twofingers said  @ADMIN

the same error:

  Quote  Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC5\xAB\xC4\xAB a...' for column 'Message' at row 1 in C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php:59 Stack trace: #0 C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php(59): PDO->exec('Insert into thr...') #1 {main} thrown in C:\inetpub\wwwroot2\TheBackShed\forum\PostMessage.php on line 59


Anything I can do?

Regards
Michael


The forum has a problem with Unicode characters.
You tried to post U+010B and this caused the error.
https://www.utf8-chartable.de/unicode-utf8-table.pl?start=256&names=-&utf8=string-literal

I am not sure if it's all non ASCII characters or just some that cause the problem.

Jim
 
Posted: 10:27am
19 Sep 2020
Copy link to clipboard
twofingers
Guru

@Jim,

okay, I understand. Thanks!
FYI: The preview did not show any issue.

Kind regards
Michael
 
Posted: 01:14am
11 Dec 2020
Copy link to clipboard
mkopack73
Senior Member

Did something get changed to the forum code? All of a sudden now it seems like it's super narrow, like it's trying to format for use on a cell phone... Like everything is crunched into the middle 1/3 of my window...


EDIT: Nevermind... Seemed to fix itself as soon as I posted this!  Weird...
Edited 2020-12-11 11:15 by mkopack73
 
Posted: 09:26pm
19 Dec 2020
Copy link to clipboard
Turbo46
Guru


Hi Glenn,

I don't know if you have done anything to the forum lately or it's due to some other strange thing but 'remember me' has been working well for me lately. I have not have had to log on for several days now. Until now, almost every time I closed Chrome and open it again I had to log on to the forum again.

Bill

Edit: Sometimes I am still getting two emails for one posting. I did just now for my Scott Adams post.
Edited 2020-12-20 07:29 by Turbo46
 
Posted: 03:41am
02 Jan 2021
Copy link to clipboard
Gizmo
Admin Group


Testing code. Adding function to remove foreign emoji's.
Testing code. Adding function to remove foreign emoji's.

Normal keyboard codes
`1234567890-=~!@#$%^&*()_+[]\{}|;':",.<>/?

Non-Ascii ( emoji's and other rubbish )

Would not let me save emoji
Edited 2021-01-02 13:47 by Gizmo
 
Posted: 08:50pm
02 Jan 2021
Copy link to clipboard
TassyJim
Guru


Glenn,
Your emoji filter is a bit tough.
it won't let you paste character 92 hex which is the fancy apostrophe. I expect that smart quotes are also stopped.
This makes copy and paste from Word documents a bugger.

This is the code that I use in MMEdit to clean out the common culprits

for Qpos=1 to len(txt$)
       ch$=mid$(txt$,Qpos,1)
       'print asc(ch$)
       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
       if ch$=chr$(226) and Qpos < (len(txt$)-2) then

           if mid$(txt$,Qpos+1,1)=chr$(128) then
               Qpos=Qpos+2
               ch$=mid$(txt$,Qpos,1)
               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
           end if
       end if
       linetxt$=linetxt$+ch$
   next Qpos


Jim
Edited 2021-01-03 07:18 by TassyJim
 
Posted: 01:12am
03 Jan 2021
Copy link to clipboard
Gizmo
Admin Group


The forum code update blocks characters above 127 decimal.

Word documents are notorious for including a heap of hidden crap. Once I had a little paying job of copying a customers word documents to their web site as HTML pages, what a nightmare! I found it was better to paste into notepad to clean it up first.

Sorry, but if I allow to much to get through the forum code will be easy to hack.

Glenn
 
Posted: 08:01pm
03 Jan 2021
Copy link to clipboard
TassyJim
Guru


No problem Glenn, I hate the crap that comes with Word too.

More serious, I tried dot reply to a post and got stuck. This was with typing directly into the page and no emojis etc.

This is the culprit:

  Quote  Hi.  I am trying to figure out how to make a cable with both connectors here is what I have so far.  Please advise.



Jim

Edited by Glenn
Edited 2021-01-04 08:48 by Gizmo
 
Posted: 08:14pm
03 Jan 2021
Copy link to clipboard
TassyJim
Guru


I am now having trouble editing the last post.
I was trying to add:

I removed the quote section from the beginning of the reply, posted the message then edited it to replace the quote and it worked.

I initially thought that removing the "Hi" from the quote is what worked but I was able to post the full quote here. So I have no idea what stopped me from posting the reply in the first place.

Jim
 
Posted: 10:47pm
03 Jan 2021
Copy link to clipboard
Gizmo
Admin Group


Hi Jim

Please take your device and throw it in the bin.

I retyped your quoted message, saved ok. But a copy paste of your text has hidden characters in it. I'll look closer at it later.
 
Posted: 10:50pm
03 Jan 2021
Copy link to clipboard
Gizmo
Admin Group


The double space before "I am" and "Please" has a hidden character instead of two spaces. How are you doing the double space?
 
Posted: 10:56pm
03 Jan 2021
Copy link to clipboard
Gizmo
Admin Group


That double space contains a space ( ascii 32 ) and a hidden character ( ascii 194 ), so the forum code blocked it as it was above 127.

Is that double space intentional, if so, how did you do it, and stop it. If its something that was automatically done by the device, please see my previous advise about the bin.
 
Posted: 11:27pm
03 Jan 2021
Copy link to clipboard
TassyJim
Guru


Glen,
I did a quote of the suspect text. I did not do any editing to the quoted section.
When I couldn't save the post, I removed parts of my post until I was able to save.

I have checked the post that is the source of the quote and can not see anything other than the two space characters.
I don't know where the ascii 194 came from but I don't think it was from me.

I know that 194 160 is UTF8 for no-break-space.

Others are having posting problems as well.

Jim
 
Posted: 11:54pm
03 Jan 2021
Copy link to clipboard
Gizmo
Admin Group


Hi Jim

Can you give a link to the original post? I'll see if they knew how they did the double space.

I use this utility to display the hidden characters....

https://onlineasciitools.com/convert-ascii-to-decimal

It shows that double space as 32 194. It should be 32 32.

The forum will be blocking any character over 127. It's the only way I can keep the forum safe from hackers but still allow members to share code snippets. The other option is to warn the poster if their post has characters over 127, and replace all these characters with a question mark(?) so they can easily find and remove the problem.

Glenn
 
   Page 11 of 16    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025