Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: eluanb on August 27, 2018, 12:42:47 PM

Title: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: eluanb on August 27, 2018, 12:42:47 PM
I'm in version 0.9.8.350.

When accessing CWP Admin I got 500 HTTP error.

In the log file:

Code: [Select]
2018/08/27 09:08:32 [error] 3757#0: *6 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: IP, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "URL:2030"


When trying to upgrade, I have the following return:

Code: [Select]
sh / usr / local / cwpsrv / htdocs / resources / scripts / update_cwp

PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
 in Unknown on line 0

How to adjust this error?
Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: Sandeep on August 27, 2018, 02:21:27 PM
Either reinstall the server with centos 7 and cwp7 or contact us via support portal for the investigations and resolving the issue.
Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: alioke on September 21, 2018, 07:28:07 AM
I have this problem also, have u already solved this problem?
I'm in version 0.9.8.350.

When accessing CWP Admin I got 500 HTTP error.

In the log file:

Code: [Select]
2018/08/27 09:08:32 [error] 3757#0: *6 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: IP, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "URL:2030"


When trying to upgrade, I have the following return:

Code: [Select]
sh / usr / local / cwpsrv / htdocs / resources / scripts / update_cwp

PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
 in Unknown on line 0

How to adjust this error?
Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: alioke on September 21, 2018, 10:40:26 AM
Finally i solve this problems already.
just update your file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php and /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

and then do the command "sh update_cwp"
Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: SeemOn on November 08, 2018, 05:44:52 PM
Finally i solve this problems already.
just update your file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php and /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

and then do the command "sh update_cwp"

How did you update those files? :)
Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: webinver on December 10, 2018, 06:45:54 PM
Finally i solve this problems already.
just update your file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php and /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

and then do the command "sh update_cwp"

How did you update those files? :)

Copy those files from a fresh version installed into VirtualBox or any other source... Works for me!

Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: studio4host on December 11, 2018, 08:38:38 AM
You can run this code on your server to get you centos 6 updated to the newer version
These instructions are only for version  0.9.8.350

Code: [Select]
sed -i "s/php54/php71/g" /etc/cron.daily/cwp
chattr -i -R /usr/local/cwpsrv/htdocs/admin
cd /usr/local/cwpsrv/htdocs

wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.538.zip
unzip -o cwp2-0.9.8.538.zip
rm -f cwp2-0.9.8.538.zip

cd /usr/local/cwpsrv/var/services/
wget dl1.centos-webpanel.com/files/cwp/el7/cwp-services.zip
unzip -o cwp-services.zip
rm -f cwp-services.zip

Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: anhtn on March 07, 2019, 01:49:53 AM
Step by step, I run the command:
Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs/adminand it display this information:
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design

Does it wrong? It's still not working :(
Title: Re: [ERROR] CWP Admin - HTTP 500 - Expired
Post by: mopa9000 on May 21, 2019, 08:57:45 PM
Step by step, I run the command:
Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs/adminand it display this information:
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design

Does it wrong? It's still not working :(

Either reinstall the server with centos 7 and cwp7 or contact us via support portal for the investigations and resolving the issue.