Client won't open up design, only seeing splash screen

Asked by Carlos Jimenez

Hi there,

I also have a problem getting content en the client screen. I have installed server and client on two different PCs and set up a display in the client options, which is currently displaying the Xibo splash screen, but the scheduled Layout won't start.
In the client options I have successfully entered all the information, as stated by Dan in a different post:

"1. Open the Xibo Client Options
   2. Set up your "URI" to point to PC A
   3. Set up your "Server Key" to be the same as the key you set during the
   server install
   4. Press Save
   5. Go to the Register display tab
   6. Click Register - you should see a message from the Xibo Server in the
   box below
   7. Click Display Admin to automatically load the display Admin screen
   from the Xibo Server.
   8. Edit your display (will be named like the PC) and set Licensed to
   "Yes"
"
So far, the display is licensed and ready. Now, what do I have to type in the field of "Local Library Location"? Right now I set it to the the network address of the server PC, something like \\PCName\XiboLibrary.
What do I have to enter here?

When I schedule my layout with a background picture, an RSS feed, an embedded weather widget and a power point slideshow at any time, it will not start. Tried the Default Layout, didn't do anything either.

Thank you!

Question information

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

Hi

I've just answered this for you in another thread. You need to set your Library Location to a folder on the client PC. The default we provide should be fine, but if you change it you'll need to create the folder yourself first.

Alex

Revision history for this message
Carlos Jimenez (telenovelda) said :
#2

Sorry about that, I thought maybe you wouldn't see the question in an older thread since the status didn't change.

Anyways, thanks for the fast response! in the client PC I made a new folder in C: which I named XiboLibrary and in the client options I linked to it.

Still, the client PC doesn't show my design. At 13:00H I schedule it to broadcast my design at 13:05 and can wait for ages, but nothing happens.
I have V1.0.5 installed on two Windows PCs and so far I had installed everything correctly. If you need any information to solve this problem, I would be more than happy to give it to you.

Thanks in advance.

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

In the folder you created, has the client downloaded any files?

Alex

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

Is the RSS feed in English?

Revision history for this message
Carlos Jimenez (telenovelda) said :
#5

In the new folder it hasn't downloaded anything, it's empty, whereas in the server XiboLibrary in C: has various JPEG files, the PP slideshow AND an archive that says "temp".

The RSS feed is in Spanish.

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

Hi Carlos

It sounds like the client isn't communicating with the server properly.

Please open the client options. Use the "Browse" button to find the client folder. Ensure the server details and key are correct and click "Save".

Now go to the Register tab and click "Register". It should say "The display is licensed and ready to start".

Now run the client. Files should begin to appear in the client folder.

Alex

Revision history for this message
Carlos Jimenez (telenovelda) said :
#7

OK! I can see see background picture of my design! There is nothing moving, I'll see about that.
The error was that the default folder had not been created, since I pointed it towards the other computer the first time. So I restored defaults, entered server address and key and created the folder "Xibo Library" where it was supposed to be by default.

Now I only have to figure out how to get everything moving...

Thank you very much! I think the problem is solved so far, I guess I'll have to make a few adjustments and run some tests.
If not, I will contact you over this thread, if that's alright with you.

THANKS!

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

Glad it's working.

Alex
--
If the support we've provided you has been helpful, please consider showing your appreciation and supporting the project by making a donation. Please visit http://xibo.org.uk/donate

Revision history for this message
jason (jtzhou) said :
#9

until the last 2 steps, I have the same fate as Calrlos, however, my local folder is here and I still never see anything in the folder, nor anything in the client screen. My server is a remote linux domain space:http://jason.mymediacv.com/xibo, server key is "hello", I see the register success message, also scheduled some test layout to be repeat every hour.

what could be wrong?

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

What server and client versions do you have?

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

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

I just had a quick look at the link you gave. It seems you're running a modified version of Xibo and have removed everything from the login page to do with copyrights and the link to the source code.

The AGPLv3 license under which Xibo is released requires you to give every user of your system access to the running source code for the application (including all your modifications). I'm sure you already have some other mechanism in place to satisfy the license terms.

As this is a modified version of Xibo to which there is no publically available source code, I'm afraid it's not possible for us to offer you any further support as we have no idea what you may have changed.

Alex

Revision history for this message
jason (jtzhou) said :
#12

Alex,

my fault, just try to flex my muscle to do some customizations.......I've reloaded with a fresh source unzipped from v1.0.6, but this time it's worse, can't install from that linux server at all (I don't have account to enter the linux server, just do it web way). Noted the install mentioned packages: json, xom alike, json is includinged in the zip files? xom is php level configurations?

