Author Topic: The encoded file /include/cron.php has expired  (Read 1132 times)

0 Members and 1 Guest are viewing this topic.

The encoded file /include/cron.php has expired
« on: October 31, 2021, 07:16:27 PM »
Hi All,

(Sorry posted this before in CentOS 6 problems, while i am running centOS 7)

After not have used my server for a while, i tried to start it and update it.
I started ./update_cwp from the script folder.
The next error appeared:
[root@server01 scripts]# ./cwp_api
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_api has expired.
 in Unknown on line 0

So of course i started to google.

I saw a few related problemens including this:

Alright that one didn't work.
So i thought encoded... could be some ioncube shit.
Did upgrade ioncude without any result.

Someone has a solution for this issue without reinstalling the whole server?

Thanks in advance!

[root@server01 scripts]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

[root@server01 scripts]# cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
$webpanel_version = "";

[root@server01 scripts]# php -v
PHP 7.2.23 (cli) (built: Oct 11 2019 19:17:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Because i was like.. well. The system is already f******, i might as well upgrade to centOS 8
Tried todo it with this manual:
Also didn't work :)

Re: The encoded file /include/cron.php has expired
« Reply #1 on: November 03, 2021, 08:52:49 AM »
if you have centos 7/8

Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
unzip -o -q
rm -f
also make sure your automatic updates works as this is caused but not working update
VPS & Dedicated server provider with included FREE Managed support for CWP.

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

Re: The encoded file /include/cron.php has expired
« Reply #2 on: November 03, 2021, 12:17:12 PM »
Thanks for your quick reply.
Pretty sure i did already something like that (found in another topic).
But will try again later and will let you know the results!