Cron error - undefined variable

Started by ashokjp, November 24, 2014, 10:44:56 AM

Previous topic - Next topic

ashokjp

I am getting the below cron error on daily cron. Fresh server installed 2 days back



====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Your CWP version: 0.9.6<br><b>No update needed, your CWP is up to date.</b>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0    14    0    14    0     0     45      0 --:--:-- --:--:-- --:--:--    93
<myserverip>
Date which backup script is using: 2014-11-24 08:21:03

PHP Notice:  Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6

Notice: Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6
PHP Notice:  Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6

Notice: Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6
cpulimit: no process killed

Administrator

you will need to check that you have backups properly set in your admin area.

ashokjp

My backup is a local backup and the only configuration is the folder location /backup
The folder exists too.
Config below


I guess the undefined variable error is because of PHP code.  Its not an error actually, its just the variable YnD197gFTjan is not set when checked for some value.

I am not sure, the code is encoded so cant really figure out.

Administrator



yak-54

did you work what it was i have the same issue

buneyha


Jae

You can actually ignore error mesages, as long as backup process finished and files/folders inside backup same as sources.

pixelpadre