Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 13:09 20 Apr 2024 Privacy Policy
Jump to

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 11 of 15    
Author Message
RFburns

Regular Member

Joined: 21/07/2017
Location: Australia
Posts: 43
Posted: 07:27am 06 Jul 2020
Copy link to clipboard 
Print this post

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.
Strong like horse smart like tractor!
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5012
Posted: 07:47am 06 Jul 2020
Copy link to clipboard 
Print this post

Different bug RF, I'll get to it.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 522
Posted: 04:09am 11 Jul 2020
Copy link to clipboard 
Print this post

Is search working right? I try to search in "Microcontroller and PC projects"
 but get results from the "solar".
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 07:16am 12 Jul 2020
Copy link to clipboard 
Print this post

I've found that the search function searches through the whole site, not just the forum you start with or want to search through.
ChopperP
 
Hark0

Newbie

Joined: 02/07/2020
Location: Spain
Posts: 31
Posted: 07:05am 11 Aug 2020
Copy link to clipboard 
Print this post

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
ZX-UNO: ZX-Spectrum Clone with FPGA
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1133
Posted: 04:51pm 17 Sep 2020
Copy link to clipboard 
Print this post

@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
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5883
Posted: 03:27am 19 Sep 2020
Copy link to clipboard 
Print this post

  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
VK7JH
MMedit   MMBasic Help
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1133
Posted: 10:27am 19 Sep 2020
Copy link to clipboard 
Print this post

@Jim,

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

Kind regards
Michael
 
mkopack73
Senior Member

Joined: 03/07/2020
Location: United States
Posts: 261
Posted: 01:14am 11 Dec 2020
Copy link to clipboard 
Print this post

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
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1591
Posted: 09:26pm 19 Dec 2020
Copy link to clipboard 
Print this post

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
Keep safe. Live long and prosper.
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5012
Posted: 03:41am 02 Jan 2021
Copy link to clipboard 
Print this post

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
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5883
Posted: 08:50pm 02 Jan 2021
Copy link to clipboard 
Print this post

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
VK7JH
MMedit   MMBasic Help
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5012
Posted: 01:12am 03 Jan 2021
Copy link to clipboard 
Print this post

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
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5883
Posted: 08:01pm 03 Jan 2021
Copy link to clipboard 
Print this post

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
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5883
Posted: 08:14pm 03 Jan 2021
Copy link to clipboard 
Print this post

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
VK7JH
MMedit   MMBasic Help
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5012
Posted: 10:47pm 03 Jan 2021
Copy link to clipboard 
Print this post

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.
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: Australia
Posts: 5012
Posted: 10:50pm 03 Jan 2021
Copy link to clipboard 
Print this post

The double space before "I am" and "Please" has a hidden character instead of two spaces. How are you doing the double space?
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: Australia
Posts: 5012
Posted: 10:56pm 03 Jan 2021
Copy link to clipboard 
Print this post

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.
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5883
Posted: 11:27pm 03 Jan 2021
Copy link to clipboard 
Print this post

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
VK7JH
MMedit   MMBasic Help
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5012
Posted: 11:54pm 03 Jan 2021
Copy link to clipboard 
Print this post

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
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
     Page 11 of 15    
Print this page
© JAQ Software 2024