Page 2 of 2

Re: Ability to clear Latest Error page of errors

Posted: Sat 25 Nov 2023 4:58 pm
by Mapantz
ConligWX wrote: Sat 25 Nov 2023 3:33 pm
mcrossley wrote: Sat 25 Nov 2023 3:08 pm After a month my live station still said No errors recorded so far!

But I have disabled recording warnings so all the WoW upload errors don't clog it up!
I have a ton of erroneous errors from a printer utility lol

Code: Select all

WLL broadcast: Received spurious message from printer utility(?) at IP address x.x.x.x starting with "STR_BCAST"
I dont think this can be turned off however.
Most definitely a HP software.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 11:24 am
by Mapantz
This just happened to me again, but this time it went further..

I don't own a printer, but somehow, HP software keeps getting installed on my main PC, and that's when I get the same message:

Code: Select all

2023-12-05 11:02:48 - WLL broadcast: Received spurious message from printer utility(?) at IP address 192.168.1.220 starting with "STR_BCAST"
This time, however, it got in to the PHP webtag file that I upload, and caused me website to disappear.

Code: Select all

[STDERR] PHP Parse error:  syntax error, unexpected 'STR_BCAST' (T_STRING) in /home/wareham1/public_html/mytags.php on line 1\n
Is there anything that can be done to block it completely? It's becoming more of an issue, even though I don't use a printer or any of the software regarding one.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 11:57 am
by mcrossley
The current beta version of MX fixes this.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 12:14 pm
by Mapantz
Ah, very good!

Thanks Mark.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 3:39 pm
by Nossie
Mapantz wrote: Tue 05 Dec 2023 11:24 am This just happened to me again, but this time it went further..

I don't own a printer, but somehow, HP software keeps getting installed on my main PC, and that's when I get the same message:
Slightly off topic - but regarding the HP software - is it related to this?
https://www.windowscentral.com/software ... -it-or-not

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 7:08 pm
by Mapantz
Nossie wrote: Tue 05 Dec 2023 3:39 pm
Mapantz wrote: Tue 05 Dec 2023 11:24 am This just happened to me again, but this time it went further..

I don't own a printer, but somehow, HP software keeps getting installed on my main PC, and that's when I get the same message:
Slightly off topic - but regarding the HP software - is it related to this?
https://www.windowscentral.com/software ... -it-or-not
It is, and it isn't, at the same time lol

I had pretty much the same problem over a year ago. Mark pointed me in the direction of Wireshark to try to find out where the packets were coming from, it turned out to be the PC I am on, and HP Doctor was to blame. As soon as I uninstalled it, the problem went away.

I never installed anything HP related.. my Windows installs have always been de-bloated of rubbish I don't need.

For these software's to be installing by some kind of backdoor method is rather worrying.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 8:09 pm
by ConligWX
I use HP Smart software on mine which is broadcasting across one of my vlans

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 8:51 pm
by mcrossley
mcrossley wrote: Tue 05 Dec 2023 11:57 am The current beta version of MX fixes this.
Well, it fixes the issue of it appearing in the recent error log.

How is it getting into your web tag file? Do you have the #LatestError tag in there? It should be #LatestErrorEnc or #LatestErrorEncJs depending on the ultimate use in a PHP file.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 10:24 pm
by Mapantz
I have no idea how it got in there, it's a first for me.

I don't use those tags.

I just did a PHP check of my whole tag file, and I found this:

Code: Select all

Parse Error : syntax error, unexpected 'HH' (T_STRING), expecting ';' on line 1
Which is this line:

$update = "<#update format="HH:mm - dd / MM / yy">";

It still gets formatted OK though.
my_tags.txt

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 10:52 pm
by mcrossley
The original error will be line 59

Code: Select all

$LatestError = "<#LatestError>";
that should be

Code: Select all

$LatestError = "<#LatestErrorEnc>";
If you want the string HTML encoded.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 10:54 pm
by mcrossley
Mapantz wrote: Tue 05 Dec 2023 10:24 pm I have no idea how it got in there, it's a first for me.

I don't use those tags.

I just did a PHP check of my whole tag file, and I found this:

Code: Select all

Parse Error : syntax error, unexpected 'HH' (T_STRING), expecting ';' on line 1
Which is this line:

$update = "<#update format="HH:mm - dd / MM / yy">";

It still gets formatted OK though.

my_tags.txt
The unprocessed file cannot be parsed by PHP, it must be processed by MX first.

Re: Ability to clear Latest Error page of errors

Posted: Tue 05 Dec 2023 11:38 pm
by Mapantz
mcrossley wrote: Tue 05 Dec 2023 10:52 pm The original error will be line 59

Code: Select all

$LatestError = "<#LatestError>";
that should be

Code: Select all

$LatestError = "<#LatestErrorEnc>";
If you want the string HTML encoded.
Is that a recent change?

My tags file does get processed by CMX.

Re: Ability to clear Latest Error page of errors

Posted: Wed 06 Dec 2023 10:18 am
by mcrossley
They are new tags introduced in version 3.27.1