Author Topic: [CWP user panel] some languages file is empty  (Read 1143 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
[CWP user panel] some languages file is empty
« 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.




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

Offline
*
Re: [CWP user panel] some languages file is empty
« Reply #1 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.