(please specify the website or account you are asking about)
hsam.pellysoft.com.au
Error Message
No error message, just a blank screen, when the string ‘botter’ or ‘boter’ is part of a field. Without these problematic string, the screens work as expected eg ‘b0tter’ with a zero works fine.
Other Information
It did my head in finding it.
(other information and details relevant to your question)
Is there some setting that needs to be changed to prevent this from occurring- as this string is part of a surname.
Thats strange, it does not for me ! which browser are you using ?
I’ve tried firefox, opera, edge and chrome. they all do the same- show a blank screen after entering botter .
Its just bizarre. The screen has nothing on it. But any other username (except ‘boter’) , will come back with appropriate error messages- like password missing/wrong etc.
Warning: require_once(includes/functions.php): failed to open stream: No such file or directory in /home/vol15_7/epizy.com/epiz_23886065/htdocs/includes/connection.php on line 3
Fatal error: require_once(): Failed opening required ‘includes/functions.php’ (include_path=‘.:/usr/share/pear/’) in /home/vol15_7/epizy.com/epiz_23886065/htdocs/includes/connection.php on line 3
Nope. That’s not it. That file is only used to check the logon. The issue first appeared on a screen that is not checked against this file. The logon screen was then checked and it too exhibited the same issue- ie a blank screen. After too many failed attempts, botter was added to that file.
Had it been an issue with that banned file, it should have displayed an error message, not a blank white screen,
However, that: Fatal error: require_once(): Failed opening required ‘includes/functions.php’ (include_path=‘.:/usr/share/pear/’) in /home/vol15_7/epizy.com/epiz_23886065/htdocs/includes/connection.php on line 3
possibly could be the cause. I’ll check it/ test it tonight.
I’ll keep you posted.
Thanks for your help
It is possible that the ban is recorded somewhere in the DB and this file is for information only or log.
I see the same all-white as you (I don’t see it as in your title → that PHP crashes) there is no E500.
So it could be some form of the ban so the script just doesn’t want to continue
or your code didn’t catch the error and doesn’t know what to display.
It reacts to anything containing the word “botter” such as 1234botter
yep as you pointed out, it also fails (white screen) even when BOTTER or BOTER is surrounded by other text.
Don’t be stuck on the banned functionality as the logon screen is only a quick way to demonstrate the issue. It was first reported on a client surname - once a user was already logged in. And also showed up when trying to view the log.
As its also occurring on the logon screen, it proves that the issue is not related to the database, it has not connected yet.
I commented out the line, that had the Fatal error: require_once(): Unfortunately it made no difference and botter still fails. Without botter, some of the site works - but some pages complain about the missing require_once. So I put it back in, as its not the issue.
For example notepad++ has the option to search for a term in all files in a directory,
so if you have those php files locally, try searching for “botter” (inside dir) and see the results…
Unless maybe some stupid thing happened and the two terms were combined through codes
for example :one part is bot
and some other codes add ter to it
so you get that botter
The fastest solution is for the user to change his last name and make a new ID card
We do have some blocked keywords, but as far as I know “botter” isn’t one of them. As far as I can tell, this is due to your code.
I tried to find the solution and did a little bit of debugging. But strangely enough when I added a little debug statement after line 92, it didn’t print the debug statement and instead redirected me back to the home page.
What is actually supposed to happen in this case? Is the page supposed to redirect or show contents?
Also, probably unrelated, but you may be interested to know PHP has Output Buffering functions. That way, you can use all your regular echo statements or even close the PHP tag to write HTML, and at the end call ob_flush() to send the content. It’s up to you whether you want to use it, but it may be a bit easier to work with than writing everything to a string.
I did search for Botter, but not on the split term. I now have for BOT but nothing relevant showed up - except lots of BOTH and BOTTOM. I did ignore case. Searching TER is more problematic as its everywhere as in criteria, center etc.
Hi Admin. You wont be able to change the code. It will detect the change and reverse it. I saw 4 attempts to alter the code.
I have had an issue in the past where a compromised trusted user had an infection that altered the site.
Unfortunately this has also caused me to write the code that may be a bit difficult to follow.
If you like I can temporarily disable this functionally.
Can you please check. As that could explain the issue.
I will also investigate the PHP Output Buffering functions.
I’m curious how this system works exactly. Are you constantly re-uploading the files over FTP? Or does your PHP code do integrity checks on itself?
Disabling this system would help a lot in trying to diagnose this. I promise I will try to leave the code exactly as I found it, but you may want to make sure you have a copy of the code yourself you can use to overwrite any live changes.
Not really. I don’t have access to the full block lists and there are different block lists in different places, and none of them show the behavior we see on your site here. The fact that I was able to get this behavior to change by editing the code makes me believe that it’s not a hosting issue.
And I don’t really feel like looking for something I think doesn’t exist and I don’t know where it would be if it did.