Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: uma on November 27, 2020, 11:28:15 AM

Title: Domain Panel File manager gives error of HTTP ERROR 500
Post by: uma on November 27, 2020, 11:28:15 AM
Hello,

root admin file manager working fine but

Domain Panel File manager gives error of  This page isn’t working HOSTNAME is currently unable to handle this request.
HTTP ERROR 500

I tried following commands:
/scripts/update_cwp  -- (gives error of AJAX: error)
/scripts/restart_cwpsrv
service cwp-phpfpm restart
yum -y update

tail -n 50 /usr/local/cwpsrv/logs/error_log  gives some error like:

*.349 FastCGI sent in stderr: "PHP message: PHP Fatal error  uncaught Error:  call to undefined function checktokenweb() in /usr/local/cwpsrv/var/service/users/fileManager_v2.php

 fileManager_v2.php on line 0 while reading response from header from upstream, client:xx.xx.xx.xx server : localhost request: "GET /cwp_b18dee6b55bd784c/USERNAME/filemanger_v2.php HTTP/1.1", upstream : "fastcgi://unix:local/cwp/php71/var/sockets/USERNAME.sock :"


Your help / guidance appriciated.

Regards,


===============================================
Kernel:
Linux hostname 3.10.0 #1 SMP Mon Dec 9 19:36:21 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name   : Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz

Release:
CentOS Linux release 7.9.2009 (Core)

Arch:
x86_64

Virtualization Type:
openvz
lxc

Memory:
              total        used        free      shared  buff/cache   available
Mem:           6144         313        4652          71        1178        5759
Swap:             0           0           0

MySQL info:
mysql  Ver 15.1 Distrib 10.2.36-MariaDB, for Linux (x86_64) using readline 5.1

Disk Info:
Filesystem         Size  Used Avail Use% Mounted on
/dev/opp1         30G   4.6G   24G  17% /
none               3.0G     0  3.0G   0% /sys/fs/cgroup
none               3.0G     0  3.0G   0% /dev
tmpfs              3.0G     0  3.0G   0% /dev/shm
tmpfs              3.0G   74M  3.0G   3% /run
tmpfs              615M     0  615M   0% /run/user/0
tmpfs              615M     0  615M   0% /run/user/1000


Apache PHP info:
PHP 7.2.34 (cli) (built: Oct 31 2020 17:17:23) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Apache start script check:
grep: /etc/init.d/httpd: No such file or directory

CWP Admin check:
/usr/local/cwpsrv/htdocs/admin

CWP version:
0.9.8.1024
===============================================
Title: Re: Domain Panel File manager gives error of HTTP ERROR 500
Post by: cinique on November 27, 2020, 11:44:15 AM
You didn't look very far:
http://forum.centos-webpanel.com/index.php?topic=9877.msg34627;topicseen#msg34627
Title: Re: Domain Panel File manager gives error of HTTP ERROR 500
Post by: logeshnkl on November 27, 2020, 12:41:52 PM
Facing the same issue, kindly update on this.
Title: Re: Domain Panel File manager gives error of HTTP ERROR 500
Post by: João on November 27, 2020, 01:45:39 PM
The Same problem. :-\
Title: Re: Domain Panel File manager gives error of HTTP ERROR 500
Post by: rkhyd on November 27, 2020, 02:02:21 PM
CWP support confirmed that the update has broken the filemanager.
Have to wait for another update to fix this.
Title: Re: Domain Panel File manager gives error of HTTP ERROR 500
Post by: studio4host on November 28, 2020, 01:12:13 AM
run the cwp update to get it fixed
Title: Re: Domain Panel File manager gives error of HTTP ERROR 500
Post by: azzureal on December 05, 2020, 11:04:23 AM
I updated cwp.. but

FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function checktokenweb() in /usr/local/cwpsrv/var/services/users/fileManager_v2.php:0
Stack trace: