Scheduling Event in 1.5.0 - Problem

Asked by Barry Wood

I've scheduled an event to run from 17:15 to 18:00 on the same day, then saved this. I get the 'event has been modified' message but when I look at the event again the time has changed to18:15 to 20:00.

I've tried amending it back to correct times and it still alters these times to different ones, it looks like it's adding an hour to start and end times. In fact I don't have to change anything, I just open the event and save it, and an hour is being added to the start and end times.

I'm not scheduling a start time before the current time.

Question information

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

Check the time zone on your server and in the Xibo server settings match

Revision history for this message
Barry Wood (barry-x8) said :
#2

Both settings match to the minute.

What I'm now also seeing is that if I schedule an event for a certain time (e.g. 17:15), it does not start at that time. I'm wondering if it thinks it is 1 hour later?

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

Barry, check the time ZONE not the time shown

Ie. If you were in the UK check they're both set to BST

If one were set to UTC or GMT and the other to BST you'd get the problem
you describe.

Alex

Revision history for this message
Barry Wood (barry-x8) said :
#4

Xibo shows as BST, my laptop shows identical time but time setting is '(UTC) Dublin, Edinburgh, Lisbon, London'. It is set-up to apply Daylight Saving Time, hence it shows the correct time.

Why would Xibo take the time I set and advance it one hour. Shouldn't it recognise the time settings I am using? I hope I won't have to update all my schedules to run 1 hour later than intended until BST ends?

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

Hi Barry

The timezone settings in Xibo server settings and your system setup must
match.

If they don't, you'll get the effect you describe.

When you schedule an event, it's converted to UTC before being stored, then
converted back for display. If the CMS and servers timezones don't agree
you'll get a skew.

You need to set Xibo to match your system setup - so Europe/London would be
the appropriate setting for both system and Xibo.

Your existing schedules will need to be adjusted

Alex

Revision history for this message
Barry Wood (barry-x8) said :
#6

Where do you set Xibo? I can't see any settings for time display?

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

It's where you checked the setting earlier?

Administration -> Settings -> Default -> defaultTimezone

--
Alex Harrington
Spring Signage Ltd | http://springsignage.com
Proud founders and sponsors of the Xibo Project | http://xibo.org.uk
Registered Company #7811749

On 28 May 2013 18:21, Barry Wood <email address hidden>wrote:

> Question #229776 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/229776
>
> Status: Answered => Open
>
> Barry Wood is still having a problem:
> Where do you set Xibo? I can't see any settings for time display?
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.
>

Revision history for this message
Barry Wood (barry-x8) said :
#8

I saw the time setting on the heading. When I click on that it displays 'Date / Time Information'. It doesn't give me any options to change this.

Ahh, I see defaultTimeZone in Administration/Settings/Default - it was set to 'London' (must be part of the install routine?).

I've changed that to UTC, hopefully that's sorted.

Is this a change in v1.5.0, I didn't do any of this in previous versions?

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

Hi Barry

It should be set to London! It's not new no, it's been in all versions
since about 1.0.2

In that case I don't understand why you're getting the difference. I'm not
seeing it on the test box here.

Perhaps leave 1.5 for now and stick to release versions?

Alex

Revision history for this message
Barry Wood (barry-x8) said :
#10

Alex,

Yes, OK, I'll leave 1.5.0 alone - pity I wanted to get used to the new presentation ready for 1.6 version.

SHould I create a bug report for this?

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

I don't think so. I can't recreate it here so I think it's something
peculiar to your setup

Revision history for this message
Barry Wood (barry-x8) said :
#12

Not really my setup, all worked fine here with the previous version. Also, all those errors I got when I tried to change the default time zone setting shows something is amiss.

I can't click problem solved here as it isn't. Maybe you should have a 'unresolved' option? I really don't want to stop going with the latest versions because something acts differently now to what it did before. That client options also doesn't open up, so there are still several things that need resolving for 1.6.

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

We don't make Launchpad. It has its own Answers section if you would like
to suggest that.

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

If you want to file a bug then feel free. Please ensure you include
complete steps to reproduce. I won't be able to confirm it for you though
as I can't reproduce it on the three test setups I have access to.

Revision history for this message
Barry Wood (barry-x8) said :
#15

Hi,

When I start xibo now I get the following error messages:

Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'General/UTC' is invalid in C:\xampp\htdocs\xibo\lib\include.php on line 105

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\xibo\lib\include.php:105) in C:\xampp\htdocs\xibo\lib\app\session.class.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xibo\lib\include.php:105) in C:\xampp\htdocs\xibo\lib\oauth.inc.php on line 31

It looks like I'm allowed to change the default time settings (from London to UTC) in the Administration/Settings section, but these aren't valid. And the Xibo interface is not working correctly now.

I've reset back to 'London' to get the UI working again. Next I need to try to get back to the previous version, but I thought structural changes have been made to MySQL.

Good job I'm on a test system :-) I feel a total uninstall/reinstall back to 1.4.x is beckoning.

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

As I said, London is the correct setting to use in your case.

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

Also Barry please keep in mind 1.5.0 is a development preview release. You
should ONLY be using it on test systems (so it shouldn't be a "good job" as
it were).

You should expect a development preview, especially the first one in a
series to be broken in several places. They're there to give integrators
and people interested in development early access. They are not designed to
run a system on.

Revision history for this message
Barry Wood (barry-x8) said :
#18

Yes, I am using it on a test system (as mentioned earlier), not the live system. No worries there. I'm sending in these 'issues' in order for the next (stable) release to be just that.

I'll create a bug report just on that eror message that says 'UTC' is an invalid setting:

Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'General/UTC' is invalid in C:\xampp\htdocs\xibo\lib\include.php on line 105