• The form is not exporting in excel (* .xls) and the CSV file is all
    hugger-mugger.
    What is the forecast to fix the export option in excel?

Viewing 2 replies - 1 through 2 (of 2 total)
  • same issue here, I really need this to work again

    I can export correctly. But has no contents. I think different settings are made between wordpress core and this plugin about use_mysqli.

    *Wordpress core
    wp-db.php (__constructor())

    *Plug in
    CFDBQueryResultIterator.php (shouldUseMySqli())
    CFDBWpdbUnbufferedResultIterator.php (shouldUseMySqli())

    So I have replace shouldUseMySqli() to below in CFDBQueryResultIterator.php and CFDBWpdbUnbufferedResultIterator.php.

    public function shouldUseMySqli() {
    $use_mysqli = false;
    // Use ext/mysqli if it exists unless WP_USE_EXT_MYSQL is defined as true
    if ( function_exists( ‘mysqli_connect’ ) ) {
    $use_mysqli = true;
    if ( defined( ‘WP_USE_EXT_MYSQL’ ) ) {
    $use_mysqli = ! WP_USE_EXT_MYSQL;
    }
    }
    return $use_mysqli;
    }

    *My environment
    wordpress 4.9.2
    contact-form-7-to-database-extension-2.10.34

    It looks like it is working. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The form is not exporting in excel (CFDB)’ is closed to new replies.