Control Web Panel
WebPanel => CentOS 6 Problems => Topic started 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:
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:
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?
-
Either reinstall the server with centos 7 and cwp7 or contact us via support portal for the investigations and resolving the issue.
-
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:
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:
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?
-
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"
-
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? :)
-
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!
-
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
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
-
Step by step, I run the command:
chattr -i -R /usr/local/cwpsrv/htdocs/admin
and 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 :(
-
Step by step, I run the command:
chattr -i -R /usr/local/cwpsrv/htdocs/admin
and 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.