Not a bug Not-so-clear error message when trying to install add-ons with "wrong" chowner

On one of my XenForos, the FTP user is different from www-data, both don't share any privileges.

While I surely can see why XenForo has problems writing into a folder not owned by the web server, the error message that appears when XenForo notices it can't install an add-on by XML should be improved:

Server Error
String could not be parsed as XML

SimpleXMLElement->__construct() in AddOnInstaller/Model/AddOn.php at line 0
AddOnInstaller_Model_AddOn->getXmlType() in AddOnInstaller/ControllerAdmin/AddOn.php at line 27
AddOnInstaller_ControllerAdmin_AddOn->actionInstallUpgrade() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /var/www/new-hqshare/admin.php at line 13
Technically, it could be "parsed", right?


XenForo developer
Staff member
This particular backtrace doesn't actually have anything to do with XenForo - the file is being read by an add-on.