Recent posts

#91
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.
#92
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.
#93
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.
#94
EhPortal Support / Re: EhPortal and Image Slider ...
Last post by Chen Zhen - March 17, 2026, 01:08:40 AM

I'm not sure what you're attempting to accomplish.
Is this image slider a SMF modification or is it custom code?

You can always add some JavaScript functions and/or CSS id/classes to the "Website Header" option in the admin & then create a block or page that uses them. 
#95
EhPortal Support / EhPortal and Image Slider Inte...
Last post by dman - March 16, 2026, 06:39:34 PM
I can't post the actual calls as this forum blocks it as code. 

The calls are for style sheets, and java script.

The two calls need be go inside the head tags, but not sure which file. 
#96
News and Announcements / Re: Happy Birthday Chen
Last post by Skhilled - March 15, 2026, 01:29:21 PM
Happy belated birthday!  :D
#97
News and Announcements / Happy Birthday Chen
Last post by Dave - March 15, 2026, 06:37:14 AM
I hope you have a great day
#98
Site Discussion / Re: Site's slow to connect
Last post by Dave - March 08, 2026, 06:18:03 PM
Quote from: Chen Zhen on March 08, 2026, 01:44:40 PMThere was also an update to the SMF main package that has fixes in it regarding the mail queue and PHP sessions which has been applied.
It may or may not be related because I did have a misconfiguration regarding sessions that I adjusted.

I am using memcached for sessions within SMF settings but my PHP-FPM configuration was not set properly for it and had to be adjusted.
Hopefully this issue is now resolved.   

I was just going to do a post about that, just as a reminder that if you did the 'ScheduledTasks.php' edit for the emails to reverse that before you update.
#99
Site Discussion / Re: Site's slow to connect
Last post by Chen Zhen - March 08, 2026, 01:44:40 PM

There was also an update to the SMF main package that has fixes in it regarding the mail queue and PHP sessions which has been applied.
It may or may not be related because I did have a misconfiguration regarding sessions that I adjusted.

I am using memcached for sessions within SMF settings but my PHP-FPM configuration was not set properly for it and had to be adjusted.
Hopefully this issue is now resolved.   
#100
Site Discussion / Re: Site's slow to connect
Last post by Dave - March 08, 2026, 04:23:23 AM
It's a lot quicker now Chen