Forum Replies Created

Viewing 1 replies (of 1 total)
  • I’m using 1.7, and I’ve found that having other tables with hyphens in their names causes the backup utility to hang at the start because of a Javascript error (which is made my the output of MySQL error). I fixed this, by changing line 200 from this…

    $rec_count = $wpdb->get_var(“SELECT count(*) FROM {$table}”);

    to this…

    $rec_count = $wpdb->get_var(“SELECT count(*) FROM {$table}“);

    and line 497 from this….

    $table_data = $wpdb->get_results(“SELECT * FROM $table LIMIT {$row_start}, {$row_inc}”, ARRAY_A);

    to this…

    $table_data = $wpdb->get_results(“SELECT * FROM $table LIMIT {$row_start}, {$row_inc}”, ARRAY_A);

    However, now it’s haning at 95% of the backup.. so part of the solution is in there, but I haven’t dug down to the last fix.

    Nick Sterling
    Indiana University Bloomington

Viewing 1 replies (of 1 total)