VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mySITE4u on November 26, 2015, 16:45:59 PM

Title: [SOLVED] Invalid Token, while trying to save user
Post by: mySITE4u on November 26, 2015, 16:45:59 PM
VirtueMart 2.0.20

While trying to open Shopping cart I get message 'Invalid Token, while trying to save user' with a blank page.
Before it worked and showed Shopping cart.

Also Rupostel OPC is installed on a site.

What is the issue?
Title: Re: Invalid Token, while trying to save user
Post by: jenkinhill on November 26, 2015, 17:19:11 PM
VM2.0.20 is over two years old!

See http://forum.virtuemart.net/index.php?topic=120500.0
http://www.rupostel.com/phpBB3/viewtopic.php?f=5&t=816
http://forum.virtuemart.net/index.php?topic=102879.msg344169#msg344169
Title: Re: Invalid Token, while trying to save user
Post by: mySITE4u on November 27, 2015, 07:38:54 AM
Quote from: jenkinhill on November 26, 2015, 17:19:11 PM
VM2.0.20 is over two years old!

See http://forum.virtuemart.net/index.php?topic=120500.0
http://www.rupostel.com/phpBB3/viewtopic.php?f=5&t=816
http://forum.virtuemart.net/index.php?topic=102879.msg344169#msg344169

Thanks!

The issue was Artio SEF.
I don't know why but they make many sef urls which are the same, say:

shopping-cart -  index.php?option=com_virtuemart&view=cart&Itemid=282
shopping-cart -  index.php?option=com_virtuemart&controller=opc&task=checkout&view=opc&Itemid=282
shopping-cart -  index.php?option=com_virtuemart

So that when I try to open my cart www.mydomain.com/shopping-cart it redirects me to wrong url ( index.php?option=com_virtuemart&controller=opc&task=checkout&view=opc&Itemid=282) and this causes the issue.

I've just renamed:
shopping-cart to shopping-cart-opc for index.php?option=com_virtuemart&controller=opc&task=checkout&view=opc&Itemid=282
and
shopping-cart to shopping-cart-vm for index.php?option=com_virtuemart

That's it.