Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Hardoman on April 17, 2020, 12:33:53 PM

Title: CWP 7 admin panel doesn't show up properly
Post by: Hardoman on April 17, 2020, 12:33:53 PM
Newly installed CWP 7 latest on CentOS 7.6
Nginx+Apache config
When login in to admin panel is doesn't show dashboard and in the left menu the items to not have expand/collapse arrows.
The only workaround to use the menu is to navigate to Notifications and Alerts after which arrows appear.

Dashboard doesn't show up at all.
(http://www.ipnets.ru/2020-04-17_13-24-41.png)

Please help to fix it.
Title: Re: CWP 7 admin panel doesn't show up properly
Post by: evansa on April 17, 2020, 08:32:52 PM
sh /scripts/update_cwp
Title: Re: CWP 7 admin panel doesn't show up properly
Post by: Hardoman on April 20, 2020, 06:21:02 PM
Code: [Select]
######################
Update Server Packages
######################
chmod: cannot access ‘/opt/alt/php*/usr/sbin/*’: No such file or directory
chmod: cannot access ‘/opt/alt/php*/usr/bin/*’: No such file or directory
https://mirror.oxilion.nl/remi/enterprise/7/remi/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a00:d10:1141:8::7: Network is unreachable"
Trying other mirror.
https://mirror.oxilion.nl/remi/enterprise/7/remi/x86_64/repodata/6e82cab09585dae6d790f2874ddb9d432775018288186503706c82648d55b5ca-primary.sqlite.bz2: [Errno 14] curl#7 - "Failed to connect to 2a00:d10:1141:8::7: Network is unreachable"
Trying other mirror.
Redirecting to /bin/systemctl restart cwpsrv.service
PHP Warning:  Error while sending QUERY packet. PID=21021 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
Redirecting to /bin/systemctl restart httpd.service
PHP Warning:  Error while sending QUERY packet. PID=21021 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Redirecting to /bin/systemctl reload httpd.service
--2020-04-20 21:11:47--  http://static.cdn-cwp.com/files/mail/vacation.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 167.114.21.226, 151.80.90.199, 137.74.148.116, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|167.114.21.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2390 (2.3K) [application/zip]
Saving to: ‘vacation.zip’

100%[========================================================================================================================>] 2,390       --.-K/s   in 0s

2020-04-20 21:11:47 (123 MB/s) - ‘vacation.zip’ saved [2390/2390]

The menu issue gone, I can see dashboard.
On the other hand mysql errors are still there as you can see
Title: Re: CWP 7 admin panel doesn't show up properly
Post by: Glenn on April 24, 2020, 05:57:54 PM
check if mysql\maria is running
service mysqld status