PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p

Started by x3460, August 27, 2018, 11:59:50 AM

Previous topic - Next topic

x3460

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

Sandeep

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

mhu

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

alioke


alioke

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"

sosajohnny

Quote from: alioke on September 21, 2018, 10:39:45 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"

Hi, but how do you update functions.php and cron.php?

studio4host

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
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.

Delimer

Quote from: alioke on September 21, 2018, 10:39:45 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"

Not work for me. After update and run update, same error cron.php has expired

evansa