Preview doesn't work with Version 1.7.8

I’m afraid there’s still nothing in there showing an issue.

When the wizard asks you to recreate the issue, are you then going to a layout and running the preview and seeing the error message before returning to the wizard and downloading the file?

I hope that this file is the correct file

Still nothing there.

Is your CMS internet facing? Could you DM me a login if so and I’ll have a quick look

could you tell me when you did finish, so i can delete the user ?

OK so with the CMS in test mode, we get:

Parse error: syntax error, unexpected ‘/’ in /path/xibo/lib/pages/preview.class.php on line 2

That file can be viewed here:
https://github.com/xibosignage/xibo-cms/blob/master/lib/pages/preview.class.php

Line 2 is the start of a comment. I’ve no idea why your PHP version would interpret that as something else.

Perhaps try getting a fresh copy of that file and replacing it incase there’s a corruption or someone edited it?

You can remove the user account.

Hi Alex, i replaced the file, now i can see the page with xibo logo, but it stay blocked with loading bar.
Coul’d you help me ?

The loading bar will remain for as long as it takes for your browser to download all the media in your layout. If you have a lot of videos for example that can take some time to happen.

I think there is a problem, i am testing a layout with a short video and the layout preview is in loading from 2 hours

Perhaps try clearing your browser cache as a first step, then check you can download the video from the CMS successfully via the library page.

If that works, then try the preview again.

Replacing that file working means that something edited or damaged that file. Have you figured out what? If not, it might be a good idea to extract a fresh copy of the 1.7.8 CMS over the top of your existing installation to ensure that any other files that have been damaged are put right.

Ok, i overwrote all the pages of my CMS, now i can see in preview:

  • xibo logo
  • black page and then
  • do you want see again ?

This is it better but don’t correct.

Could you help me again ?

I think you should also check the web server log too. Disable all caching

That sounds normal if the videos aren’t in a format that your browser can play.

What browser are you using, and what format are the videos in?

Yes Alex i think like you, i use i.e 10 and chrome to check the xibo preview, but i think that the problem are the codecs installed on the ubuntu server, i have the proble with wmv files

Most web browsers can only show H264 encoded MP4 files, or WEBM encoded. WMV won’t work.

The videos may well work on your Players, but they won’t work in the Preview. It has nothing to do with codecs on the server. The server never plays back the video - only your browser.

Thank you very much alex , your suggestions are very valuable

1 Like