stuck at install/admin settings page

stuck at install/admin settings page

Frank Madison發表於
Number of replies: 6
Brand new install.  When I go to localhost/moodle, it loads and brings me to install page to setup admin pw and email address. After entering info, I hit update profile, then it just brings the same page back up again. Any suggestions? 

IIS 10
Maria db 10.40
php 7.4.22
評比平均分數: -
In reply to Frank Madison

Re: stuck at install/admin settings page

Frank Madison發表於
Figured it out, some reason I was getting this error:

PHP Warning: Unknown: POST Content-Length of 579 bytes exceeds the limit of 500 bytes in Unknown on line 0

I had post max size at 500; which is what I had setup on my other install. Not sure why this one was having issues, but updated to 600 and now able to get past admin page.
In reply to Frank Madison

Re: stuck at install/admin settings page

Leon Stringer發表於
Core developers的相片 Particularly helpful Moodlers的相片

PHP setting post_max_size is in bytes, so you'll want a much higher value for this and upload_max_filesize. Something like 128M at a minimum.

These values limit the maximum allowed size of files uploaded to Moodle. With IIS there's a third value also: maxAllowedContentLength.

In reply to Leon Stringer

Re: stuck at install/admin settings page

Samy Lushima發表於
Hello,

I am new admin on Moodle and just upgraded Moodle from 8.9.1 to 8.11.2 on a Windows 16 Server and everything went fine until I logged in and got stuck on the user edit page. I filled out the required fields and when I hit update, I cannot get past the user edit page and when click on any tab, it is getting me back to the edit user page again. I saw in the forum that I have to update the post_max_size and upload_max_filesize which I changed the number by going to C\PHP\php.ini. Is this the right way of doing it as simple as just change the numbers like I did or I have to change them in other directories? Does someone have a step by step process? Again I am using Windows server 2016. Please help
In reply to Frank Madison

Re: stuck at install/admin settings page

Samy Lushima發表於
Hello,

I am new admin on Moodle and just upgraded Moodle from 8.9.1 to 8.11.2 on a Windows 16 Server and everything went fine until I logged in and got stuck on the user edit page. I filled out the required fields and when I hit update, I cannot get past the user edit page and when click on any tab, it is getting me back to the edit user page again. I saw in the forum that I have to update the post_max_size and upload_max_filesize which I changed the number by going to C\PHP\php.ini. Is this the right way of doing it as simple as just change the numbers like I did or I have to change them in other directories? Does someone have a step by step process? Again I am using Windows server 2016. Please help
In reply to Samy Lushima

Re: stuck at install/admin settings page

Frank Madison發表於
yes, that is correct how to change it. Just remember it says like post_max_size = 500M; (don't forget that M)

Alternately, you could also make those changes if you're using PHP manager in IIS. IIS -> PHP Manager -> PHP Settings -> Set runtime limits.
In reply to Frank Madison

Re: stuck at install/admin settings page

Samy Lushima發表於
Hello Frank,

I changed but it did not work for me. I still cannot get past the edit profile user page. Any other suggestions?

Thanks