it can be installed in my local win/xp...

Jason

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

The mentioned packages are part of PHP itself and need to be enabled on your
web server. Xibo cannot operate without those packages.

Do you have a red dot next to any of the packages?

Revision history for this message
jason (jtzhou) said :
#14

yes, the pacages are enabled as show here:
http://jason.mymediacv.com/test.php
but run
http://jason.mymediacv.com/xibo
will see nothing
I'm testing locally, at least upgrade.php will show line 53 got duplicated definition of
define('_CHECKBOX', "checkbox");
as it had been defined in kit.class
don't understand why bother to redefine such basic elements.

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

Nothing is meant to be redefined, it looks like something odd has happened
to your installation/source. Could you please try with the latest server,
which is 1.0.8.

Revision history for this message
jason (jtzhou) said :
#16

Hi, Dan,

Understand you are member of develop team, I download the 1.0.8 version.

still the same line 53 duplicate definition error, understand upgrade.php normally should not be there, I delete it, and now got this error:
otice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'General/UTC' is invalid in D:\www\xibo_old\lib\include.php on line 92
check General/UTC come out from setting table, clearly, it's your database and php coding not match, what are correct values supposed to be?

Jason

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

Your version of PHP is very old. We recommend 5.3.9 as a sensible
minimum. I suggest upgrading.

Alex

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

Revision history for this message
jason (jtzhou) said :
#18

Hi, Alex,

the php installed by the hosting company and used for all clients, hard to make them upgrade, my local Win/Xp php version download and installed in late June, it is 5.3.2 and still see these problems, I don't think you should assume so advanced a version of php.

Ignore the timezone problem, I see the password checking problem, normally we use mysql password function to encrypt the password, understand you are using md5, this will also be a problem for we admin to maintain the system, it'e easier for us to change password with mysql's password function.

Could you consider these points in your new release?

Jason

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

Jason

You've been here 5 minutes and now you're trying to tell us how to
develop our application.

We have hundreds of installs of Xibo and nobody else is seeing this
problem with installation - which to me suggests you have a problem with
your server or with something you're doing.

I suggest you go away, install the version of XAMPP we suggest, get
fresh 1.0.8 and follow the install guide to the letter.

Alex

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

Revision history for this message
jason (jtzhou) said :
#20

Alex,

I'm not telling you what to do but just tell you the fact that we usually have no control to the hosting server, so it's reasonable to expect you to use relative old LAMP/WAMP combination.

I just realized your requirement of XAMPP which is possible for my own local XP but impossible for the hosting server.

Jason

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

And most sensible hosting companies will offer a PHP version that's at
least 5.3.something.

If they don't, get a VPS. It's usually alot cheaper in the long run and
then you have complete control.

I don't know why I'm bothering to answer emails to you anyway. You
clearly know better than either Dan or I, so you may as well go off and
write your own system.

Alex

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

Revision history for this message
jason (jtzhou) said :
#22

Hi, Alex,

Indeed I'm a good hand in coding but the digital signage is a new field to me. I'm very admiring of your original works in this field and hope my insights could help you to improve and refine it.

The timezone values I have figured out from php site, now this one I believe is your bugs:
--------------
 Undefined variable: layoutdisplayid in D:\www\xibo_old\lib\pages\schedule.class.php on line 953 .
\-------
it supposed to be assign values from database table:
layoutdisplay.layoutDisplayID?

Jason

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

Your using an old stable release. There has been a development release series and two release candidates for 1.2.0 since the code you're looking at.

Alex

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 :
#24

Jason,

It is reasonable to expect a few PHP notices in that stable version... they are in fact just little bits of the code that we are tidying up as we revisit.

Unfortunately we dont have a limitless amount of time to work on these niggles - however if you run with your server in Production Mode then all PHP warnings and notices will be suppressed and the application should work as expected.

FYI - production mode sets:
error_reporting(0);
ini_set(display_errors, 0);

And can be adjusted from the settings page.

The install/upgrade process should set those both to 0 before it begins which would have suppressed that error message during installation and also the timezone set function. Unfortunately it doesn't which means your hosting company (or your htaccess file) is setting these to E_ALL and 1 respectively.... this is a VERY bad idea as a default - I would suggest you change it. I will create a bug to ensure that we set this in future released.

If you want to have a look under the hood of Xibo and make some improvements for the community to use, then by all means try out the 1.2.0-rc2 release we put out yesterday... I'm sure there are plenty of up to date bugs that need addressing.

Cheers