• Server: Windows 2008r2/IIS, wordpress debug_mode on.

    Clicking the one-button upgrade I got “Notice: Undefined index: islink in C:\inetpub\wwwroot\wp-admin\includes\class-wp-filesystem-ftpext.php on line 458” 1190 times.

    It was followed by “Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24 bytes) in C:\inetpub\wwwroot\wp-admin\includes\file.php on line 155”

    Believing I had enough memory and that the problem was in the first 1190 messages, I searched for “Undefined index: islink” and eventually came to this 3.5 patch: https://core.trac.www.ads-software.com/ticket/27975. Even though it was for 3.5 I gave it a shot.

    Since it was for the same line of code I attempted to apply the patch:
    if ( isset( $b['islink'] ) && $b['islink'] )

    This is what happened:
    Update WordPress

    Downloading update from https://downloads.www.ads-software.com/release/wordpress-4.3.1-no-content.zip…

    Unpacking the update…

    Verifying the unpacked files…

    Preparing to install the latest version…

    Enabling Maintenance mode…

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 65488 bytes) in C:\inetpub\wwwroot\wp-admin\includes\file.php on line 159

    Attempting the manual upgrade, following the extended instructions, I got an internal server error and just rolled back to the 4.3 version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just asking… Why are you running Windows IIS?

    Thread Starter CESTES

    (@cestes)

    I’m limited by the servers we have in-house. The sys-admin uses Windows. Not my choice.

    Thread Starter CESTES

    (@cestes)

    Huh. Lot of help here. Guess Drupal would have been a better choice.

    You have to manually edit file.php to change line 159 to:

    if ( empty( $filename ) || ‘.’ == $filename || DIRECTORY_SEPARATOR == $filename ) {

    and things will then work with Windows. When is this going to go into the base code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘One button update on windows 2008/IIS’ is closed to new replies.