Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Fixing WordPress
    In reply to: 4.2 broke MSSQL

    Hallo,

    insert into function translate_general($query) in file \wp-content\mu-plugins\wp-db-abstraction\translations\sqlsrv\translations.php this code:

    // SHOW FULL COLUMNS
    if ( stripos($query, 'SHOW FULL COLUMNS FROM ') === 0 ) {
         $end_pos = strlen($query);
         $param = substr($query, 23, $end_pos - 23);
         $param = "'". trim($param, "'") . "'";
         $query = 'SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ' . $param;
    }

    After WP can be update to last version (4.2.4) and work on IIS and MS SQL on Windows. I love It ??

Viewing 1 replies (of 1 total)