No plans on adding remote server support?
Like utilizing Soketi https://soketi.app/
Like utilizing Soketi https://soketi.app/
Hello. This bug has been found and will be fixed in the next version, which will appear in the near future.
Also fixed already. Will be in the next release.when Ajax pagination is enabled, the next page numbers take you to the bottom of the next thread rather than the top
Before installing the plugin, you must stop the socket server.
- Added Swoole support (requires Swoole php extension and PHP >= 8.0)
- Choosing where to display the block of those reading the thread
- Added socket server management from the admin panel (requires exec function enabled)
- All known bugs have been fixed.
What does Swoole support provide?DimmmCom updated [DCom] Live Content with a new update entry:
2.5.1
Read the rest of this update entry...
What does Swoole support provide?
It does seem to be this (not sue if you saw my reply to your ticket as it says not seen but maybe saw the email).@DimmmCom have you seen an issue when a logged in user hits the next page button on a multi page thread, the focus incorrectly goes to the bottom of the page ie msg box instead of the top of the page? Wondering if it's your addon causing this.
It does seem to be this (not sue if you saw my reply to your ticket as it says not seen but maybe saw the email).
The issue is that when the new content is loaded in, the browser either stays at the same scroll position it already was, or it gets anchored to the bottom of the page if you were scrolled down far enough. I had a similar issue with the embedded iframe comments with our WordPress integration. The solution would just be to scroll the browser back to the top of the page after injecting the new content.
This problem has been fixed since version 2.5.0@DimmmCom have you seen an issue when a logged in user hits the next page button on a multi page thread, the focus incorrectly goes to the bottom of the page ie msg box instead of the top of the page? Wondering if it's your addon causing this.
This problem has been fixed since version 2.5.0
[23:25][root@ccf public]# systemctl status ccf_workerman_socket.service -l
● ccf_workerman_socket.service - CCF Workerman Socket IO
Loaded: loaded (/etc/systemd/system/ccf_workerman_socket.service; enabled; vendor preset: disabled)
Active: activating (start) since Wed 2023-11-01 23:25:28 UTC; 49s ago
Process: 4563 ExecStart=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/ccf_workerman_socket.service
├─4587 WorkerMan: master process start_file=/home/nginx/domains/mysite.com/public/socket_server.php
├─4588 WorkerMan: worker process ChannelServer frame://127.0.0.1:2206
├─4589 WorkerMan: worker process globalDataServer frame://127.0.0.1:2207
└─4590 WorkerMan: worker process PHPSocketIO socketIO://0.0.0.0:2053
Nov 01 23:25:34 ccf php[4563]: --------------------------------------------- WORKERMAN ---------------------------------------------
Nov 01 23:25:34 ccf php[4563]: Workerman version:4.1.13 PHP version:8.0.28 Event-Loop:\Workerman\Events\Event
Nov 01 23:25:34 ccf php[4563]: ---------------------------------------------- WORKERS ----------------------------------------------
Nov 01 23:25:34 ccf php[4563]: proto user worker listen processes status
Nov 01 23:25:34 ccf php[4563]: tcp root ChannelServer frame://127.0.0.1:2206 1 [OK]
Nov 01 23:25:34 ccf php[4563]: tcp root globalDataServer frame://127.0.0.1:2207 1 [OK]
Nov 01 23:25:34 ccf php[4563]: tcp root PHPSocketIO socketIO://0.0.0.0:2053 1 [OK]
Nov 01 23:25:34 ccf php[4563]: -----------------------------------------------------------------------------------------------------
Nov 01 23:25:34 ccf php[4563]: Input "php /home/nginx/domains/mysite.com/public/socket_server.php stop" to stop. Start success.
Nov 01 23:25:34 ccf systemd[1]: Can't open PID file /home/nginx/domains/mysite.com/public/internal_data/dcom_live_content.pid (yet?) after start: No such file or directory
Nov 01 23:35:39 ccf systemd[1]: Daemon never wrote its PID file. Failing.
Nov 01 23:35:39 ccf systemd[1]: Failed to start CCF Workerman Socket IO.
Nov 01 23:35:39 ccf systemd[1]: Unit ccf_workerman_socket.service entered failed state.
Nov 01 23:35:39 ccf systemd[1]: ccf_workerman_socket.service failed.
Nov 01 23:35:40 ccf systemd[1]: ccf_workerman_socket.service holdoff time over, scheduling restart.
Nov 01 23:35:40 ccf systemd[1]: Stopped CCF Workerman Socket IO.
Nov 01 23:35:40 ccf systemd[1]: Starting CCF Workerman Socket IO...
Nov 01 23:35:40 ccf php[6944]: --------------------------------------------- WORKERMAN ---------------------------------------------
Nov 01 23:35:40 ccf php[6944]: Workerman version:4.1.13 PHP version:8.0.28 Event-Loop:\Workerman\Events\Event
Nov 01 23:35:40 ccf php[6944]: ---------------------------------------------- WORKERS ----------------------------------------------
Nov 01 23:35:40 ccf php[6944]: proto user worker listen processes status
Nov 01 23:35:40 ccf php[6944]: tcp root ChannelServer frame://127.0.0.1:2206 1 [OK]
Nov 01 23:35:40 ccf php[6944]: tcp root globalDataServer frame://127.0.0.1:2207 1 [OK]
Nov 01 23:35:40 ccf php[6944]: tcp root PHPSocketIO socketIO://0.0.0.0:2053 1 [OK]
[Unit]
Description=CCF Workerman Socket IO
After=mysql.service
Requires=mysql.service
[Service]
Type=forking
PIDFile=/home/nginx/domains/mysite.com/public/internal_data/dcom_live_content.pid
User=root
WorkingDirectory=/home/nginx/domains/mysite.com/public
ExecStart=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php start
ExecStop=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php stop
ExecReload=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php restart
Restart=always
TimeoutSec=300
[Install]
WantedBy=multi-user.target
So did the upgrade, stopped socket server before, got a million errors in the admin CP.
Weirdly my systemctl job no longer works and I am unable to stop/start socket_server using php socket_server stop/start. The service and functinoality seems to be working but neither systemctl nor php socker_server stop/start does anything .
Something buggered up.
Code:[23:25][root@ccf public]# systemctl status ccf_workerman_socket.service -l ● ccf_workerman_socket.service - CCF Workerman Socket IO Loaded: loaded (/etc/systemd/system/ccf_workerman_socket.service; enabled; vendor preset: disabled) Active: activating (start) since Wed 2023-11-01 23:25:28 UTC; 49s ago Process: 4563 ExecStart=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php start (code=exited, status=0/SUCCESS) CGroup: /system.slice/ccf_workerman_socket.service ├─4587 WorkerMan: master process start_file=/home/nginx/domains/mysite.com/public/socket_server.php ├─4588 WorkerMan: worker process ChannelServer frame://127.0.0.1:2206 ├─4589 WorkerMan: worker process globalDataServer frame://127.0.0.1:2207 └─4590 WorkerMan: worker process PHPSocketIO socketIO://0.0.0.0:2053 Nov 01 23:25:34 ccf php[4563]: --------------------------------------------- WORKERMAN --------------------------------------------- Nov 01 23:25:34 ccf php[4563]: Workerman version:4.1.13 PHP version:8.0.28 Event-Loop:\Workerman\Events\Event Nov 01 23:25:34 ccf php[4563]: ---------------------------------------------- WORKERS ---------------------------------------------- Nov 01 23:25:34 ccf php[4563]: proto user worker listen processes status Nov 01 23:25:34 ccf php[4563]: tcp root ChannelServer frame://127.0.0.1:2206 1 [OK] Nov 01 23:25:34 ccf php[4563]: tcp root globalDataServer frame://127.0.0.1:2207 1 [OK] Nov 01 23:25:34 ccf php[4563]: tcp root PHPSocketIO socketIO://0.0.0.0:2053 1 [OK] Nov 01 23:25:34 ccf php[4563]: ----------------------------------------------------------------------------------------------------- Nov 01 23:25:34 ccf php[4563]: Input "php /home/nginx/domains/mysite.com/public/socket_server.php stop" to stop. Start success. Nov 01 23:25:34 ccf systemd[1]: Can't open PID file /home/nginx/domains/mysite.com/public/internal_data/dcom_live_content.pid (yet?) after start: No such file or directory
Code:Nov 01 23:35:39 ccf systemd[1]: Daemon never wrote its PID file. Failing. Nov 01 23:35:39 ccf systemd[1]: Failed to start CCF Workerman Socket IO. Nov 01 23:35:39 ccf systemd[1]: Unit ccf_workerman_socket.service entered failed state. Nov 01 23:35:39 ccf systemd[1]: ccf_workerman_socket.service failed. Nov 01 23:35:40 ccf systemd[1]: ccf_workerman_socket.service holdoff time over, scheduling restart. Nov 01 23:35:40 ccf systemd[1]: Stopped CCF Workerman Socket IO. Nov 01 23:35:40 ccf systemd[1]: Starting CCF Workerman Socket IO... Nov 01 23:35:40 ccf php[6944]: --------------------------------------------- WORKERMAN --------------------------------------------- Nov 01 23:35:40 ccf php[6944]: Workerman version:4.1.13 PHP version:8.0.28 Event-Loop:\Workerman\Events\Event Nov 01 23:35:40 ccf php[6944]: ---------------------------------------------- WORKERS ---------------------------------------------- Nov 01 23:35:40 ccf php[6944]: proto user worker listen processes status Nov 01 23:35:40 ccf php[6944]: tcp root ChannelServer frame://127.0.0.1:2206 1 [OK] Nov 01 23:35:40 ccf php[6944]: tcp root globalDataServer frame://127.0.0.1:2207 1 [OK] Nov 01 23:35:40 ccf php[6944]: tcp root PHPSocketIO socketIO://0.0.0.0:2053 1 [OK]
I guess it works differently now and is no longer writing out a PID file?
Here's my systemctl service config which I have not changed for a really long time that no longer works.
Code:[Unit] Description=CCF Workerman Socket IO After=mysql.service Requires=mysql.service [Service] Type=forking PIDFile=/home/nginx/domains/mysite.com/public/internal_data/dcom_live_content.pid User=root WorkingDirectory=/home/nginx/domains/mysite.com/public ExecStart=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php start ExecStop=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php stop ExecReload=/usr/local/bin/php /home/nginx/domains/mysite.com/public/socket_server.php restart Restart=always TimeoutSec=300 [Install] WantedBy=multi-user.target
PIDFile=/home/nginx/domains/mysite.com/public/src/addons/DCom/LiveContent/SocketServer/Workerman/workerman_server.pid
Ahaaaaa lol, you may want to mention that in the upgrade instructions or I missed it along the way. ThanksPID file location has been changed
Code:PIDFile=/home/nginx/domains/mysite.com/public/src/addons/DCom/LiveContent/SocketServer/Workerman/workerman_server.pid
We use essential cookies to make this site work, and optional cookies to enhance your experience.