Quote:
Originally Posted by Manoel J?nior
Can anyone help me create a CRON day for this HACK? I'm trying with the following syntax:
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($vbulletin->db)) exit;
@ignore_user_abort(1);
@set_magic_quotes_runtime(0);
require_once(DIR.'/includes/adminfunctions.php');
require_once(DIR.'/admincp/ybackup_dumper.php');
$command = 'exec'; // exec, system or passthru
$ybackup_dumper = &new ybackup_dumper($command, $vbulletin->ybackup_dumper, $vbulletin->options);
$ybackup_dumper->cronBackup();
echo '<br />'.$ybackup_dumper->STATUS;
log_cron_action($ybackup_dumper->STATUS, $nextitem);
?>
|
Did you made up with the cron?
Also I have some errors after upgrading to php 5.4.3. Depected error.
Solution:
Open: includes/adminfunctions_ydumper and find:
Code:
mysql_escape_string
Replace with:
Code:
mysql_real_escape_string
That should do the trick

.