I have just had this issue as well, running Joomla 1.5.20 with virtuemart 1.1.5, it had been running fine up until I moved my webhost directory. I was using a module to login called mod_virtuemart_login, I unpublished the module then re-published it and it seems so far to have fixed the issue. (fingers crossed xx)

dperikic wrote:I managed to temporary resolve the issue by setting global config > system > session settings > session handler to none (that didn't help) than set it back to database. works in IE8 Firefox and safari for now

Well, obviously some people need the SEO so that won't help me. I am just shocked that no one has addressed this in the past. A simple search shows this as being a problem since the beginning of Joomla. I build dozens of Joomla websites per year. I have only had this issue pop up 3 or 4 times and I have not found anything common among the websites that will fix all of them. It is a real guess...so so sad...
Ralph

You might try deleting your login module and make a new one. Sometimes when I have login problems (doesn't matter what kind of login problems) I delete the module and start over. That helps. I don't know why. Seems to clear out some kind of garbage tho because it usually works.

Many programs come with a custom Joomla login but I don't use them. You can make a new login module by going to MODULES, then click on NEW and then select LOGIN from the list. Enable the new login module with the appropriate parameters.

It's surprising how much a new login module can help.

Amazing, indeed invalid token is cause by many problems but still there is a solutions, I try this one and it helps me, I remove the old login module and replace it with a new one, VOILA!!! my problem resolved.

[quote="jeorcal"]same here , running Joomla 1.5.20 with virtuemart 1.1.5, and mod_virtuemart_login,
I am getting invalid token and at the first login I get a session expired at once and I have to log twice...

If you change the configuration for the live site to the same as you have for your shop site, the problem seems to rectify itself.

there is only a var $live_site in the configuration.php ($no shop_site) and the URL is exactly the same than Administrator > virtuemart > configuration > Security (tab) > Site Url and Secure Url
the 3 URL are exactly the same

the website is totally finish but with that bug I cannot put it online and I don't know how to solve it ?
do you know if it is possible to use joomla login mod instead of mod_virtuemart_login ?

Cant see any reasons why not, there are a few comments in previous replies to this thread about using a new logon module. In the configuration section of virtuemart there is a section on User Registration Settings, which will enable the joomla logon.

This solution might work for some.
I had an invalid token after upgrading to the latest joomla and virtuemart. I tried everything on the forums but it didn't change. Eventually i found out that it was sh404sef. Just installing in admin 404sef didn't fix the invalid token but when i deleted the 404sef tables in phpmyadmin and reinstalled 404sef the invalid token was gone.
hope it helps

I have been using Safari on a mac but have recently installed firefox to make use of the developer toolbar,
I can not login through Firefox to any of the joomla sites that we have been playing with because of the invalid token error BUT it still works fine with Safari.

1. Login to Joomla backend as administrator
2. Click on the Menus drop down and select the menu which contains the link to where the login form is located (e.g., main menu)
3. Select the specific menu item which contains the link (e.g., XYZ login)
4. Make sure that "SSL Enabled" is turned on, especially if your site has an SSL certificate and the registered user section is on the https server.

Hi,
I had same issue with the invalid token. What i did that fixed it for me is going into backend to my login form module and in its settings instead of just having Login Redirection Page set to select page and assuming it would go to frontpage i set it manually to frontpage. And success no more invalid token problems. I hope this will help someone

*well sad to tell you but problem is back

Last edited by Luffee on Thu Apr 28, 2011 9:16 am, edited 1 time in total.

i've been unable to get a invalid token since i made this change hopefully no adverse affects but it works.

I have an old site I run footy tipping on Joomla 1.5.15 (upgrades tomorrow) and had this horrendous invalid token problem for everyone over the last month. ...I have tried your "mock", as mentioned above, 20 times trying to login and I see no invalids anymore.
Thankyou.

The main problem with invalid token during registration seems to be with either the login form, or the url. I had Jumi redirecting my url, and that caused an invalid token upon login. Removing Jumi seemed to work, but so did putting it back in and switching out the main Joomla login form with that of another plugin.

Just some food for thought Good luck to all those out there with this problem, hope you all get it fixed as well!