Hi,
I have encountered a problem suddenly. I swear, yesterday was working.
When I add a product to cart and I continue, I don't see anymore login page inside edit_addres.php, but I get redirected to profile page with the error "you must login first".
I have vm 2.0.20a
Any ideas?
Thanks
My first suggestion is to update to 2.0.20b and see if that fixes your error.
ok...well I mistyped the version. I already have 2.0.20b.
Let me extend the explanation.
What happens is that when I try to buy something before I log in, normally, after I put something into cart, I should be asked to log in or register (the setting in vm configuration is active and only logged users can checkout).
This is template edit_address.php inside user view.
Instead I get redirected to the login page (at least I think, this is the address: index.php/il-tuo-profilo?view=login) but it gives me the error "you must login first" and I get prompted with user name and password.
Even if I try to go directly to the registration page before I'm logged I get redirected to the login and it gives me the same message "you must login first"
But, if I type the complete url in the address box: index.php?option=com_virtuemart&view=user&layout=edit, I see vm registration page (where you can either login or register)
I 'm pretty confused
Please give me some hint...
ok...forget it...I found the problem. It's no bug, it was just my stupidity.
I created a menu entry to the profile visible only to registered users. So the linked page itself was available to registered users only.
By the way the setting affected even vm registration inside cart.
Thanks anyway