Support » Plugin: WP Db Abstraction » [Plugin: WP Db Abstraction] sqlsrv_wpdb

  • Resolved Andyt8


    If I try to upgrade from 3.3.2 to 3.4.x I get a problem with Dashboard. The access to it is broken.

    I use WordPress on IIS 7.5 with MS SQL 2008 R2 and MS SQL 2012 php_sqlsrv.dll file. The system runs normal with WordPress 3.3.2. After an upgrade to 3.4.x I’m not able to login to Dashboard. I get only an error message “The website cannot be shown.” (original in german: “Die Website kann diese Seite nicht anzeigen.”).

    In the php-error file I found the following:

    [03-Jul-2012 05:12:03 UTC] PHP Fatal error: Call to undefined method sqlsrv_wpdb::delete() in C:\inet2pub\www2\wp-includes\option.php on line 370

    What does this mean? It seems to me WP 3.4.1 use a new function to connect to MySQL database and therefore it is missing a redirection to the MSSQL database. Maybe it is something else?

    Please for help.
    regards, Andyt

Viewing 3 replies - 1 through 3 (of 3 total)
  • Doesn’t know why, but applied a fix from sourceforge (also found it here in a thread):

    line 726
    Change this: $pattern = ‘/LIMIT\s*(\d+)((\s*,?\s*)(\d+)*)(;{0,1})$/is’;
    to this: $pattern = ‘/LIMIT\s*(\d+)((\s*,?\s*)(\d+)*);{0,1}$/is’;

    Now I was able to do a database upgrade and the website work normal. It seems to me it fixed my problems.

    Sorry, but not all problems are resolved.

    Another WP 3.3.2 installation and after upgrade to WP 3.4.1 I got a damaged Dashboard. The error message: 500 – internal server error. The website with sites and posts work normal. Only after login an moving to Dashboard shows the error.

    At the moment I have no further information…

    I desided to create a new installation and import the old posts. So at the moment it is fixed for me, but not for all…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Db Abstraction] sqlsrv_wpdb’ is closed to new replies.