WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: BackUpWordPress] [patch] how to fix SQL Data truncated problem (1 post)

  1. ntonirulez
    Member
    Posted 5 years ago #

    Please locate this file named

    manage_backups.php

    in folder:

    wp_content/plugins/backupwordpress/bkpwp-classes

    Then locate on, around line 706, a line of code which is similar to:

    if (!fwrite($handle, $sql)) {

    and replace it with

    if (!fwrite($handle, utf8_encode($sql))) {

    That's all folks.
    This fixes the SQL Data trunked problem, by forcing backupwordpress to write down UTF-8 data. With this patch, strange characters in posts do not cause problems to your backups anymore.

Topic Closed

This topic has been closed to new replies.

About this Topic