Hello VM community
I know this topic has been posted before, I've tried all suggested scripts, changed template, deactivated RSfirewall.. nothing is working :-\
I'm using Joomla 3.9.23 and VirtueMart 3.8.6 10373
I'm registering as a new account by passing through Virtuemart
When email is clicked to activate account, I get the message "403 : Verification code not found"
This might not a be VM bug but a solution could help others too ;)
Thank you for your time!
A little sad though, it seams I'm the only one with this problem :(
One user gave a detailed description of what is happening (7 years ago), but I'm not an advanced programmer : what script exactly to modify :( any idea? Here's the message :
"The problem is in registration process, (administrator\components\com_virtuemart\models\users.php row 636) Virtuemart doesn't set lastvisitDate field in table _users to null!
So when user follow activation mail link, Joomla search in table _users a row with the activation token and lastvisitDate=null and doesn't find anything responding COM_USERS_ACTIVATION_TOKEN_NOT_FOUND="Verification code not found."
"
Thank you for your time :)
for VM3.8.6 change line 751
administrator/components/com_virtuemart/models/user.php
from
$user->set('block', '0');
to
$user->set('block', '1');
should fix the problem .. tested
should be fixed in up coming 3.8.8
Thanks GJC
so you mean for sure "administrator/components/com_virtuemart/models/user.php"
Tested and problem fixed
Quoteadministrator/components/com_virtuemart/models/user.php
indeed - oops .. changed
Sorry for not getting back sooner, I "sort of" gave up trying several scripts... so I opted for ACTIVATION "NONE" for now.
But I can confirm that solution given by GJC did the trick! No more activation token error.
For anyone else facing this problem, thanks to GJC.. AGAIN! He is a GENIUS!!!
Until next VM update
Thank you all for your time!
I have installed VM 3.8.8 and this fix didnt work for me!! This problem appears on 2 websites.
User cant activate account
To kolokotronis:
This fix is for VM 3.8.8. ?
I dont know i think not, code is different.
I think problem is the url.
When i set to NO Redirect Joomla to VirtueMart registration from VM Framework Loader plugin
It is working great with joomla register but on checkout doing the same!!
I have menus create for account and register !!
Check your order track modes in VM configuration check out perhaps?
Jörgen