VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: pcsimple26420 on November 21, 2020, 13:02:50 PM

Title: account creation mail for client doesn't work in 3.8.6
Post by: pcsimple26420 on November 21, 2020, 13:02:50 PM
Hello the link included in the mail for a client  to  validate his account send to a 403 error page.
The client appears  in the joomla user list  but the administrator never receive the mail to validate the client account.
This was working until the update to 3.8.6.
Thanks
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pinochico on November 22, 2020, 05:14:47 AM
You are not sending information that lets you know where the error is.
Send them - admin - menu users - button options - setup creating user
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pcsimple26420 on November 22, 2020, 12:03:36 PM
Hello
i have stay in 3.8.4 because this error only appear whith the 3.8.6 update.
I have noticed that in 3.8.6 when a user create an account in the frontend he received a mail with a link to validate his account.
This mail contain a link :
https://yoursite.com/index.php?option=com_users&task=registration.activate&token=2435958d471a76d7e9e3d3031c9211ee&lang=fr&Itemid=121
but this link go to a 403 error page.
Due to this error the account is not validated and the administrator doesn't received the second mail to validate the new user.
If the administrator look in the backend in the users page of Joomla or in the clients page of Virtuemart he will see that a user create an account but this account is blocked and need to be unblocked and validated manually...
Sorry for my poor english i am french but i hope my explanation to be clear.
Thanks.
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pcsimple26420 on November 22, 2020, 17:56:17 PM
a screen of the 403 page...
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pinochico on November 22, 2020, 18:33:15 PM
Really your customers if you want buy on shop must waiting for confirm registration?
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: jenkinhill on November 23, 2020, 10:27:23 AM
Quote from: pinochico on November 22, 2020, 18:33:15 PM
Really your customers if you want buy on shop must waiting for confirm registration?

Assuming this is a normally set up shop the customer will have been registered as a shopper in VM and will appear on the shopper list, they can make purchases etc. They are just not registered in Joomla.

And I agree, asking for registration and then wanting the shopper to wait for email is a really good way to lose sales.
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pcsimple26420 on November 24, 2020, 11:28:24 AM
Hello yes it's a private store.
Only validated users can make an order so i need it to work as in 3.8.4
In 3.8.6 it's not working properly and it's a new bug sorry to insist...
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pinochico on November 24, 2020, 11:35:33 AM
is ItemID correct?
is from menu item for VM User registration or item for VM category?
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pcsimple26420 on November 24, 2020, 14:04:29 PM
user ID is always the same 121 but even in working version.
It' in VM registration.
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pinochico on November 24, 2020, 15:19:52 PM
ItemId in URL is ItemID for menu not User ID, are you sure?
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: DadoO on November 25, 2020, 10:38:20 AM
Hi All

I have exactly the same problems

After the upgrade, customers could'nt activated our account, and they received an 403 error page when they click on the email received

I have seen on Users, and effectively, a red cross is on ACTIV,
It's a big problem for I have lost 5 customers this day !
I'm sure for  I have a call this morning about

I have no problem with my web site

PHP exécuté sur    Linux ns3049008.ip-151-80-26.eu 3.14.32-xxxx-std-ipv6-64 #7 SMP Wed Jan 27 18:35:08 CET 2016 x86_64
Type de la base de données    mysql
Version de la base de données    5.5.5-10.0.38-MariaDB-0+deb8u1
Interclassement de la base de données    utf8_general_ci
Collation de la connexion à la base de données    utf8mb4_general_ci
Version de PHP    7.3.11
Serveur web    Apache
Serveur web pour interface PHP    fpm-fcgi
Version de Joomla    Joomla! 3.9.23 Stable [ Amani ] 24-November-2020 15:00 GMT
Version de la plateforme Joomla!    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

An idea about for the old version of virtue don't create this big enormous problem !
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: jenkinhill on November 25, 2020, 11:06:58 AM
Try turning off VM SEO and test again.

