WordPress.org

Ready to get started?Download WordPress

Forums

WP Db Abstraction
[resolved] sqlsrv_wpdb (4 posts)

  1. Andyt8
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/plugins/wordpress-database-abstraction/

  2. Andyt8
    Member
    Posted 2 years ago #

    Doesn't know why, but applied a fix from sourceforge (also found it here in a thread):

    >>>
    translations.php
    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.

  3. Andyt8
    Member
    Posted 2 years ago #

    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...

  4. Andyt8
    Member
    Posted 2 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic