logicnow / BlueSky

An SSH tunneling solution for remote Mac-to-Mac connectivity (formerly a Mac-MSP product)
Apache License 2.0
39 stars 15 forks source link

admin account locked out of web interface when changing "Admin Settings" #53

Open grigutis opened 5 years ago

grigutis commented 5 years ago

To reproduce:

  1. Login as the admin user.
  2. Navigate to the Admin Area > Utilities > Admin Settings
  3. Change the sender email.
  4. Logout and try logging in again.

This is what appears in the apache error.log:

PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /usr/local/bin/BlueSky/Server/html/admin/pageHome.php:116\nStack trace:\n#0 {main}\n thrown in /usr/local/bin/BlueSky/Server/html/admin/pageHome.php on line 116

https://github.com/logicnow/BlueSky/blob/d435f662794f8b6dbbe54f5bb4883a64ac03fb97/Server/html/admin/pageHome.php#L116

grigutis commented 5 years ago

After looking at the code, I'm guessing that uncaught error isn't related, but I could be wrong.