Author Topic: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p  (Read 60998 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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

Offline
*****
either take backup of your data and reinstall cwp7 on centos 7 or contact us via support portal for investigation and resolving the issue.

Offline
*
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

Offline
*
have you solve this problem? I have the same problem also

Offline
*
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"

Offline
*
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?

Offline
*
if your cwp version is 0.9.8.738 then do this:

Code: [Select]
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
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
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

Offline
**
yum update cwpphp
sh /scripts/update_cwp

Offline
*
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