Author Topic: clamd module not working in dashboard users  (Read 3097 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
clamd module not working in dashboard users
« on: July 08, 2022, 10:31:00 PM »
Hello,

I have problems with the clamd module in my cwp in admin mode everything works fine from the dashboard but in user mode it throws me an error as if the module was not installed, however this only happens to me in 2 accounts in particular since in the others the module looks good

checking the logs the system gives me the following

2022/07/08 22:09:27 [notice] 27032#0: *15138 "^/v1/([^/]+)/?$" matches "/v1/user_panel_dashboard/", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [notice] 27032#0: *15138 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [info] 27032#0: *15138 client 127.0.0.1 closed keepalive connection
2022/07/08 22:09:27 [notice] 27033#0: *15140 "^/v1/([^/]+)/?$" matches "/v1/clam/", client: 127.0.0.1, server: localhost, request: "POST /v1/clam/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [notice] 27033#0: *15140 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/clam/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [info] 27033#0: *15140 client 127.0.0.1 closed keepalive connection
2022/07/08 22:09:28 [error] 27032#0: *15125 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: clam in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Warning:  First parameter must either be an object or the name of an existing class in /usr/local/cwpsrv/var/services/user_files/modules/clam/index.php on line 0" while reading response header from upstream, client: IP, server: localhost, request: "GET /cwp_8c5de808ea182097/user/?module=clam HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/user.sock:", host: "hostname:2083", referrer: "https://hostname:2083/cwp_8c5de808ea182097/user/?"

Is it possible to fix this bug or is it better to do a freshinstall in a new environment, I'm using centos7

Offline
*
Re: clamd module not working in dashboard users
« Reply #1 on: July 09, 2022, 12:29:40 AM »
try reinstall it, if all else fails reinstall the whole server as a last option, wait for more replies before doing anything maybe too.
SEOtraining1.com -SecureHosting.xyz

Offline
*
Re: clamd module not working in dashboard users
« Reply #2 on: October 24, 2022, 06:39:41 PM »
I have the same issue. And it is user specific only.
It happened after I run the email anti virus for that user.

Other users dont have the same issue.

I already tried rebooting and rebuilding the email.

Weirdly enough, when I disabled clam in the admin dashboard, other users seem to still have access to Clam.
And no same Clam not install message


Offline
*
Re: clamd module not working in dashboard users
« Reply #3 on: December 22, 2022, 05:49:11 PM »
Same for me, Clam is not working in user panel for specific user, i tried to rebuid mail, uninstall and reinstall clam i also trie under Feature Manager to include antivirus scan for Packages and also for Accounts. Nothing works.

Offline
*
Re: clamd module not working in dashboard users
« Reply #4 on: January 15, 2023, 03:26:21 PM »
I deleted the user and created a new a new one and now is working. I sill don't know what was the problem in that username but now seams ok.