Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: techs on June 25, 2025, 12:25:49 PM

Title: Unable to Access CWP Panel : 500 Error
Post by: techs on June 25, 2025, 12:25:49 PM
Hi All,

We are unable to access the CWP panel suddenly and its showing 500 error in browser. While checking the logs, we are able to locate the following error.

Code: [Select]
[error] 918#0: *33 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: x.x.x.x, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host:
This is an old server with CentOS 7 OS and was running fine. Any possible reasons for this error and how to fix this?

Thanks in advance.
Title: Re: Unable to Access CWP Panel : 500 Error
Post by: overseer on June 25, 2025, 01:05:45 PM
You need to update your CWP version. Older files that are IonCube encoded will expire and throw these kinds of errors.
Code: [Select]
yum -y update
yum clean all
yum check-update
yum update
sh /scripts/update_cwp