Skip to main content
Recent Posts
12
General ElkArte discussions / Re: Load time achievement
Last post by Spuds -
Did you check the hostname lookup setting (just want to be sure its a DB issue and not something else) is off?

The error message appears to be it was not finding the mysqld.sock socket, what setting did you have to change to fix the issue?
13
General ElkArte discussions / Re: Load time achievement
Last post by Hj Ahmad Rasyid Hj Ismail -
I have figure out what's forbidding me from using localhost, so that part is resolved now, I can use it just fine now. Old caches are all cleared. new have been built.

The queries delays are still the same though. It is still around 3 seconds ++ while 1.1 is around 0.02-0.03.

2.0 less queries but longer time.
queries-2.0 beta 1.png

1.1 more queries but lesser time.
queries-1.1.10.png
14
Addons / Re: [ADDON] SimplePortal
Last post by ScottJB -
Thanks, @Spuds !

Is there a way to just have board name and not a link?
I found this line, and tried to edit, but would not work:

Code: (Line) [Copy]
<span class="floatright">', $txt['incat'], ': ', $news['board']['link'], '</span>

Code: (Tried) [Copy]
<span class="floatright">', $txt['incat'], ': ', $news['board'], '</span>

Yes, I made and edited the text call....
17
General ElkArte discussions / Re: Load time achievement
Last post by Hj Ahmad Rasyid Hj Ismail -
Code: [Copy]
[code]2026/08/03 22:32:18 [error] 1944#1944: *18202 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::real_connect(): (HY000/2002): No such file or directory in /web/sources/ElkArte/Database/Mysqli/Connection.php on line 43; PHP message: PHP Fatal error:  Uncaught Error: mysqli object is not fully initialized in /web/sources/ElkArte/Database/Mysqli/Query.php:165
Stack trace:
#0 /web/sources/ElkArte/Database/Mysqli/Query.php(165): mysqli_query()
#1 /web/sources/ElkArte/Database/AbstractQuery.php(539): ElkArte\Database\Mysqli\Query->executeQuery()
#2 /web/sources/ElkArte/Database/Mysqli/Connection.php(54): ElkArte\Database\AbstractQuery->query()
#3 /web/sources/database/Database.subs.php(73): ElkArte\Database\Mysqli\Connection::initiate()
#4 /web/sources/Load.php(1261): database()
#5 /web/bootstrap.php(358): loadDatabase()
#6 /web/bootstrap.php(90): Bootstrap->bringUp()
#7 /web/bootstrap.php(66): Bootstrap->bringUpBasics()
#8 /web/index.php(41): Bootstrap->__construct()
#9 {main}
  thrown in /web/sources/ElkArte/Database/Mysqli/Query.php on line 165" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: elkarte2.sch.my, request: "GET /index.php HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.4-fpm/webYY.sock:", host: "elkarte2.sch.my", referrer: "https://elkarte2.sch.my/index.php?action=admin;area=logs;sa=errorlog;desc"
2026/08/03 22:32:21 [error] 1944#1944: *18202 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::real_connect(): (HY000/2002): No such file or directory in /web/sources/ElkArte/Database/Mysqli/Connection.php on line 43; PHP message: PHP Fatal error:  Uncaught Error: mysqli object is not fully initialized in /web/sources/ElkArte/Database/Mysqli/Query.php:165
Stack trace:
#0 /web/sources/ElkArte/Database/Mysqli/Query.php(165): mysqli_query()
#1 /web/sources/ElkArte/Database/AbstractQuery.php(539): ElkArte\Database\Mysqli\Query->executeQuery()
#2 /web/sources/ElkArte/Database/Mysqli/Connection.php(54): ElkArte\Database\AbstractQuery->query()
#3 /web/sources/database/Database.subs.php(73): ElkArte\Database\Mysqli\Connection::initiate()
#4 /web/sources/Load.php(1261): database()
#5 /web/bootstrap.php(358): loadDatabase()
#6 /web/bootstrap.php(90): Bootstrap->bringUp()
#7 /web/bootstrap.php(66): Bootstrap->bringUpBasics()
#8 /web/index.php(41): Bootstrap->__construct()
#9 {main}
  thrown in /web/sources/ElkArte/Database/Mysqli/Query.php on line 165" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: elkarte2.sch.my, request: "GET /index.php?action=profile;area=forumprofile;u=1 HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.4-fpm/webYY.sock:", host: "elkarte2.sch.my", referrer: "https://elkarte2.sch.my/index.php?action=profile;area=account;u=1"
