• please anyone can help, i am using this great BACKUP RESTORE plugin since I start using WP, it is always doing great until I use it after upgraded to 2.2.1

    Error msg:

    Warning: passthru() has been disabled for security reasons in /home/domains/website.com/public_html/blog/wp-content/plugins/backuprestoreAdmin.php on line 21
    Backup Successful.

    but then there’s no SQL file backup at my “backup” folder on server.

    on the php file line 21, it wrote:

    echo passthru("mysqldump --opt -h$server -u$loginsql -p$passsql $base >$file_name");

    *the whole paragraph:

    switch($_GET['action']) {
     case 'backupdatabase':
    	 $datum = date('Ymd-His');
    	 $base_file_name = $base . '_' . $datum . ".sql";
    	 $file_name = $path . $base_file_name;
    	 echo '<div class="wrap">';
    	 //echo "mysqldump --opt -h$server -u$loginsql -p$passsql $base >$file_name ";
    	 echo passthru("mysqldump --opt -h$server -u$loginsql -p$passsql $base >$file_name");
    	 echo 'Backup Successful. <br/><a href="' . $siteurl . '/' . $backup_folder . $base_file_name . '">Download the new Backup Sql File</a>';
    	 echo '</div>';
    	 if ($user_level > 0) {
    		 include('backuprestoreForm.php');
    	 } else {
    		 ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Warning: passthru() has been disabled for security reasons in /home/domains/website.com/public_html/blog/wp-content/plugins/backuprestoreAdmin.php on line 21

    thats not an error with the plugin. passthru is a commonly blocked from by some hosts since allowing it’s usage can lead to security issues.

    Thread Starter gixbecks

    (@gixbecks)

    oh thx whooami for quick response, but how can i fix it?
    ask my hosting company to help?

    if so, what should i ask them to do for me?

    you can ask — I doubt theyre going to decide to allow it though.

    Thread Starter gixbecks

    (@gixbecks)

    thanks i’ll try check with them!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Backup Restore Plugin doesn’t work for WP2.2’ is closed to new replies.