Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: x3460 on August 27, 2018, 11:59:50 AM

Title: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post 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
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: Sandeep on August 27, 2018, 02:24:08 PM
either take backup of your data and reinstall cwp7 on centos 7 or contact us via support portal for investigation and resolving the issue.
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: mhu on September 02, 2018, 02:04:55 AM
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
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: alioke on September 21, 2018, 07:40:23 AM
have you solve this problem? I have the same problem also
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: 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"
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: sosajohnny on October 08, 2018, 04:19:07 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"

Hi, but how do you update functions.php and cron.php?
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: studio4host on October 09, 2018, 05:21:17 AM
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
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: Delimer on May 11, 2020, 08:51:07 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
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: evansa on May 13, 2020, 12:31:20 PM
yum update cwpphp
sh /scripts/update_cwp
Title: Re: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.p
Post by: DangerD2 on June 15, 2020, 06:35:14 AM
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