News:

Support the VirtueMart project and become a member

Main Menu

[solved] User Creation Problem

Started by jsbullock, September 23, 2014, 20:10:22 PM

Previous topic - Next topic

jsbullock

I'm getting ready to upgrade a live website with a new version I've upgraded on MAMP and am now testing on a subdomain on another host.

Just discovered I can't create a new user, either from a page from a menu item of type VirtueMart Account Maintenance nor from the Joomla Login form module. In the latter case, I get an "Invalid Token" error message.

I checked the Joomla User Manager Options, and Allow User Registration is On.

I'm using a new professional VirtueMart template and a plugin that allows one page checkout. When I register as a new user at checkout, a new user is indeed created, as well as new order. Chances are the plugin is adding MySQL records its own way. This confirms, however, that VirtueMart user registration settings are correct.

The new test version, with the problem in question, is upgraded from VirtueMart 2.0.26d to 2.6.6 and Joomla from 2.5.18 to 2.5.22.

I have made considerable changes to products and categories and will have to figure out how best to move my live orders and new users data from the live system to synchronize the new one in MAMP before I make the move.

But now I've got this problem if someone wants to pre-register before they buy.

Any advice on what the problem could be would be greatly appreciated.

Thanks,
- Jeff

jenkinhill

Invalid Token is likely to be a Joomla session issue rather than something will happen for new registrants.

See http://forum.virtuemart.net/index.php?topic=118683.0
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

jsbullock

Kelvyn,

Thanks, will check the  session angle out, but failure doesn't seem to be random nor time-based, it fails every time. Adding a user from VirtueMart Account Maintenance gives no error at all. But no record is created. -j

GJC Web Design

As Jenks says this seems much more likely a Joomla than VM problem - trying to create a user from the com_user has nothing to do with VM

why J2.5.22?  J2.5.25 is already with us
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jsbullock

#4
GJC > As Jenks says this seems much more likely a Joomla than VM problem - trying to create a user from the com_user has nothing to do with VM

Tried that, got the invalid token message. Ah, but then I went back to MAMP original and tested and both user creation methods, i.e. Joomla! Login form module and VirtueMart Account Maintenance menu type page, and both worked.

Quote from: jenkinhill on September 23, 2014, 23:25:05 PM
See http://forum.virtuemart.net/index.php?topic=118683.0

I did experience a weird, hacker-ish event not half an hour after putting up the test subdomained website, logged into the backend to discover that there was another user logged in with admin status. Checked and it was no one working on the project that I recognized. Logged the bugger off the site and changed the admin password, immediately. Then, shortly after, the live site, with an even older version of Joomla! and identical admin password got it's password changed - which I had to recover from.

> why J2.5.22?  J2.5.25 is already with us

For me, heads, down and blinders on busy w/ projects can keep one from noticing, but most importantly, reluctance. Even new stable versions have new problems, yet to be experienced - Like what we're discussing about the "stable" version J2.5.22 right now.  ;)

Well, as it turns out, right-on guys, I updated the MAMP version w/2.5.25. But was delayed in testing it online while I test synched live sales and user data. Then zapped & re-installed online sandbox w/latest Akeeba backup, using kickstart.

The user reg works fine now. So must assume it was a real hacker at work.

Thanks, always for the help.

- Jeff

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation