Author Topic: CWP New backup (beta) - ionCube only for PHP 5  (Read 5787 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP New backup (beta) - ionCube only for PHP 5
« on: April 25, 2020, 12:03:58 PM »
Hi,

I have notice that the New backup (beta) script is encoded with ionCube, but is only for the PHP 5.x version.
If the PHP of CWP is changed to a more recent version, the backup script will not work.

I think is safe to say that this script should be updated to a more recent version of PHP, since PHP 5.x are in EOL.
Also this have impact in the security of CWP from itself, since if we need to use this Backup Script, then CWP needs to be in PHP 5.x....

Thanks

Offline
*****
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #1 on: April 25, 2020, 01:12:08 PM »
hi ensure you've latest version of cwp installed.

Offline
*
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #2 on: April 25, 2020, 01:17:42 PM »
Hi,

Yes, it is in the last version
CWPpro version: 0.9.8.962

Thanks

Offline
*
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #3 on: April 25, 2020, 05:30:19 PM »
Hi CWP team

The new backup beta is not working since i have updated to the latest panel still showing loading list accounts thats all no backup done
it was worked before update pls check this also restore accounts is not working atleast manual restore is posssible if we get the full account backup

Thanks in advance

Offline
*
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #4 on: April 25, 2020, 06:44:41 PM »
Same problem here. The backups stopped working.
Partner de CWP

Hosting de calidad en Espaņa con soporte en Espaņol para CWP - https://www.coriaweb.hosting

Offline
****
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #5 on: April 25, 2020, 07:03:37 PM »
check "crontab -l" as root and make sure

15 23 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

is there

(NOTE: Times may be different)
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #6 on: April 25, 2020, 07:59:57 PM »
check "crontab -l" as root and make sure

15 23 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

is there

(NOTE: Times may be different)

Yes:

26 14 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
Partner de CWP

Hosting de calidad en Espaņa con soporte en Espaņol para CWP - https://www.coriaweb.hosting

Offline
*
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #7 on: April 25, 2020, 08:07:27 PM »
The issue is that "cron_newbackup.php" is encoded under a old version of ionCube (before PHP 5.x).
If you check the error log, the script outputs that error.

if you select in "PHP Version Switcher" the PHP version 5.6.40, the script runs fine.
If you update to a new version - PHP 7.x - then the script doesn't work.

PHP Version Switcher changes the PHP of CWP, that is where the cron_newbackup.php is running...

Offline
****
Re: CWP New backup (beta) - ionCube only for PHP 5
« Reply #8 on: April 25, 2020, 08:27:27 PM »
The issue is that "cron_newbackup.php" is encoded under a old version of ionCube (before PHP 5.x).
If you check the error log, the script outputs that error.

if you select in "PHP Version Switcher" the PHP version 5.6.40, the script runs fine.
If you update to a new version - PHP 7.x - then the script doesn't work.

PHP Version Switcher changes the PHP of CWP, that is where the cron_newbackup.php is running...

Then you probably have to follow the instruction on the 500 error posts.  My version of the backup script is working perfectly fine running on php72 ioncube.  Guessing that file did not get updated in your update..
Google Hangouts:  rcschaff82@gmail.com