2026/08/03 22:32:23 [error] 1944#1944: *18202 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::real_connect(): (HY000/2002): No such file or directory in /web/sources/ElkArte/Database/Mysqli/Connection.php on line 43; PHP message: PHP Fatal error:  Uncaught Error: mysqli object is not fully initialized in /web/sources/ElkArte/Database/Mysqli/Query.php:165
Stack trace:
#0 /web/sources/ElkArte/Database/Mysqli/Query.php(165): mysqli_query()
#1 /web/sources/ElkArte/Database/AbstractQuery.php(539): ElkArte\Database\Mysqli\Query->executeQuery()
#2 /web/sources/ElkArte/Database/Mysqli/Connection.php(54): ElkArte\Database\AbstractQuery->query()
#3 /web/sources/database/Database.subs.php(73): ElkArte\Database\Mysqli\Connection::initiate()
#4 /web/sources/Load.php(1261): database()
#5 /web/bootstrap.php(358): loadDatabase()
#6 /web/bootstrap.php(90): Bootstrap->bringUp()
#7 /web/bootstrap.php(66): Bootstrap->bringUpBasics()
#8 /web/index.php(41): Bootstrap->__construct()
#9 {main}
  thrown in /web/sources/ElkArte/Database/Mysqli/Query.php on line 165" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: elkarte2.sch.my, request: "GET /index.php?action=mentions;sa=fetch;api=json;lastsentmention=0;lastsentpm=0 HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.4-fpm/webYY.sock:", host: "elkarte2.sch.my", referrer: "https://elkarte2.sch.my/index.php?action=admin;area=permissions;sa=modify;group=0"
2026/08/03 22:32:25 [error] 1944#1944: *18202 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::real_connect(): (HY000/2002): No such file or directory in /web/sources/ElkArte/Database/Mysqli/Connection.php on line 43; PHP message: PHP Fatal error:  Uncaught Error: mysqli object is not fully initialized in /web/sources/ElkArte/Database/Mysqli/Query.php:165
Stack trace:
#0 /web/sources/ElkArte/Database/Mysqli/Query.php(165): mysqli_query()
#1 /web/sources/ElkArte/Database/AbstractQuery.php(539): ElkArte\Database\Mysqli\Query->executeQuery()
#2 /web/sources/ElkArte/Database/Mysqli/Connection.php(54): ElkArte\Database\AbstractQuery->query()
#3 /web/sources/database/Database.subs.php(73): ElkArte\Database\Mysqli\Connection::initiate()
#4 /web/sources/Load.php(1261): database()
#5 /web/bootstrap.php(358): loadDatabase()
#6 /web/bootstrap.php(90): Bootstrap->bringUp()
#7 /web/bootstrap.php(66): Bootstrap->bringUpBasics()
#8 /web/index.php(41): Bootstrap->__construct()
#9 {main}
  thrown in /web/sources/ElkArte/Database/Mysqli/Query.php on line 165" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: elkarte2.sch.my, request: "GET /index.php HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.4-fpm/webYY.sock:", host: "elkarte2.sch.my", referrer: "https://elkarte2.sch.my/index.php?action=admin;area=permissions;sa=modify;group=0"
2026/08/03 22:32:29 [error] 1944#1944: *18202 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::real_connect(): (HY000/2002): No such file or directory in /web/sources/ElkArte/Database/Mysqli/Connection.php on line 43; PHP message: PHP Fatal error:  Uncaught Error: mysqli object is not fully initialized in /web/sources/ElkArte/Database/Mysqli/Query.php:165
Stack trace:
#0 /web/sources/ElkArte/Database/Mysqli/Query.php(165): mysqli_query()
#1 /web/sources/ElkArte/Database/AbstractQuery.php(539): ElkArte\Database\Mysqli\Query->executeQuery()
#2 /web/sources/ElkArte/Database/Mysqli/Connection.php(54): ElkArte\Database\AbstractQuery->query()
#3 /web/sources/database/Database.subs.php(73): ElkArte\Database\Mysqli\Connection::initiate()
#4 /web/sources/Load.php(1261): database()
#5 /web/bootstrap.php(358): loadDatabase()
#6 /web/bootstrap.php(90): Bootstrap->bringUp()
#7 /web/bootstrap.php(66): Bootstrap->bringUpBasics()
#8 /web/index.php(41): Bootstrap->__construct()
#9 {main}
  thrown in /web/sources/ElkArte/Database/Mysqli/Query.php on line 165" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: elkarte2.sch.my, request: "GET /index.php?action=admin;area=logs;sa=errorlog;desc HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.4-fpm/webYY.sock:", host: "elkarte2.sch.my", referrer: "https://elkarte2.sch.my/index.php?action=admin;area=logs;sa=errorlog;desc"
The same just repeating if I changed to "localhost", nothing much other than that.
[/code]
The same just repeating if I changed to "localhost", nothing much other than that.
18
Bug Reports / Re: Attachment Insert Problem
Last post by ScottJB -
Quote from: Spuds – Not sure why I attached that LOL .. I made edits to the sites index.css to adjust the position of the insert attachment dropdown on the post page for mobile devices.  The insert button was falling off screen.  If that was not the problem I'll need more information.

Button seemed fine, just when make selections, size and alignment, hitting the attach just does nothing.
19
General ElkArte discussions / Re: Load time achievement
Last post by Spuds -
Yes the 2.0 error log, that tail -f /var/www/clients/clientXX/webYY/log/error.log you posted needed a few more lines above where it started, maybe tail -n 20 so we can see just what PHP complained about.