Control Web Panel
WebPanel => CentOS 6 Problems => Topic started by: x3460 on August 27, 2018, 11:59:50 AM
-
Since yesterday I'm getting a blank page while trying to access the CWP Penel.
In the /usr/local/cwpsrv/logs/error_log I can see:
PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0
Since I installed the CWP in 2016 I didn't upgrade it. (I tried but it was too mess and did not work)
If I'm changing the Linux server date to 2 days ago everything the panel is working.
How to generate new encoding to the index.php page?
Thanks,
Micky
-
either take backup of your data and reinstall cwp7 on centos 7 or contact us via support portal for investigation and resolving the issue.
-
I'm having the exact problem
[Sun Sep 02 03:57:21 2018] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/login.php</b> has expired. in Unknown on line 0
-
have you solve this problem? I have the same problem also
-
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"
Hi, but how do you update functions.php and cron.php?
-
if your cwp version is 0.9.8.738 then do this:
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/el7/cwp-el7-0.9.8.740.zip
unzip -o cwp-el7-0.9.8.740.zip
rm -f cwp-el7-0.9.8.740.zip
-
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"
Not work for me. After update and run update, same error cron.php has expired
-
yum update cwpphp
sh /scripts/update_cwp
-
For centos 6 use
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.793.zip
unzip -o cwp2-0.9.8.793.zip
rm -f cwp2-0.9.8.793.zip