The failed registration is for Joomla only. In any case, the customer will automatically be registered as shopper in VM so can complete a purchase.
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: DadoO on November 25, 2020, 19:30:13 PM
Seo don't be the problem

Another Thing .... DUAL CAPTCHA ..... Wonderfull ......

Pffff


What's happened ..... On my local server, I have replace the old version, and working fine

Must I do the same for my server prod ?
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: jenkinhill on November 26, 2020, 10:44:45 AM
Stan from Rupostel is working on the double ReCatcha  http://forum.virtuemart.net/index.php?topic=145854.0

The hidden ReCaptcha (type 3) works just fine.
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: sirius on November 26, 2020, 13:49:10 PM
Ok jenkinhill,

so my topic is related to this for sure.

there's definitely a bug in VM3.8.6 registration
(no longer checking the joomla user account activation parameters? nor activation state?  ???)

this should work normally, otherwise we would choose account creation without activation in the user settings of joomla.
If we choose to create an account with activation, that's up to us. IMHO


Quote from: sirius on November 25, 2020, 17:08:18 PM
Hi all,

I'm experiencing a strange behaviour of VM since I upgraded to 3.8.6 (from 3.8.4)

Same settings but Recaptcha disabled in vm settings for test registrations.

Here is the problem:
A user registers, everything goes well but the activation link is useless, because on his Virtuemart profile we can see that his account is already activated (blocked is on "no").
On the other hand, the account on the joomla user side, the account is active, but not activated, since the link seems to be nullified by virtuemart.

Test carried out on two different sites under VM 3.8.6: same result.
Test carried out on a site without Virtuemart: Normal behavior the joomla user account is blocked as long as the activation link is not clicked.

Do you see the same behavior?
Thanks in advance

Seems fixed by GJC
see : http://forum.virtuemart.net/index.php?topic=146092.msg519513#msg519513
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: DadoO on December 08, 2020, 00:11:35 AM
No solution ??????

