Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Joined groups not showing for registered members

  • NFER-ICT
  • NFER-ICT
  • OFFLINE
  • Posts: 44
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #268778 by NFER-ICT
I'm having a strange problem when moving my site from my test server to my live server...

I'm using GroupJive as I have a collection of schools and need to restrict access to each school 'Group' so that only 'invited' registered members can gain access (if that makes sense).

On my test server, I can log into the admin back-end as an administrator and go to 'GroupJive > Users' and associate an existing, registered member to a school 'Group' - which is great! Then when that user logs in to the site via the front-end they can go to 'MySchools' and see a list of schools they belong to and click to gain access. Everything works great as intended.

Now, when I backup the site using the latest Akeeba Backup component and restore the site on my live server, something breaks!

The site works fine in all aspects except when I add a user to a 'Group' using 'GroupJive > Users', the new 'Group' isn't listing in the front-end of the site!

No error messages and in fact, as the registered user, if I go to 'My Panel' and click on 'Joined Schools' it shows I've joined "1" school, but doesn't list it below!! (see attached)



It would appear that the system is working and the user HAS been associated with the school 'Group', but something is happening to the element that shows the 'Group' list on the live website.

Interestingly, thinking it was a permissions issue, I've tried changing the registered member to an administrator and suddenly the new school 'Group' shows!

So this issue only effects 'Registered' members - with Admins and Super Users not being effected.

The only difference between my test server and my live server is that my test server is on Linux and my live one is on Windows :-( I can't do anything about this at present but I've made sure that they're both running as close to the same version of PHP as I can (5.5.27 on Linux and 5.5.28 on windows).

Both use MySQL and obviously the same version of Joomla (3.4.1) and Community Builder(2.0.7) and GroupJive(2.7.0)

Any and all advice or pointers as to where to look to fix this would be gratefully received.

Thanks

Dave
Attachments:

Please Log in or Create an account to join the conversation.

  • NFER-ICT
  • NFER-ICT
  • OFFLINE
  • Posts: 44
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #268780 by NFER-ICT
Quick update...

I've just taken a backup of the (broken) live site and moved it back to my test server and the issue remains!

So whatever 'breaks' when restoring the site on the live Windows server, remains broken on the test Linux server!!

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago #268790 by krileon
I think it's safe to assume Akeeba Backup restore is what is breaking it. I don't know what to tell you. I didn't write Akeeba Backup so I've no idea what it's doing. Compare _groupjive_users on both installs to see what's wrong with them. If the users id changed between the two installs that'd certainly break the group association.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • NFER-ICT
  • NFER-ICT
  • OFFLINE
  • Posts: 44
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #268875 by NFER-ICT
Thanks for the reply Kyle, although I'm not sure it's a straight forward Akeeba backup problem though, because...

After I move the working site to my live server, all of the "already established" accounts/associations continue work fine. It's only when I go to add a new group to a user that the problem rears it's head.

So for example...

On the working test server, User1 is associated with "Group A" - after moving the site to the live server, User1 still has access to "Group A" - so that works fine. Now if, on the live server, I then join or associate user1 with "Group B", when that user logs in and views their groups, they only see "Group A" even though in their panel is shows they have joined 2 groups!

Switching back to the test server and doing the exact same exercise it all works fine and user1 can see both "Group A" and "Group B".

If I now take a back up from the 'live server' and restore back on my 'test server', the problem persists and any groups I try to join members to simply do not show.

Really at a loss here, so any pointers of where to look would again be appreciated.

Dave

Please Log in or Create an account to join the conversation.

  • NFER-ICT
  • NFER-ICT
  • OFFLINE
  • Posts: 44
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #268880 by NFER-ICT
Update...

I've switched on Debug System in Joomla and when viewing the 'Joined Groups' on the "My Panel" page in GroupJive I'm getting:-


Strict Standards: Non-static method cbgjTab::getJoined() should not be called statically in C:\xxx\xxx\xxx\components\com_comprofiler\plugin\user\plug_cbgroupjive\templates\default\panel_main.php on line 61

and the same error (with different line numbers) on the "My Groups", "My Invites" and "Invited to" pages.

Could this be the cause of my problem or at least point to where the issue lies?

Dave

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago #268911 by krileon
It doesn't make sense for it work on local and not live unless there's a server configuration causing such a problem. Check _groupjive_users on local and compare it to your live site after joining a new group on both. Their database rows should match up and exist in both. This could also be a caching issue if you've enabled any form of caching on your live site.

Could this be the cause of my problem or at least point to where the issue lies?

No, that's just a strict standards warning.

Also please understand GJ is not CB 2.x compatible. It is quite out of date. I am currently rewriting it for CB 2.x support as we speak.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum