Unable to register clients - expected 'text/xml' problem

Asked by Meric De Silva

Hi there,

I'm running the xibo server 1.4.2.2 via my web hosting service.

When I try to register a new client (windows 1.4.2 client) I get the error below;

Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>500 Internal Server Error</title>
<style type="text/css">
<!--
body {
 margin: 0px;
 padding: 0px;
 font-family: Arial, Helvetica, sans-serif;
 font-color: #000000;
}
#wrapper {
 text-align: left;
 width: 580px;
 margin-top: 50px;
 margin-right: auto;
 margin-bottom: 0px;
 margin-left: auto;
}
.title{
 font-size: 20px;
 font-weight: bold;
}

.linktext { font-size: 12px
}
-->
</style>
</head>

<body>

  <div id="wrapper"><p><img src="hplogo.gif" width="580" height="70" /></p>
  <p class="title">500 Internal Server Error</p>
  <p>The page cannot be displayed.</p>
  <p><span class="linktext">Return to <a href="/" target="_self">home page</a></span></p>
  </div>

</body>
</html>

--.

Originally when I was trying to install the server it would fail due to the fact that the soap extension wasn't enabled. But once I got my hosting site to enable it the install went ahead without any problems.

Looking at the error logs in my cpanel I see two entries when I try to register a client;

[Mon Apr 15 20:21:10 2013] [error] [client 94.***.***.***] File does not exist: /home/redacted/public_html/xibo/lib/js/fault.js, referer: http://www.redacted.co.uk/xibo/index.php?p=fault&
[Mon Apr 15 20:13:09 2013] [error] [client 94.***.***.***] File does not exist: /home/redacted/public_html/xibo/3rdparty/jQuery/ui-elements.css, referer: http://www.redacted.co.uk/xibo/

If I look in /home/redacted/public_html/xibo/lib/js/ there is no fault.js file, and the /home/redacted/public_html/xibo/3rdparty/jQuery/ similarly has no ui-elements.css file within.

I've tried to register 3 different clients from two seperate networks running xp x32, win7 x32 & win7 x64 and I always get the same error, which leads me to believe it's a server side problem.

If I look within the xibo CMS interface I can see the three clients and activate their licenses under the 'Display' tab, but this has no effect on the actual clients.

Any help would be greatly appreciated.

Regards,

M

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Your server is sending an error on register.

Make sure your server library path in the settings is fully qualified - for example:

c:\XiboLibrary

or

/path/to/XiboLibrary

Not

XiboLibrary

or

../XiboLibrary

etc

Alex

Revision history for this message
Meric De Silva (meric-desilva) said :
#2

Hi Alex,

Thanks for replying so quickly.

The library path within the CMS is already set to;

/home/redacted/public_html/XiboLibrary/

I just uploaded a file to test and I'm seeing it (along with a temp folder) inside the XiboLibrary folder.

Regards,

Meric

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Try putting the server in to full debug and audit mode, and set test mode
in the options too. Then see what's logged when you try and register a
client

Revision history for this message
Meric De Silva (meric-desilva) said :
#4

Hi Alex,

These are the only logs displayed when in debug/test mode;

2013-04-16 15:46:32 Granted admin access to page: report
2013-04-16 15:46:29 xmds RegisterDisplay Display is awaiting licensing approval from an Administrator.
2013-04-16 15:46:29 DisplayGroup Touch OUT
2013-04-16 15:46:29 DisplayGroup Touch IN
2013-04-16 15:46:29 xmds RegisterDisplay serverKey [***************], hardwareKey [579287d8a7f9**********], displayName [ADMIN101]
2013-04-16 15:46:29 xmds RegisterDisplay [IN]

The original error is still being displayed by the client.

Regards,

Meric

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Make sure your server key is alpha numeric only and does not contain any
unicode characters or punctuation

Revision history for this message
Meric De Silva (meric-desilva) said :
#6

Hi Alex,

My server key is alphanumeric, I just redacted it to post the log on here.

Regards,

Meric

Revision history for this message
Alex Harrington (alexharrington) said :
#7

I'm out of ideas then. There's something in the server that's causing an issue.

Can you check the Apache logs and see if there's anything logged there?

Failing that, try upgrading to 1.4.2 again (just as you would if you were upgrading from an earlier version) incase there's some corruption in the installation somewhere.

Alex

Revision history for this message
Meric De Silva (meric-desilva) said :
#8

Hi Alex,

I've asked for a copy of the logs from my provider.

I'll try installing the server again. I was just wondering (after looking at something similar).... I have Zend Guard enabled on my server. Would this affect xibo in any way?

Regards,

Meric

Revision history for this message
Alex Harrington (alexharrington) said :
#9

Hi

It may do yes. I'm not sure

Alex

Can you help with this problem?

Provide an answer of your own, or ask Meric De Silva for more information if necessary.

To post a message you must log in.