Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: jasonching on January 01, 2021, 02:34:10 AM

Title: Can't access PHPmyAdmin in user control
Post by: jasonching on January 01, 2021, 02:34:10 AM
Hello,

The phpmyadmin is fine in admin control, but we can't open it in user control.

It first tries to hit
https://[domain]:2087/cwp_430cc9a4915f1a16/[username]/?module=pma

Then somehow it does a POST request via jQuery to
https://[domain]:2087/pma/

And the firefox shows "The connection has timed out"

Error in /usr/local/cwpsrv/logs/error_log

Code: [Select]
[error] 19002#0: *3251 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: pma in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  A non-numeric value encountered in /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(373) : eval()'d code on line 668" while reading response header from upstream, client: 219.79.45.48, server: localhost, request: "GET /cwp_2139e3f19654c14e/[username]/?module=pma HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/shoppic.sock:", host: "[hostname]:2083"


Title: Re: Can't access PHPmyAdmin in user control
Post by: victoryel on October 20, 2024, 06:33:40 AM
Hello, same problem, how did you solved it?
Title: Re: Can't access PHPmyAdmin in user control
Post by: overseer on October 20, 2024, 04:59:40 PM
WebSserver Settings > Apache Redirects contains at least one /pma link:
Redirect permanent /myadmin https://1.1.1.1:2031/pma