Changing admin password

Following the instructions on-line, I have been trying to change the Admin Password under ‘Edit Administrator’ via a web page GUI, but when I click on Submit Changes, the page returns to a ‘login’ page and the password has not been changed.
If I change the Admin Password and click on Apply Config an error message of; Did not receive valid response from server
XHR response code: 200 XHR response text: undefined jQuirey status: parserror

Any Ideas before I proceed any further

I found that running amportal chown from command prompt on the computer running FreePBX and then logging back in via web browser and changing the Admin Password now works.