Advertisement:

Author Topic: Windows Server update broke the forum  (Read 2859 times)

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Windows Server update broke the forum
« on: April 14, 2019, 10:09:29 AM »
oh.... windows.....   >:( >:( >:( >:(
2019-04 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4493470) broke the forum.   

Release Date:
April 9, 2019

Version:
OS Build 14393.2906


Quote
Not found: '/index.php'
 

But it's there..... right where it always was.

Other websites asp.net and html running on the same server still work.

Bill Gates what did you do to my server?

I try running phpinfo.php and it says   Not found     >:(
« Last Edit: April 14, 2019, 10:23:35 AM by AlanDewey »
Causing lots of electrons to push each other around since 1985.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,201
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Windows Server update broke the forum
« Reply #1 on: April 14, 2019, 10:42:52 AM »
Running IIS? What version of PHP?

Did you install PHP manually?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Re: Windows Server update broke the forum
« Reply #2 on: April 14, 2019, 10:44:03 AM »
PHP: 7.1.26
Server version: Microsoft-IIS/10.0      (microsoft server 2016)



As far as I can tell, the server has stopped running   php

  • system variables still has c:\php  is in the path
  • pathext  still has  the .php

Even within the c:\php directory, I can't get any thing to happen.

I am new to php, so don't know what to do next.
Causing lots of electrons to push each other around since 1985.

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Re: Windows Server update broke the forum
« Reply #3 on: April 14, 2019, 10:45:50 AM »
here is something...

I type php /?  and get

Quote
PHP Warning:  PHP Startup: Unable to load dynamic library 'ext\php_mysql.dll' - The specified module could not be found.
 in Unknown on line 0
Could not open input file: /?
Causing lots of electrons to push each other around since 1985.

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Re: Windows Server update broke the forum
« Reply #4 on: April 14, 2019, 10:48:54 AM »
just looked in   c:\php\ext  and I see that I do not have php_mysql.dll   

but I do have    php_mysqli.dll     in there.

So maybe windows update is not the problem and maybe it was something I did wrong that only showed up when I restarted the server?
Causing lots of electrons to push each other around since 1985.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,201
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Windows Server update broke the forum
« Reply #5 on: April 14, 2019, 10:55:34 AM »
Open up your php.ini and find the line php_mysql.dll and comment it out. That extension is no longer part of PHP 7.0
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Re: Windows Server update broke the forum
« Reply #6 on: April 14, 2019, 11:03:37 AM »
we are getting there, thanks for the help....

I commented out

but now I get this, so I must have made another mistake.....   oh... and I can not find a backup of php.ini....  I feel so dumb...

PHP Parse error:  syntax error, unexpected 'and' (T_LOGICAL_AND), expecting end of file in C:\php\php.ini on line 183
Causing lots of electrons to push each other around since 1985.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,201
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Windows Server update broke the forum
« Reply #7 on: April 14, 2019, 11:26:21 AM »
Attach your php.ini

I would also check your event viewer after your php.ini is fixed.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Re: Windows Server update broke the forum
« Reply #8 on: April 14, 2019, 11:29:55 AM »
attached
Causing lots of electrons to push each other around since 1985.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,201
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Windows Server update broke the forum
« Reply #9 on: April 14, 2019, 11:51:05 AM »
Try
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • JTK
Re: Windows Server update broke the forum
« Reply #10 on: April 14, 2019, 12:02:43 PM »
 ;D :D :) ;)

Fixed !
[/color]

THANK YOU  VBgamer45  !


Just in case other people have read this far.....

Make backups, backups, more backups. 
I had been making changes to php.ini based on recommendations I found on the internet.  Well, I guess those recommendations were not dated, or I didn't notice.   But it wasn't Bill Gates fault this time.  It was me.  I did something I shouldn't have and it did not come to light until today when the server had to get restarted for the Windows Server updates.
Causing lots of electrons to push each other around since 1985.