Hi,
I am getting this error in the Apache logs every time I browse the backups:
[Wed Jan 07 09:16:31.673671 2015] [cgi:error] [pid 7594] [client 192.168.1.11:50639] AH01215: [Wed Jan 7 09:16:31 2015] realindex.cgi: defined(@array) is deprecated at /usr/share/backuppc/lib/ BackupPC/CGI/Browse.pm line 68., [Wed Jan 07 09:16:31.674169 2015] [cgi:error] [pid 7594] [client 192.168.1.11:50639] AH01215: [Wed Jan 7 09:16:31 2015] realindex.cgi: \t(Maybe you should just omit the defined()?),
The line in question is if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 )
{
Can I just remove the highlighted text? Presumably originally you had to do the test or it would fail if not defined. Removing that text seems to fix it.
Regards, Lance ------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|