CWP Expired: Error 500 - And blank page when loading the CWP admin pannel

If you are getting error 500 when trying to access CWP, that means that, for some reason, your CWP automatic updates don't work

Example Error message:

PHP Fatal error: 
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
 in Unknown on line 0

The solution is to manually update CWP from the bash shell.

cd /usr/local/cwpsrv/htdocs
chattr -i -R /usr/local/cwpsrv/htdocs/admin
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.1160.zip
unzip -o -q cwp-el7-0.9.8.1160.zip
rm -f cwp-el7-0.9.8.1160.zip

cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip

Don't forget to change the version from this example 0.9.8.1160 to the latest version which you can find on this link:

https://control-webpanel.com/changelog

Make sure that you check after this if your automatic updates work.

 

ref: https://wiki.centos-webpanel.com/cwp-expired-error-500

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

UnSuspend CWP bandwith exceeded Account

first of all, You should increase user/package bandwidth before running this script....

Add a Control Web Panel User, Domain Name (CWP)

Control Web Panel (CWP) lets you establish user accounts to administer multiple domains and other...