Xibo Error "Status Client found response"

Hi there!

Been running Xibo for quite some time, however xibo has stopped working. Cant add new displays, and old displays are not updating. Saving the configuration for Xibo results in;

Status
Client found response content type of ‘text/html; charset=UTF-8’, but expected ‘text/xml’.
The request failed with an empty response.

I looked up previous threads where the suggestion was to modify php.ini’s setting (always_populate_raw_post_data = -1 Updated XAMPP - Client Found Response Content Type of ‘TEXT/HTML’) however this makes no difference under php5.6 and this setting is no longer an option under php7+

Running 1.8.11 with latest clients.

Apache2 Log

xibo:80 192.168.30.60 - - [05/Nov/2018:16:56:40 +0800] “POST //xmds.php?v=5&method=registerDisplay HTTP/1.1” 500 185 “-” “Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)”

Dashboard etc loads fine.

Docker is not an option.

Thanks in advance for any help!

A 500 on register suggests the CMS isn’t happy with the request.

You’d need to look in the CMS logs to see why, and potentially enable auditing to get more information.

Check first though that the CMS key hasn’t been changed.

Hi Alex,

Thank you for the reply! I’ve been able to resolve this. Logging wasnt showing anything even when debug was turned on, i changed the “server mode” from production to testing and was greeted with logs.

For the benefit of others, after the above changes and this is what the client shows;

Status
Client found response content type of ‘text/html; charset=UTF-8’, but expected ‘text/xml’.
The request failed with the error message:


Fatal error: Uncaught Error: Class 'SoapServer' not found in /usr/local/share/xibo/web/xmds.php:229 Stack trace: #0 {main} thrown in /usr/local/share/xibo/web/xmds.php on line 229

–.

As for Xibo itself, there was nothing out of the ordinary on the logs.

However after googling that error, I found a stackoverflow post (https://stackoverflow.com/questions/11391442/fatal-error-class-soapclient-not-found)

To fix it
Make sure php7.0-soap is installed (mine was not, not sure why but it wasnt), then do the following:

  1. Locate php.ini in your apache bin folder, I.e Apache2/bin/php.ini
  2. Remove the ; from the beginning of extension=php_soap.dll
  3. Restart your Apache server

Regards
thatitguy

For reference, you’d have been shown that was missing if you’d gone to “Report Fault” in the environment checks section.

I guess you changed PHP version under Xibo then, as it wouldn’t allow you to install or upgrade if soap is missing.