I am having issues with the install of Modbak.
I am using MODx 0.9.6.1 with Modbak 0.9.4.
First, I got a blank page. I checked the error logs (System Events page).
The error was
- syntax error, unexpected ’<’
I removed the <> around the email on line 4 in the modbak.module.tpl file.
When I ran Modbak again, the second error was
- Backup directory /var/www/html/_backup/ does not exist
In the settings page, I had changed my file to /home/myusername/_backup, Modbak was not reading this file. So I made a new file in the public directory /_backup.
I ran Modback again, I got this error
- Error while inserting event log into database.
The error logs say
- Undefined index: nrtotalmessages
So I found "nrtotalmessages" in the header.inc.php file on line 42.
- // set tree to default action.
parent.menu.ca = "open";
function msgCount() {
try {
top.scripter.startmsgcount(<?php echo $_SESSION[’nrnewmessages’] ; ?>,<?php echo $_SESSION[’nrtotalmessages’] ; ?>,<?php echo $messagesallowed ? 1:0 ; ?>);
} catch(oException) {
ww = window.setTimeout(’msgCount()’,1000);
}
}
Anyone got a resolution to this? It’s gone over my head at this point.