WordPress.org

Ready to get started?Download WordPress

Forums

Backup Restore Plugin doesn't work for WP2.2 (5 posts)

  1. gixbecks
    Member
    Posted 6 years ago #

    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 {
    		 ?>
  2. whooami
    Member
    Posted 6 years ago #

    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.

  3. gixbecks
    Member
    Posted 6 years ago #

    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?

  4. whooami
    Member
    Posted 6 years ago #

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

  5. gixbecks
    Member
    Posted 6 years ago #

    thanks i'll try check with them!

Topic Closed

This topic has been closed to new replies.

About this Topic