News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Registering with existing username displays no error message

Started by ymedia, March 04, 2015, 02:01:28 AM

Previous topic - Next topic

ymedia

Hey guys,

First post so sorry if I'm doing it wrong, but this is probably worth bringing to attention:

(Using Joomla 3.3.6 and virtuemart 3.0.6)

Whenever a user registers with a username that already exists, the page just refreshes with no error message.

It's happening on a site I'm working on now, and it happens on your demo site http://demo.virtuemart.net/account if you try to register with the username 'demo' (because it already exists).

I also tried putting the <jdoc:include type="message" /> above <jdoc:include type="component" /> (a commonly suggested fix) but it doesn't seems to work.

I had a search for this but couldn't find anything relevant to joomla 3.x

Looking forward to your response

GJC Web Design

afaik VM has done this since VM2 days .. and yes - not ideal...
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

julos0877


ymedia

Damn, seems like a pretty big issue!

Does anyone have any good workarounds?

jenkinhill

I never see an issue like this as none of my sites require registration, all work as guest checkout only because I want the customers to buy as easily & simply as possible.

But I have remembered this:  http://forum.virtuemart.net/index.php?topic=115425
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

GJC Web Design

I think the best system would be a live check of the username and email as they are filled (by ajax)

On another non VM project I am using com_ajaxregister and this works really well  http://www.sakic.net/products/ajax_register/documentation/

It does a quick DB query by ajax as soon as you leave the field

http://www.investorenmagazin24.de/index.php?option=com_ajaxregister&view=registration&Itemid=148

try test1 as benutzer or test1@gjcwebdesign.com  as email

if something like this could be developed for VM it would be ideal
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

ymedia

Thanks heaps for the response guys,

I've tried everything suggested and unfortunately am still having no luck.

If there's any other ideas you might have I'm all ears!

It seems like it's been a bit of an issue for a while.

lindapowers

One page checkout by rupostel includes this feature at least on registration from checkout. On pre registration I have not tested.

Ask Stan to make sure https://www.rupostel.com/

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ymedia

Thanks again for your replies,

I've messaged Rupostel and now awaiting his reply.

I'll keep you all posted

julos0877

Hello Milbo,

What do you mean when you write "Tank you, found"?
Do you mean, we need to use the One Page Checkout for VirtueMart to solve this problem?

Milbo

It simply means that I found the error and fixed it.

and no you do not need to use any commercial OPC. The error was just that vmError('my message') shows the error only to admin, vmError('my message','muh') shows to the admin "my message' and to anyone else 'muh'
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

julos0877


julos0877

Hello Milbo,

Could you tell us which files we have to change by wating the new release?

Thanks in advance