Facing this very same issue
Admin is showing 500 internal error
[root@manage src]# sh /scripts/update_cwp
PHP Fatal error: The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has been encoded by the ionCube Encoder for PHP 8.3 and cannot be decoded by this ionCube Loader.
in Unknown on line 0
sh /scripts/update_ioncube is not fixing the issue.
I have cwp pro and 1.23 installed
I had similar issue - but I've managed to fix it - in my case it was some depedency issue and update did not finish completely
Error I was getting:
[root@xxxxx ~]# /scripts/update_cwp
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload nginx.service
Redirecting to /bin/systemctl reload httpd.service
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
[root@xxxxx ~]# /scripts/update_cwp
PHP Fatal error: The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has been encoded by the ionCube Encoder for PHP 8.3 and cannot be decoded by this ionCube Loader.
in Unknown on line 0
[root@xxxxx ~]# /scripts/update_cwp
PHP Fatal error: The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has been encoded by the ionCube Encoder for PHP 8.3 and cannot be decoded by this ionCube Loader.
in Unknown on line 0
[root@xxxxx scripts]# /usr/local/cwp/php71/bin/php -v
PHP 7.2.30 (cli) (built: Apr 29 2020 02:29:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v15.5.0, Copyright (c) 2002-2026, by ionCube Ltd.
You can find new cwp scripts (I'm on Alma 8 - I've managed to fix it by using / tweaking scripts / run comands from scripts manually - I had to download cwpphp-8.3.36-1.x86_64.rpm and compile some PHP extension - I think it was libzip)
Check and try this scripts:
- update_cwpphp83
- update_ioncube
Anyway, at the moment I'm facing one bug
- if I run update_cwp - it download intl.so and it will generate /usr/local/cwp/php71/php.d/intl.ini (load intl extension)
- it seems intl is already compiled inside cwp php so I'm getting error/warning when restarting services (error that intl is already loaded)
- workaround - edit intl.ini and remove content of file (it's single line: extension=intl)
* if you delete this file it will generate it again once it runs update_cwp :/ (in my case the solution was to keep intl.ini in place but remove content
Hope CWP team will fix all this issues soon