Styles not working after Window 2016 Installation

Styles not working after Window 2016 Installation

by Claudionir Queiroz -
Number of replies: 5

Hi friends, I tried to install Moodle more than 5 times in different ways on our Windows Server 2016, but at the end the same issue is happening.  The styles is not loading or working (see image below):

Error after installation

As you can see, some errors were thrown in console, but I'm new in PHP development and I don't know how to fix them.

Any help will be appreciated.

Thanks, 

Claudionir Queiroz

Ps.: The red marks represent the domain address

Average of ratings: -
In reply to Claudionir Queiroz

Re: Styles not working after Window 2016 Installation

by Claudionir Queiroz -
I fix the issue. For those facing the same issue, see what I did: On IIS Default Website, O converted the moodle folder to an Application, then in Application Pools node set the True value to the "Enable 32-Bit Applications" option and finally on Server node on FastCGI Settings I encrease the Intance MaxReques to 300.

Hope these settings help others.

Thanks,

Claudionir
In reply to Claudionir Queiroz

Re: Styles not working after Window 2016 Installation

by Ken Task -
Picture of Particularly helpful Moodlers

Got your PM.  Really can't help ... don't run Windows anything anymore.   Maybe Usman can confirm, but from past experience, Moodle should have 64 Bit PHP.   You will have problems with course backups/restores and anything that gets to a 4 Gig limit (if I re-call correctly).

Any Windows experts ... please confirm my feeble memory! smile

'SoS', Ken

In reply to Ken Task

Re: Styles not working after Window 2016 Installation

by Claudionir Queiroz -

Thanks for you fast response.

I finally fixed the issue and apparently it is working as a charm, but I'll monitor its behavior and move to another server if we have others issues in the future.

One more time, thank you for your collaboration in the forum and have a nice day.

Claudionir 


In reply to Claudionir Queiroz

Re: Styles not working after Window 2016 Installation

by Usman Asar -
Picture of Plugin developers Picture of Testers
Claudionir, which version of PHP have you downloaded? 32-bit or 64-bit? also Thread Safe or Non-Thread safe? ken has mentioned using 64-bit, and he's right not just in terms of memory limit, but PHP application performance as well. I had created a tutorial in past on 2012R2, but still applies on server 2019, you can have a look here. You may want to have a look at it before using it in production environment.
In reply to Usman Asar

Re: Styles not working after Window 2016 Installation

by Claudionir Queiroz -

Hi Asar, all is well now. I followed your tutoria to install Moodle, but the issue happened after the installation.

My PHP version is 7.3.3 Non-Thread safety. 

Thanks,

Claudionir