Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: taphuocanh on October 20, 2021, 10:42:47 AM

Title: [CWP user panel] some languages file is empty
Post by: taphuocanh on October 20, 2021, 10:42:47 AM
Hello everyone,

I just installed CWP, I create a new user. When logging into this user with https://server_ip:2083, a login page is displayed with data fields and buttons without any labels or content. I went through and accessed the cwp_lang directory, then went to the directory of the language to be set up, and I found a few empty language configuration files. Specifically here is the login.ini file. Perhaps this causes the login page to not have any labels.

(https://i.ibb.co/7gm60y6/Screenshot-2021-10-20-174043.png) (https://ibb.co/7gm60y6)
(https://i.ibb.co/M7MGVX7/Screenshot-2021-10-20-173849.png) (https://ibb.co/M7MGVX7)

Please let me know any workaround.
Thank you.
====================================================
System info:
CPU Model: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CPU Details: 2 Cores (2197 MHz)
Distro Name: CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.45.1.el7.x86_64
Platform: x86_64 vmware
Uptime: 2:37, 1 user
Server Time: Wed Oct 20 17:26:35 +07 2021

CWP info:
CWP version: 0.9.8.1095 Get CWPpro | CWP Secure Kernel: Inactive

Application Version:
Apache version: Apache/2.4.48
PHP version: 8.0.11
MySQL version: 10.2.40-MariaDB
FTP version: 1.0.47
SSH Port: 22
MySql Port: 3306
Web Servers: nginx-apache
Title: Re: [CWP user panel] some languages file is empty
Post by: taphuocanh on October 21, 2021, 01:48:05 AM
I just found an error warning from the log like this.
Code: [Select]
25428#0: *227 FastCGI sent in stderr: "PHP message: PHP Warning:  parse_ini_file(/usr/local/cwpsrv/var/services/users/login/conf/en.ini): failed to open stream: No such file or directory in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
The en.ini language file is called directly from the conf/ directory but is currently located in the conf/lang/ subdirectory.