News:

Looking for documentation? Take a look on our wiki

Main Menu

Invalid Token, while trying to save user [solved]

Started by briangt, February 12, 2019, 22:09:11 PM

Previous topic - Next topic

briangt

I have this issue with my Virtuemart shop when a user tries to Register their account.
The about the used version:
Joomla: 3.9.3
Virtuemart 3.4.2
Template is from virtuemarttemplates.com

Settings:
Cache: off
Gzip: off
HTTPS: on
Plug-in: Pagecache: off

I don't know how i can fix this problem. Please help me out :)

jenkinhill

You can get better information about the error using this plugin:  https://www.joomunited.com/products/token-interceptor

Or turn on Joomla debug.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

briangt

Thank you for your replay. I forgot to mention i allready installed this plugin.
Unfortunately, the problem still exists.

I will check the Joomla Debug. I've send the hosting to check if they don't use any sort of chache.

Jörgen

.htaccess settings wrong ? www vs non www ?

Using https ? Is https for sensitive area on in VM configuration ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

briangt

I tried the https://www.url vs the https:/url and unfortunately there was no change.

Is https for sensitive area on in VM configuration ?
Yes it is.

I also disabled the SEF and URL rewrite.
I made a new menu button on the language option: all
Also no change...

briangt

The strange thing is that it's only happing on a mobile registration.

This is the code i get while trying to save the user:
QuoteBericht
1 vmdebug Show All Errors, PHP-Version 7.1.17
2 vmdebug 2 Languages, default shoplanguage (VmConfig::$jDefLang): nl_nl nl-NL Selected VM language (VmConfig::$vmlang): nl_nl nl-NL SEF: nl
3 vmdebug vmTime: time to load config: 0.0104160308837891
4 vmdebug There is no requested itemid loaded home Itemid Var1:
904
5 vmdebug Start used Ram 10M
6 vmdebug SSL enabled
Invalid Token, while trying to save user
3 vmdebug vmTime: time to load config: 0.0104470252990723
4 vmdebug Start used Ram 10M
5 vmdebug SSL enabled
6 vmdebug getBTuserinfo_id is 0
7 vmdebug Try to get $virtuemart_userinfo_id by type BT
8 vmdebug getUserInfoInUserFields case empty $uid
9 vmdebug My Url in loginform Var1:
index.php?option=com_virtuemart&view=user&layout=edit&language=nl-NL&Itemid=566&lang=nl-NL
10 vmdebug End used Ram 16M
11 vmdebug Peak memory peak 16M
12 vmdebug vmTime: "VirtuemartControllerUser" Finished task : 0.139991044998169
13 vmdebug getVendorId normal shopper
14 vmdebug My Memory Limit in Bytes 268435456
15 vmdebug my filter order Var1:
pc.ordering
16 vmdebug vmTime: sortSearchQuery products: topten: 0.00153303146362305
17 vmdebug $customfield->options Product to ignore, continue Var1:
188
18 vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00803589820861816

briangt

#6
This morning the hosting company moved the website to on other server and the problem disappeared.