Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: anilkurtaran on May 04, 2021, 06:01:51 PM
-
Hello there,
After the last update, your plan status in the user control panel does not work correctly.
Also, dark mode does not work anymore. How can I fix?
-
Hello there,
According to my research on the forums, I ran the following command with ssh and opened the user panel.
tail -f /usr/local/cwp/php71/var/log/php-fpm*.log
Later I viewed these outputs.
==> /usr/local/cwp/php71/var/log/php-fpm.log <==
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'apache_additional' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'dns' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'fant3menu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: LANG in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'cloudlinux' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'fsl' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'postgres' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property 'softmenu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: url in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Twig_Error_Loader: Unable to find template "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_theme). in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php:226"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "Stack trace:"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "#0 /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php(143): Twig_Loader_Filesystem->findTemplate('index.html')"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "#1 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(269): Twig_Loader_Filesystem->getCacheKey('index.html')"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "#2 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(345): Twig_Environment->getTemplateClass('index.html')"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "#3 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(288): Twig_Environment->loadTemplate('index.html')"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "#4 /usr/local/cwpsrv/var/services/users/index.php(0): Twig_Environment->render('index.html', Array)"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: "#5 {main}"
[05-May-2021 00:51:20] WARNING: [pool berlina] child 4225 said into stderr: " thrown in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php on line 226"
[05-May-2021 00:51:21] WARNING: [pool cwpsrv] child 4229 said into stderr: "cat: /usr/local/cwp/.conf/web_server.conf: No such file or directory"
Maybe it will work for you
-
I have the same issue with one user/reseller that is getting a blank page after updating the CWP.
tail /usr/local/cwpsrv/logs/error_log
Here it is the log:
PHP message: PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Fatal error: Uncaught Twig_Error_Loader: Unable to find template "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_theme). in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php:226
Stack trace:
#0 /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php(143): Twig_Loader_Filesystem->findTemplate('index.html')
#1 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(269): Twig_Loader_Filesystem->getCacheKey('index.html')
#2 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(345): Twig_Environment->getTemplateClass('index.html')
#3 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(288): Twig_Environment->loadTemplate('index.html')
#4 /usr/local/cwpsrv/var/services/users/index.php(0): Twig_Environment->render('index.html', Array)
#5 {main}
thrown in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php on line 226" while reading response header from upstream, client: 22.19.1.24, server: localhost, request: "GET /cwp_592060a44456f1b6/albert/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/raduale.sock:", host
[root@hosting albert]#
Dear Support Team, please look into this issue as there are almost 2000 views for this issue and nobody responded yet.
I'm looking forward to your answer.
Best wishes.
-
does the file /usr/local/cwpsrv/var/services/users/cwp_theme/original/index.html exist in your installation?
-
I have the same issue with one user/reseller that is getting a blank page after updating the CWP.
tail /usr/local/cwpsrv/logs/error_log
Here it is the log:
PHP message: PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Fatal error: Uncaught Twig_Error_Loader: Unable to find template "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_theme). in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php:226
Stack trace:
#0 /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php(143): Twig_Loader_Filesystem->findTemplate('index.html')
#1 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(269): Twig_Loader_Filesystem->getCacheKey('index.html')
#2 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(345): Twig_Environment->getTemplateClass('index.html')
#3 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(288): Twig_Environment->loadTemplate('index.html')
#4 /usr/local/cwpsrv/var/services/users/index.php(0): Twig_Environment->render('index.html', Array)
#5 {main}
thrown in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php on line 226" while reading response header from upstream, client: 22.19.1.24, server: localhost, request: "GET /cwp_592060a44456f1b6/albert/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/raduale.sock:", host
[root@hosting albert]#
Dear Support Team, please look into this issue as there are almost 2000 views for this issue and nobody responded yet.
I'm looking forward to your answer.
Best wishes.
that looks like you have done some changes to theme