Cannot register displays in 1.2.1 server while installed 1.2.1 client however the client about shows 1.2.0

Asked by niceweather

I have installed Xibo 1.2.1 both on a wamp server and on an osx server but am not able to registers displays. I have read the fact that I need to install the 1.2.1 client, so I did. I de-installed the 1.2.0 client version on my laptop then installed the package for client 1.2.1. In the about menu of the client options it shows 1.2.0 so that is weird.
My laptop runs windows vista. I also runned the 1.2.1 client installer on my windows 7 system and it also shows version 1.2.0 in the help about.
With both the systems, laptop with vista and pc with 7 I am not able to register displays on a internet mac osx server or a local wamp server.

Any help would be appreciated, 1.2.0 does registering of displays.
How do I get the correct client installed and having displays registered?

Question information

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

What message do you get on the client when you click Register?

Revision history for this message
Adam Stafford (adamentity) said :
#2

There is a problem with the DisplayGroupAuth function. Instead of calling display.licensed=0 to see all displays, it is only requesting licensed displays.

----------------------------------
SELECT DISTINCT displaygroup.DisplayGroupID, displaygroup.DisplayGroup, IsDisplaySpecific FROM displaygroup INNER JOIN lkdisplaydg ON displaygroup.DisplayGroupID = lkdisplaydg.DisplayGroupID INNER JOIN display ON display.DisplayID = lkdisplaydg.DisplayID WHERE display.licensed = 1

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

Weird. I'm seeing unlicensed displays on our 1.2.1 test installation. I'll
have a better look tomorrow.

Revision history for this message
Adam Stafford (adamentity) said :
#4

Thanks Alex. It seems that in /modules/module_user_general.php Line 724 requested a specific filter in the query which is restricting the results. New displays awaiting approval of license do not show. Updating the display.licensing to 1 via MySQL shows that the display is there.

For now I have commented out Line 724: // $SQL .= " WHERE display.licensed = 1 ";
------------------------
  // If the usertype is not 1 (admin) then we need to include the link table for display groups.
  if ($usertype != 1)
  {
   $SQL .= " INNER JOIN lkgroupdg ON lkgroupdg.DisplayGroupID = displaygroup.DisplayGroupID ";
   $SQL .= " INNER JOIN lkusergroup ON lkgroupdg.GroupID = lkusergroup.GroupID ";
                }

              $SQL .= " WHERE display.licensed = 1 ";

                if ($usertype != 1)
                {
                    $SQL .= sprintf(" AND lkusergroup.UserID = %d ", $userid);

                }

Revision history for this message
niceweather (andries) said :
#5

I saw a lot of posts on the topic and am not yet into those, but it does say it is registered and waiting for approval. But also, after I installed the client 1.2.1, it showed the settings of the one I deinstalled. The first time I installed the 1.2.1 package already showed the server paths as they had to be.
Now I am quite new to windows, but what I do is add/remove programs then choose Xibo player. Then i get a win security mesage, confirm to have the program change the system. Then it waits for a while and removes Xibo player. Then i simple doubleclick the1.2.1 package and it installs after i confirm the security message.

Revision history for this message
niceweather (andries) said :
#6

Perhaps it sounds a bit weird that the same settings were still there, looked like didn't a reinstall, but actually I deinstalled 3 times on the vista laptop and 2 times on my win7 system. Both the same results. Looks like somewere something is cached or whatever...

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

The version number doesn't appear to have been updated in the client build.
It is the newest client though in the MSI.

I've filed a bug for it.

The reason your display isn't showing up is another bug which was filled
last night.

We hope to have a fix or work around out for both today.

Alex

Revision history for this message
David Murphy (davidmurp) said :
#8

Has this problem been resolved? I'm having the exact same issues, the MSI Client I've installed is 1.2.0 which isn't allowing me to add the display on the server.

Revision history for this message
Matthew Holder (matt-mattmole) said :
#9

I haven't seen an official release yet. I imagine that changing the version number will be pretty quick, but the server changes will take somewhat longer.

Having said that though, I have seen that some code has been written that is currently being tested.

Hopefully the release won't be long coming. Thanks for your patience!

Matt

Revision history for this message
David Murphy (davidmurp) said :
#10

I'd just like to add a display... that's all I wanted to do... *sits patiently*

Revision history for this message
Matthew Holder (matt-mattmole) said :
#11

I know it can be frustrating, but the main thing is the fix comes out once and not a number of times as it was rushed out of the door

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

To be clear, there's nothing functionally wrong with the client MSI. It is
1.2.1. All that was missed was incrementing the version number. The problem
is with the server not showing unlicensed displays. We have a fix for that
and I'll be building new tarballs shortly.

Alex

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

Updated server files are now available to download.

https://launchpad.net/xibo/1.2/1.2.1

If you extract the new files over the top replacing the existing files first. Then go to the web interface as normal and it will ask you to perform an upgrade procedure. That's normal. If you just go through the process it will complete and then you should see your unlicensed displays when logged in as a user who has Super Admin privileges (ie xibo_admin).

Apologies for this problem.

Alex

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

I've spoken with Dan. Updated client MSIs will be availble in the next 24 hours or so - but again to reiterate, while the client reports it's version in the About dialogue as 1.2.0, it is infact 1.2.1 and will work with 1.2.1 server.

Alex

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

Have it, works fine now, the display was indeed already in the database. Also the display is showing the content.
Thank you very much!
I like Xibo.