Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: ashokjp on November 24, 2014, 10:44:56 AM

Title: Cron error - undefined variable
Post by: ashokjp on November 24, 2014, 10:44:56 AM
I am getting the below cron error on daily cron. Fresh server installed 2 days back

Code: [Select]

====================================================
============= 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
Title: Re: Cron error - undefined variable
Post by: Administrator on November 26, 2014, 12:41:26 AM
you will need to check that you have backups properly set in your admin area.
Title: Re: Cron error - undefined variable
Post by: ashokjp on November 26, 2014, 01:06:25 AM
My backup is a local backup and the only configuration is the folder location /backup
The folder exists too.
Config below
(http://i62.tinypic.com/29fw94w.jpg)

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.
Title: Re: Cron error - undefined variable
Post by: Administrator on November 26, 2014, 01:08:35 AM
you can contact support so this could be checked
http://centos-webpanel.com/contact
Title: Re: Cron error - undefined variable
Post by: ashokjp on November 26, 2014, 01:11:42 AM
done
Title: Re: Cron error - undefined variable
Post by: yak-54 on February 18, 2016, 08:31:52 PM
did you work what it was i have the same issue
Title: Re: Cron error - undefined variable
Post by: buneyha on June 12, 2016, 04:17:01 AM
me three
i'm on 0.9.8.14
Title: Re: Cron error - undefined variable
Post by: Jae on June 13, 2016, 04:03:43 AM
You can actually ignore error mesages, as long as backup process finished and files/folders inside backup same as sources.
Title: Re: Cron error - undefined variable
Post by: pixelpadre on June 20, 2016, 08:16:58 PM
me too.