I am unable to input an Admin password during the installation of 4.1.1. The configuration is PHP 7.4 and Mariadb 10.5.
When I try to enter a password, I see a message /user/editadvanced.php#
What would cause this issue? Is there a workaround?Is that all of the message you see?
"/user/editadvanced.php#"
Has to do with Ajax and special protections for password boxes ... problem has been around for a while - not everyone affected.
Fix - depends - got command line access to your server? If so use the install.php script in code/admin/cli/ You will be prompted for the same things the GUI did and the password you can enter in clear text.
Otherwise ... do you have a web application firewall that's blocking? Is your site behind CloudFlare?
Check web server error logs.
'SoS', Ken
Yes, that is the only message when I click to input a password. I am on a VPS with InMotion.
I am in the process of figuring out how to navigate to the c-Panel from root WHM.
I believe there is a firewall on the server.
WHM - Web Hosting Management
https://www.inmotionhosting.com/support/edu/whm/
You can log into WHM using variations of your domain name, or hostname.
cPanel:
https://www.inmotionhosting.com/support/edu/cpanel/how-to-log-into-cpanel/
All Inmotion hosted servers have a firewall - or they should - which/what depends upon the operating system of the allocated Web server.
It is possible that you did not really allocate any new web server and that both WHM and cPanel are really the same machine/IP address.
Along with your 'guest' OS + Web Server + Moodle code + DB server.
I'll send you a PM here in moodle with a question ... please respond there!
'SoS', Ken
Thank you. I was able to access cpanel using Terminal in rootWHM. However, when I initiate: sudo -u apache /usr/bin/php /admin/cli/install.php -help from the directory I get a response back that the directory doesn't exist. Is this message from install.php?
below is the message.
.
Also, what is the acronym PM?
Thank you.
Change into the code directory - that's your 'elearning' in public_html and issue
php ./admin/cli/install.php --help
Your cli environment already knows the path to php-cli (the php above) but needs to be directed to the php script to run ... look beginning in the present working directory (the ./) in admin/cli/ for install.php and you need to have -- in front of help rather than single - to pull up the help screen which will scroll on ya cause there is lots to look at.
So if you loose the top of that help:
php ./admin/cli/install.php --help |more
|more will show one screen at a time and then pause. Spacebar for next page.
PM means 'private messaging'. first icon to the left of your pic.
'SoS', Ken
Looks like several possibles ...
Check out the chart for requirements to run a 4.1.x @
http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases
To see if you have what you need from Terminal (WHM as root in the domain of the moodle site:
which php
will show path to php-cli your system will find first (you could have the ability to set PHP version per domain) Remember, you need min version shown in chart link above.
php -v
That command will show the version of php-cli - which isn't the same as the php that runs for the web services.
When it comes to WHM/cPanel setups, WHM rules the roost and one allocates servers by domain ... which in your case might actually be on the same server.
Accessing the cPanel for the domain, is by IP address. It is in cPanel that you might see a tool called 'Easy Apache' ... which is somewhat misleading as it really pertains to which PHP version + php extensions one runs for allocated domain.
Previously, I gave you a command to run and you reported it did not work ... that's because the 'devils are in the details' ...
I suggested you:
cd /path/to/moodlecodedirctory
Then issue:
php ./admin/script.php ... note the ./ in front ... that means present working directory ... you ran php /admin/ which is not present working directory.
Sorting this out remotely and via forum is only as good as:
1. info you provide
2. execution of commands paying attention to detail.
I offered via Private Messaging on this system to have a chat with you - cell phone since your profile shows you are in USA - am in San Antonio, Tx and might be in same time zone!
Also see you have gmail.com address ... we could possibly setup a google meet where you invite me to see your screens - and since that has audio I might be able to guide you.
All that for nada - nothing - zip - for free! But the offer isn't on the table for much longer as I do have other customers and a life!
'SoS', Ken
Try turning off slash arguments by adding $CFG->slasharguments = 0 to config.php.
If this works you should configure your web server software to enable slash arguments.
If it's still not working open your browser's developer tools (for example Web Console in Firefox) and see if any errors are displayed).