point client to server

Asked by Craig Ostrander

I have server running on the same machine as the client. Server is in c:/xampp/xibo
How do I point the client to that? Sorry for such a basic question but it has really got me stumped.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Marc Stewart (marc.stewart) said :
#1
Revision history for this message
Craig Ostrander (cbccraig) said :
#2

yes i have tried that but not sure I am getting the syntax correct. What should follow http://localhost ? I tried localhost/xampp/xibo and all sorts of other things but for some reason I am not getting it.

Revision history for this message
Marc Stewart (marc.stewart) said :
#3

Sorry, I should have suggested http://localhost/xibo (too busy thinking to suggest the IP number) as the xampp folder is typically the root directory for the server.

Revision history for this message
Craig Ostrander (cbccraig) said :
#4

Marc, still not doing it. Won't let me register display and when I open the client I just get a full screen xibo splash screen that I have to ctrl, alt, delete to close. I sure don't understand this as it should not be that difficult. Guess I'll eventually stumble onto the solution. Probably something really simple I am overlooking.

Revision history for this message
Marc Stewart (marc.stewart) said :
#5

I don't think it should be that difficult either. I double-checked the URL here: http://wiki.xibo.org.uk/wiki/Install_Guide_Xibo_Server#Install_Xibo_2 (just before the 4th image) so I'm surprised it's not working for you and don't know what else to suggest there. But since there's still some configuration to go after visiting that address, should you really be trying to run the client yet? (I'm assuming that you've been installing the server as well as the client, and that it wasn't already known to work with another client; please correct me if I'm wrong)

Revision history for this message
Craig Ostrander (cbccraig) said :
#6

I am pretty sure I completed all the server installation. Selected all the defaults, created the database and established the library. I ran the server and set up a simple layout then tried to run the client and that is where I am stuck now. And yes this is a first time run for me. I just discovered this program yesterday and am trying to determine if it is something I can use. It seems it will do as I need once I can get it running. Like you I am drawing blanks now as to what to do so perhaps sleep on it and give it a go again tomorrow. Thank you for trying to help and if something else comes to mind please chime in again. Perhaps someone else has had the same problem and will read this and pass along how they got past this issue.

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

What address do you use to log in to the web interface?

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Dan Garner (dangarner) said :
#8

Have you run through the xibo client options and clicked "register display"?
if so what is the message you receive in response?

On 2 Apr 2010 09:07, "Alex Harrington" <email address hidden>
wrote:

Question #106241 on Xibo changed:
https://answers.launchpad.net/xibo/+question/106241
Alex Harrington proposed the following answer:
What address do you use to log in to the web interface?

This email carries a disclaimer, a copy of which may be read at
http://learning.longhill.org.uk/disclaimer

--
You received this question notification because you are a member of Xibo
Developers, which is a...

Revision history for this message
Craig Ostrander (cbccraig) said :
#9

I log in to the web interface using http://localhost/xibo

When I go the the client options and attempt to register the display I get the following error message:
"Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<br />
<b>Parse error</b>: parse error in <b>C:\xampp\htdocs\xibo\xmds.php</b> on line <b>1</b><br />"

thanks

Revision history for this message
Craig Ostrander (cbccraig) said :
#10

Hmmm I thought I replied but do not see reply so forgive me if it appears twice.

I log into web interface using http://localhost/xibo

From the client config screen this is message i get when I try to register display:
Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<br />
<b>Parse error</b>: parse error in <b>C:\xampp\htdocs\xibo\xmds.php</b> on line <b>1</b><br />

thank you

Revision history for this message
Dan Garner (dangarner) said :
#11

Which version of Xibo are you using?

What do you have your "URI of the Xibo server" set to in the client options? It should be http://localhost/xibo

If you go to http://localhost/xibo/xmds.php in your web browser what is displayed?

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

"<br />
<b>Parse error</b>: parse error in <b>C:\xampp\htdocs\xibo\xmds.php</b> on line <b>1</b><br />"

That message suggests to me that you have either got a corrupted download of Xibo or have somehow edited xmds.php and introduced an error.

Download this: http://launchpad.net/xibo/1.0/1.0.6/+download/xibo-server-1.0.6.zip

and then overwrite your current Xibo install with the fresh download. Then login to the web interface. It'll ask you to do an upgrade. Just walk through the steps until it completes. Then try registering the client again.

Alex

Revision history for this message
Craig Ostrander (cbccraig) said :
#13

xibo version is client 1.0.7, server is 1.0.6 (which is the latest of the two I believe.
the URI if the server is set as you stated above (http://localhost/xibo)

When I log to the xmds.php in the browser i get:
Parse error: parse error in C:\xampp\htdocs\xibo\xmds.php on line 1

Below is the contents of the xmds.php file:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:xmds" xmlns:types="urn:xmds/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:RequiredFiles><serverKey xsi:type="xsd:string">492558</serverKey><hardwareKey xsi:type="xsd:string">62eb7f76067036cf2324bfae0016fc23</hardwareKey><version xsi:type="xsd:string">1</version></tns:RequiredFiles></soap:Body></soap:Envelope>

Revision history for this message
Craig Ostrander (cbccraig) said :
#14

Thanks Alex. I just saw your message after replying to Dan so I will try your suggestion. I was wondering about the version difference myself. I have not edited any of the php files so possible a corrupt file download.

Revision history for this message
Craig Ostrander (cbccraig) said :
#15

OK I did the version upgrade like Dan suggested and when I go to client options it lets me register display so and I now get scheduler screen. Seems like things are working now. If I have other issues I will address them as they come up so I consider this one solved.

Thanks everyone for your help. :)
Craig

Revision history for this message
Craig Ostrander (cbccraig) said :
#16

Thanks Alex Harrington, that solved my question.