I can close my shop :( No news, no correction, no solution

Woo commerce ???? Virtuemart is dead ?
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: Jörgen on December 08, 2020, 02:13:43 AM
You do as You please

QuoteVirtuemart is dead ?

Where did You get that idea ?

Jörgen @ Kreativ Fotografi
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: AH on December 08, 2020, 10:11:49 AM
Oh dear

2 pages in for responses and you come up with "Vm is dead" - that is handy.

You must do what you must do.

If you implement things into live with no prior testing - don't shout at the forum to do any remedial work for you in your expected timescales. 

QuoteNo news, no correction, no solution

Clearly this free support forum is not meeting your needs.

If your store is broken and you cannot fix it yourself, see if you can raise a paid VM ticket - and pay for someone to support you in this.
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: Jörgen on December 08, 2020, 10:48:27 AM
This plugin is not guaranteed to work, but you could give it a try, n.b not on a live site.

Jörgen @ Kreativ Fotografi

Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pcsimple26420 on December 08, 2020, 12:21:16 PM
Jörgen:
Hello thanks for the plugin but unfortunately it's always the same problem the administrator never received the mail indicating a new user has registered so he can only know if loged in the backend and see new user...


DadoO : Sure an update who breaks all that was perfectly working and developers who wants money to make it work...All is gone... :'( >:(
I am remaking my site with Workpress and Woocomerce and there is two plugins that allows to make what wee need it's :woocommerce-memberships and weadown.com_restrict-content...
Hope they find a working solution rapidly....
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: GJC Web Design on December 08, 2020, 12:46:46 PM
QuoteSure an update who breaks all that was perfectly working and developers who wants money to make it work...All is gone... :'( >:(
I am remaking my site with Workpress and Woocomerce and there is two plugins that allows to make what wee need it's :woocommerce-memberships and weadown.com_restrict-content...

Bizarre logic
Time and effort to build in WP/Woocommerce + woocommerce-memberships @ $200

revert to VM3.8.4 if this worked for u and await the bug fix for 3.8.6
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: pinochico on December 08, 2020, 16:08:14 PM
Don't find logic from user, that posted there :D
And Don't find logic from user, that must upgraded to new unstable version exatly after new version is out :D

The last month I send a couple of problem with VM 3.8.6 from this forum to my client and he confirm - don't upgrade virtuemart.

Maybe people don't know the basic true from IT world (I use 15 years) - if something function - don't change it
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: sirius on December 08, 2020, 19:16:48 PM
Quote from: pinochico on December 08, 2020, 16:08:14 PM
The last month I send a couple of problem with VM 3.8.6 from this forum to my client and he confirm - don't upgrade virtuemart.
I would agree to this it was an RC1 release and not an official one that resolve an xss vulnerability and published by the core team on the official VM website itself.
https://virtuemart.net/news/502-security-release-virtuemart-3-8-6-closing-an-xss-vulnerability

So I guess the version validation process has been respected, otherwise 3.8.6 would not have been released in public mode.
IMHO
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: Jörgen on December 09, 2020, 10:35:31 AM
@sirius You can see this anyway you want.

Upgrading a complex software as VM is not an easy task. The testers try to check anything that has been changed. It would be deal to test EVERYTHING in EVERY release. But this is a tradeoff against time and resources.

People have reported issues with various issues on the new VM version and some of them are solved by downgrading again. The funny thing is that some of the reported issues does not seem to have fixed by a downgrade. This would imply that there is another issue with PHP or Joomla upgrade.

Besides this, there WILL be bugs in ANY software and it will NEVER reach zero. In a complex software, depending of where the code error is located, there is a good chance that the majority of users never even experience any faulty behaviour. I am not defending bad releases in general, merely pointing out the fact that testing all scenarios is very hard to achieve. We can take JOOMLA as an example, they have released multiple versions very close to each other, solving and resolving issues and faults. VM is no exception and I personally avoid to update complex components in a live site without checking if my user scenario still works as expected. Validating code is not an easy task.

Jörgen @ Kreativ Fotografi

Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: AH on December 09, 2020, 10:44:48 AM
I have to agree with Jorgen

If you have an important service - ensure you have done all the testing first on your particular configuration using a standalone test environment before updating your mission critical system.

Whilst every effort is made to ensure compatibility and error free operation - you should not expect that the third party has performed this and removed the requirement for you to do anything yourself.

Part of using the free software is that you share in your experience and feedback - For others reading this post - that does not mean that you should scream at the devs when you have loaded code directly into live and borked your business!
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: sirius on December 09, 2020, 12:40:55 PM
Quote from: AH on December 09, 2020, 10:44:48 AM
I have to agree with Jorgen

I agree too
I just want to note the fact that the publication of the resolution of the security bug will have more prompted the users to carry out the update.
But it is of course the responsibility of each one to make his own test and backup beforehand.

Quote from: Jörgen on December 09, 2020, 10:35:31 AM
I am not defending bad releases in general, merely pointing out the fact that testing all scenarios is very hard to achieve.

Very agree too, so let's hope this bug gets fixed eventually. :)
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: AH on December 09, 2020, 17:07:49 PM
Agreed

I think it will get sorted
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: sirius on January 08, 2021, 12:42:21 PM
So it was a bug indeed rather a mishap than a bug

Trivial as a simple boolean Fixed by GJC
https://forum.virtuemart.net/index.php?topic=146092.msg519513#msg519513

I've tested it and activation process is now back to normal when you choose "Activation-auto" in Joomla users parameters.

So great thanks to him. :D
Title: Re: account creation mail for client doesn't work in 3.8.6
Post by: GJC Web Design on January 08, 2021, 12:57:20 PM
Just some further info -- I discussed with Max this change ( it is reversed now in the soon to be released VM3.8.8 ) and it was reported to him that the logic had been swapped by Joomla and that is why the change was made on VM3.8.6.
As discussed above it is really difficult to test every change and function because the dev/test team is quite small. Especially edge cases like user verification.. none of my clients use it and none have ever asked for it and this applies I think for all the testers.
So of course apologies as it appears the initial info was incorrect.