Xibo Open Source Digital Signage

PHONE_HOME blocks client display when there is no direct internet connection

Reported by Gavin on 2009-06-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Medium
Alex Harrington
1.0
Medium
Alex Harrington
1.1
Medium
Alex Harrington

Bug Description

Even though I've set up layouts and schedules as per the online help files, there is still no display on my client. This is the reporting errors:

Page: schedule
Function:
Message: <errormsg>Undefined offset: 0</errormsg>
<errornum>8</errornum>
<errortype>Notice</errortype>
<scriptname>C:\Inetpub\wwwroot\lib\app\kit.class.php</scriptname>
<scriptlinenum>195</scriptlinenum>

My server is on a Windows XP machine (1.5Ghz, 512MB RAM) running IIS, MySQL and PHP 5.0.2. My client is also on a Windows XP machine (1.5Ghz 512MB RAM).

Any idea why I can't get the client to display anything. It is correctly registered with the server.

Related branches

Hi Gavin

Which version of Xibo. PHP 5.0.2 isn't supported on version 1.0.1 or later. You need to be running 5.2 or later. 1.0.0 reports it supports 5.0.2 but doesn't and will fail.

You should download the latest zip of 1.0.1 (1.0.1-1) and install that.

Cheers

Alex

Changed in xibo:
status: New → Incomplete
Gavin (gavins-chyngton-primary) wrote :

Thanks for your help on this one.

I've now updated to Xibo 1.0.1 and PHP 5.2.9 but there is still no output on the client. I still get the same error as before when trying to run a scheduled playlist.

Any ideas?

Gavin

Can you please run through the Report a Fault routine on the Management
menu and email the troubleshoot.txt to <email address hidden>

Cheers

Alex

--
Alex Harrington - Network Development Manager
Longhill High School
t: 01273 391672 e: <email address hidden>

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On
> Behalf Of Gavin
> Sent: 03 June 2009 11:51
> To: Alex Harrington
> Subject: [Bug 383089] Re: No display on Xibo client
>
> Thanks for your help on this one.
>
> I've now updated to Xibo 1.0.1 and PHP 5.2.9 but there is
> still no output on the client. I still get the same error as
> before when trying to run a scheduled playlist.
>
> Any ideas?
>
> --
> No display on Xibo client
> https://bugs.launchpad.net/bugs/383089
> You received this bug notification because you are subscribed to Xibo.
>
> Status in Xibo Open Source Digital Signage: Incomplete
>
> Bug description:
> Even though I've set up layouts and schedules as per the
> online help files, there is still no display on my client.
> This is the reporting errors:
>
> Page: schedule
> Function:
> Message: <errormsg>Undefined offset: 0</errormsg>
> <errornum>8</errornum> <errortype>Notice</errortype>
> <scriptname>C:\Inetpub\wwwroot\lib\app\kit.class.php</scriptname>
> <scriptlinenum>195</scriptlinenum>
>
> My server is on a Windows XP machine (1.5Ghz, 512MB RAM)
> running IIS, MySQL and PHP 5.0.2. My client is also on a
> Windows XP machine (1.5Ghz 512MB RAM).
>
> Any idea why I can't get the client to display anything. It
> is correctly registered with the server.
>

Also - just to double check you definitely got the 1.0.1-1.zip download as there is a known packaging problem with 1.0.1.

Cheers

Alex

Gavin (gavins-chyngton-primary) wrote :

I've sent the troubleshoot.txt file to <email address hidden>. I have definitely got the right version as well. Just double checked what I downloaded and it's the 1.0.1-1.zip.

Gavin.

Switching off PHONE_HOME in the settings solved this.

Problem is that the RequiredFiles call on xmds is hooked to phone home. If there is no direct internet connection, then the call causes the webservice to timeout while php is waiting for the phone home routine to finish running. What should happen is that the phone home logs that it's run and therefore isn't called for 28 days.

In this scenario, that isn't happening - theorise that we may be passing the php max exec time before the phone_home call returns.

Fix will be to move the log before the call, so this will only happen once in 28 days in this scenario - which will be invisible to the end user.

summary: - No display on Xibo client
+ PHONE_HOME blocks client display when there is no direct internet
+ connection
Changed in xibo:
assignee: nobody → Alex Harrington (alexharrington)
importance: Undecided → Medium
milestone: none → 1.0.2
status: Incomplete → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers