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

Serious bug in the registration process [not a bug]

Started by hpheidinger@arcor.de, July 27, 2018, 22:29:31 PM

Previous topic - Next topic

hpheidinger@arcor.de

First things first ...
------ Using -------------
VirtueMart 3.2.14
Joomla 3.8.10
Centos 7.5
-----------------------------

Virtuemart has a serious bug in the registration process that does not allow a registering
candidate to finish registration succesfully.

Selection from the 'State/Region/.." dropdown on the registration form  is impossible
even if the list is not empty
But a selection is 'required' it the list is not empty (E.g. for India, China, Russia, ...)

So a registering user (at state 'public/guest' since still 'unregistered') will fail over-and-over
with the registration since he cannot make a section for something  he has to make to get the registration thru.
See the idiocratcy ???
Every registering user will fail in the registration process if he has specified a 'country' that has a 'state' list
attached to the chosen country.

- Only 'administrators' can access the 'state' list in the admin backend.

- In the 'front-end' this 'state lists' are not accessible - neither for 'public/guests'
  during the registration process nor for a registered user.

I assume this is a permission problem.
The 'state/region' list permission must be the same as that for the 'country' selection - but obviously isn't
in the front-end (site) - otherwise the selection would work and the registration process would not fail
over-and-over for countries with non-empty state/region/provice lists.

In order to get users successfully thru the registration I have disabled the 'required' flag from the
state/region/province dropdown in the user-fields But this cannot be the solution to the problem.

You may verify this ill-behavior by trying to register a user from India (or other country with a non-empty
state/region/province list maintained by an administrator in the VirtueMart admin backend under
Configuration -> Countries)
Heinz-Peter Heidinger
CEO, ComServe IT-Services & musIC Pro-Audio Engineering
Essen
- Germany -

Studio 42

Do you use a one page checkout plugin or virtuemart core checkout ?(if yes disable it to test)
Have you try using Joomla core template protostar ?
I know that the problem is certainly not here, but this are the basic test to be sure, it's a virtuemart problem.

GJC Web Design

Of course it works otherwise VM would be un-useable

on any of my sites as guest etc the state selector shows correctly

It is rendered by JS ajax so find if the ajax is returned properly ( no debug info etc in it) or if it is even called ( fails because of JS error on your template)

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

hpheidinger@arcor.de

Hello,

In my case it fails for a non-obvious reason whilst the 'country' box is working just fine.
I had to remove the 'mandatory flag' from the 'state/region/....' selector to get registering users
through the registration process. Some guy from India notified me, that registration failed over-and-over
for him, since he could not select from the drop-down because it did not get filled.

I have changed the country of an already registered test-user to 'India' and tried a 'State/Region/...'
selection from the drop-down in the customer profile manager. but with the same effect even for a
'registered' user: empty drop-down for the "State/Region/..." selection.

You may verify this here:

          https://music-on-the.net/

Heinz-Peter Heidinger
CEO, ComServe IT-Services & musIC Pro-Audio Engineering
Essen
- Germany -

jenkinhill

I see an error in the console:

TypeError: jQuery.browser is undefined

Possible issue is this jQuery version which is older than that used for VM is loading after the VM version, 1.12.4

https://music-on-the.net/modules/mod_bm_cool_menu/assets/js/jquery-1.11.1.min.js

bm_cool_menu
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

Uncaught TypeError: Cannot read property 'msie' of undefined
    at HTMLDocument.<anonymous> ((index):108)
    at j (jquery-1.11.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.11.1.min.js:2)
    at Function.ready (jquery-1.11.1.min.js:2)
    at HTMLDocument.J (jquery-1.11.1.min.js:2)
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

hpheidinger@arcor.de

@jenkinhill & GJC Web Design

Thank you very much for the pointers.

The culprit was a radio-button in the "BM Cool menu" module setup:

    Load JQuery "YES"

By setting it to "NO" everything is working just fine now.


Best regards ...
Heinz-Peter Heidinger
CEO, ComServe IT-Services & musIC Pro-Audio Engineering
Essen
- Germany -