Daily Lucky Numbers:
8
21
22
41
45
46

Recent posts

#51
EhPortal Support / Re: Portal not reverting back ...
Last post by Chen Zhen - March 27, 2026, 06:51:38 PM

I will look into what was reported.
Does this behavior occur on the default theme?
Are you using a mod to add buttons to the task bar or is it manual edits to Subs.php ?
#52
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - March 27, 2026, 01:42:17 PM
somthing else that i have noticed...

the changes that were made in the Sub.php for my Menu..

i have added a few other menu buttons and subbottons..

these do not appear any more..

so i gues there is a Portal.php or a "hook" that takes over the Main Menu out of the sub.php

could someone point me in the right direction pleaseee..  :)
#53
EhPortal Support / Portal not reverting back to P...
Last post by deansmar - March 26, 2026, 09:02:13 AM
one thing i have noticed..  is that when you Login..

noramly in the past.. after logging in or logging out, the site returns back to the home page (Portal)
or if no portal installed then the forum index is shown..

since i updated to SMF 2.1.7 and Portal 1.40.2

when logging in, the index remains blank, does not show the Portal or the forum

when loging out, the homepage of the forum appears and not the Portal.
#54
Site Discussion / Re: Site's slow to connect
Last post by Dave - March 26, 2026, 03:39:34 AM
It did the same for me too

Something went wrong and an AI response wasn't generated.
#55
Site Discussion / Re: Site's slow to connect
Last post by Chen Zhen - March 25, 2026, 11:29:22 PM
That's odd because the link works fine for me.

Just use the google search engine and type "php-fpm ProxyErrorOverride on" in the search input.
It should bring up the AI response which you can click on.

Assuming you are using PHP-FPM...
The example shown has a generic path for the socket, you'll have to find where the "SetHandler" line is in your Apache config file and add "ProxyErrorOverride On" after it. There is a second option below it for adding a condition instead which I will try if the first example causes any problems.
#56
Site Discussion / Re: Site's slow to connect
Last post by Skhilled - March 25, 2026, 06:07:22 PM
Quote from: Chen Zhen on March 21, 2026, 12:04:41 AMThe session fix seems to be working good now and the other thing you reported in the shoutbox seems to be from some sort of brute force bot attack.

It seems my site was targeted by some sort of script that bombards the server with querying files (non-existent) that was forcing PHP-FPM to handle the errors which was overwhelming it. 2 IP's were mostly involved so I blocked them but that won't stop it from happening again.

I didn't realize until I looked into it that it's best to configure Apache to handle those type of errors instead of leaving it up to PHP. I had to make some adjustments in my Apache configuration file.

ref. php-fpm ProxyErrorOverride on

I also added a custom error page while I was at it.
At one time I used to have an assortment of custom error pages but must have neglected to include them at some point.

When I click that link I get:

QuoteSomething went wrong and an AI response wasn't generated.

Even when I'm logged in I get the same.
#57
Site Discussion / Re: Site's slow to connect
Last post by Dave - March 21, 2026, 03:13:31 AM
Thanks for the info. At you know now I wasn't seeing things  ;)
#58
Site Discussion / Re: Site's slow to connect
Last post by Chen Zhen - March 21, 2026, 12:04:41 AM
The session fix seems to be working good now and the other thing you reported in the shoutbox seems to be from some sort of brute force bot attack.

It seems my site was targeted by some sort of script that bombards the server with querying files (non-existent) that was forcing PHP-FPM to handle the errors which was overwhelming it. 2 IP's were mostly involved so I blocked them but that won't stop it from happening again.

I didn't realize until I looked into it that it's best to configure Apache to handle those type of errors instead of leaving it up to PHP. I had to make some adjustments in my Apache configuration file.

ref. php-fpm ProxyErrorOverride on

I also added a custom error page while I was at it.
At one time I used to have an assortment of custom error pages but must have neglected to include them at some point.
#59
EhPortal Support / Re: EhPortal and Image Slider ...
Last post by Chen Zhen - March 20, 2026, 11:48:28 PM
That's what the "Website Header" option is for.. no need to manually edit files because it adds your HTML5/JavaScript code to the head of all templates.
#60
EhPortal Support / Re: EhPortal and Image Slider ...
Last post by dman - March 18, 2026, 09:05:33 PM
Thanks (as always), for the fast feedback Chen.  It is a custom slider, and I added the pointers for the CSS and JS in the themes index template.

Thank you.