J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login) Topic is solved

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Sun Nov 04, 2018 9:35 pm

"No avail" meaning? You encounter the same problems that I've seen? You cannot consent to the privacy policy? You cannot edit your user profile? Is that what you mean? I want to be crystal clear on this point.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37328
Joined: Sat Apr 05, 2008 9:58 pm

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by Webdongle » Mon Nov 05, 2018 12:19 am

Correct. It doesn't matter if the user is created from the frontend or in admin ... the first login (after the plugin is enabled) can not consent because no check boxes.

btw
the only difference between your test site (where the problem exists) and my live site (where there is no problem) ... is my site has url rewrite and .htaccess.

php is 7.2.10 but on localhost it's 7.2.10 and that site on localhost doesn't work. So php 7.2.11 on your test site is unlikely to be the cause.

Last ditch attempt ... enable rewrite and .htacces
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Mon Nov 05, 2018 1:22 am

As I indicated early in the piece, this is a stock-standard (almost), vanilla-flavoured, no-frills, out-of-the-box J! 3.8.13 website that was updated to J! 3.9.0 in order to simulate potential issues that may arise in the case of other users who are updating to J! 3.9.0 and who have the Logout menu item published. For that reason, I didn't do any "smarts" like rename the htaccess.txt file to .htaccess or enable SEF URLs with SEF URL rewriting.

BTW, I've now disabled account creation.

However, for the sake of completeness in testing whatever has mystified both of us, I'll do as you requested and make these two changes and then report my findings.

In my opinion, this is a bug. I just don't want to make an ass of myself explaining all of this over again if I should report the matter on GitHub and discover that no-one else can reproduce this problem. As I also advised you by PM, there's an Akeeba Backup that you can place on a webserver of your own choosing. I agree with you that the version of PHP should not present any issues.

We'll see. Further update to follow.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Mon Nov 05, 2018 1:29 am

UPDATE to last post: htaccess.txt renamed to .htaccess and set SEF URL rewrite to enabled.

This has made no difference. We still have the problem.

Baffling, eh?

And one further UPDATE: subsequently switched PHP version at the webserver to PHP 5.6.41 and then PHP 7.0.32 before reverting to PHP 7.2.11. Made no difference to the situation also.

And one more UPDATE: reported this as a bug at https://issues.joomla.org/tracker/joomla-cms/22938.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Mon Nov 05, 2018 9:27 am

OK, we've discovered a workaround: enable "modern routing" on com_users (this feature is disabled by default on all new pre-J! 3.9.0 websites).

Go to Users » Manage » Options » Integration » URL Routing = Modern

It's a workaround and a temporary solution.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
xfsgpr
Joomla! Ace
Joomla! Ace
Posts: 1020
Joined: Mon Feb 14, 2011 4:02 am
Location: London

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by xfsgpr » Mon Nov 05, 2018 6:17 pm

Have you actually managed to make it work? I mean, do you get a message saying we use blah blah blah and the user clicks accept or reject? I am trying to implenet it on a new site just launched but I don't get that message. http://www.mytechsite.co.uk.

I have gone through the official document at: https://docs.joomla.org/J3.x:Privacy but clearly something is amiss here.

I'll read the doc again later today and perhaps write a step by step tutorial about it on the site for future reference.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37328
Joined: Sat Apr 05, 2008 9:58 pm

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by Webdongle » Mon Nov 05, 2018 6:53 pm

Users >>> Options Integration (tab) ... URL Routing ... Modern
but you only need to do that if you have a logout menu item.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Mon Nov 05, 2018 7:01 pm

xfsgpr wrote:
Mon Nov 05, 2018 6:17 pm
Have you actually managed to make it work?
I don't understand your question. This entire topic is about making the new System - Privacy Consent plugin work on a website that was updated from before J! 3.9.0 to J! 3.9.0, where (before J! 3.9.0) the site did not use the "modern routing" option with com_users, where the site has a condition (e.g. a Logout menu item). Yes, we've "actually managed to make it work" if you have followed the whole discussion.

We haven't found a perfect solution in the case described in this topic; we've found a workaround.
xfsgpr wrote:
Mon Nov 05, 2018 6:17 pm
... do you get a message saying we use blah blah blah and the user clicks accept or reject?
I don't think your question applies to this topic. In nearly every case, on most of my websites, I am able to get "a message" describing that there's a privacy policy in place and, as part of the new account registration process or on the first login for old accounts, the user is required to confirm their consent to the policy. This topic is not about being unable to get "the message" (as a general concern); this topic is about being unable to confirm a user's consent in a situation where:
  1. the website was created before J! 3.9.0;
  2. the website does not use the "modern routing" option for com_users (this is the default situation for all websites created before J! 3.9.0);
  3. the website has a Logout menu item published;
  4. the website does not have an Edit User Profile menu item published;
  5. the website has one or more users created before J! 3.9.0;
  6. the website is updated to J! 3.9.0;
  7. at least one article exists on the website that can be used as a "privacy policy";
  8. the System - Privacy Consent plugin is configured to use the article referred to in the previous item in this list;
  9. the System - Privacy Consent plugin is enabled;
  10. a user logs in to the frontend and is redirected to their profile page where they are required to confirm their consent to the privacy policy; and
  11. the user is unable to confirm their consent or edit their account details.
xfsgpr wrote:
Mon Nov 05, 2018 6:17 pm
I have gone through the official document at: https://docs.joomla.org/J3.x:Privacy but clearly something is amiss here.
I do not know what is "amiss" with the instructions about how to configure the System - Privacy Consent plugin: see https://docs.joomla.org/J3.x:Privacy#Pl ... figuration.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Wed Nov 07, 2018 3:39 am

For the sake of completing everything (i.e. returning the test website back to its "vanilla-flavoured"/default settings), I've also disabled SEF URL rewriting and left the site without a .htaccess file (i.e. there's a file named htaccess.txt). This has no effect on the problem.

Thanks to @SharkyKZ, @Hackwar and especially to @Webdongle for their help. There isn't a sure-fire fix in place, the issue cannot always be reproduced (and this may only affect one in 100 people), but there's a workaround by changing the routing method for com_users.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7875
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: J! 3.9.0 Protostar: Enabling System-Privacy Consent plugin: user profile display (redirection on login)

Post by sozzled » Tue Nov 27, 2018 9:17 pm

Still not fixed with J! 3.9.1 but the workaround—changing the setting Users » Manage » Options » Integration » URL Routing = Legacy (the default) to Modern—works.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)


Post Reply

Return to “General Questions/New to Joomla! 3.x”