Have an issue with a new install.
Created an Back called Now and copied over a similar back from the Machine I am attempting to replicate. The Restore fails with an error in the HTPP Log file.
[Sun Feb 15 14:26:57 2009] [error] [client 172.16.200.13] PHP Notice: Undefined variable: Message in /var/www/html/admin/modules/backup/schedule_functions.php on line 250,
referer: http://172.16.200.50/admin/config.php?type=tool&display=backup&action=restore&dir=/var/lib/asterisk/backups/Now/20090215.14.23.02.tar.gz&file=20090215.14.23.02.tar.gz
Line 250 is in an error routine that indicates it needs help. But no real explanation as to how it got here…
if (! $error) {
$Message=_("Restore Failed, see System Status Notification for details");
return ($Message);
} else {
// TODO: put in notification error and add code above to collect details
// along the way to put something meaningful in it
//
return ($Message); <<< Line 250
}
[code]
PBX in a Flash Version 1.3 Daemon Status
- Asterisk * ONLINE * Zaptel * ONLINE * MySQL * ONLINE *
- SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE *
- Fail2ban * ONLINE * IP Connect* ONLINE * Ip6tables * ONLINE *
- BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
- Sendmail * ONLINE * Samba * OFFLINE * Webmin * ONLINE *
- Ethernet0 * ONLINE * Ethernet1 * N/A * Wlan0 * N/A *
- Running Asterisk Version : Asterisk 1.4.21.2
- Asterisk Source Version : 1.4.21.2
- Zaptel Source Version : 1.4.12.1
- Libpri Source Version : 1.4.8
- Addons Source Version : 1.4.7
pbx.local on 172.16.200.50 - eth0
CentOS release 5.2 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5
FreePBX ==
Core setup 2.5.1.5 Enabled
FreePBX Framework setup 2.5.1.1 Enabled
Backup & Restore tool 2.5.1.6 Enabled
[/core]
Can anyone with more familiarity to the code help with some direction please –