News:

Looking for documentation? Take a look on our wiki

Main Menu

User registration - login first

Started by Patricck, November 25, 2015, 12:34:59 PM

Previous topic - Next topic

Patricck

Hi all,
i am new to virtuemart,

After playing with menu items users are unable to register, and don`t know where the issue is. After clicking registration button - it jumps to users need to login first page.
After turning off Search Engine Friendly URLs, suddenly users are able to register again, but i would like to use Search Engine Friendly URLs.

My joomla version is: Joomla! 3.4.5 Stable
PHP Version: 5.5.5

i am using the menu item:
Virtuemart - Account maintenance Menu item type for registration.
tested it also with external URL:  index.php?option=com_virtuemart&view=user&layout=edit

It was working before i started to make changes with menu items and started to configure the page.

Also got:
New User Registration Group: Registered
Guest User Group: Guest

Could somebody help why is the  Search Engine Friendly URLs messing up my user registration?

Thank you very much

Kind regards
Patrik

Patricck

Finally figured it out, in case somebody else would have the same issue:

I had two menu items with same link:
"index.php?option=com_virtuemart&view=user&layout=edit"

One for Guest, and one for Account maintenance.

For Guest it was "Register"
For Registered access it was "My account"

I had to remove the "My account " Menu Item, as if you have it twice, url rewrites are messing it up.

Thanks for the help.

Regards
Patrik

Milbo

Actually that should work, I wonder. Do you use any SEF extension? Do you have different languages?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

GJC Web Design

QuoteFor Registered access it was "My account"

imho this always breaks the registration/cart.. creates a loop

I hide the my account with conditional on user id css
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

Patricck

I am using only one language, but not english, no SEF extension. But all is working now :)

garikello

#5
I have same issue, but I am unsure what creates it.

I have menu items for registered users, tried to disable them, no change.

I am using ARTIO Jomsef. Checked the links, I didn't find that those would be messed up.

Any suggestions what to look for?

P.S. Perhaps it is worth mentioning that I migrated the shopper fields from VM 1. Perhaps I need to add some shpper fields registration to work.
When I deleted the menu items as Patricck suggested, I have another wrror - feld name is not filled...
Also, I use site in one languge frontend (Latvian), but I have 3 installed, and am using English backend.

I have Joomla 3.4.5 Stable on v5.6.15 PHP with VM 3.0.12.

GJC Web Design

QuoteARTIO Jomsef

Have u tried with this disabled?

IMHO the case for using any sort of 3rd party SEF ext doesn't exist.. it just adds overhead and complication and on occasion breaks things.
J & VM are perfectly able to produce just about any url construction if you are sensible and organised with your aliases
Have never used any SEF ext since the last Joomla 1.5 versions
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

garikello

Yes, I tried disabling Jomsef. No change.
(I need it because of metadata generation... Joomla does not that on its own as far as I know)

I get dropped to the account page with same error or without it.

I am thinking perhaps there are some Joomla core shopper fields missing. I can't see which ones though.

Is there a list of must have shopper fields, so it is possible to use VM account page for registering users?

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

garikello

Well, in that case I have these fields included...

No idea then, what causes the error.

You can see this your self - www.lynxgear.lv
Press - Registreties (Register)

garikello

I checksed my other website, where shopper fields are set by default. No changes were made to the fields.

I can register a user on that page from VM account page.


On my page however, where I have migrated shopper fields from older VM (v1) and edited shopper fields, I can't register users and get thrown to the account page with error - login first or please put in the name.

Is there a way to restore shopper fields as they were by default. It is important that this action does not let the data to be lost from registered users...

Any hints?

GJC Web Design

hidden vm cart or account menu set to registered?
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

garikello

Account menu is set to registered, but changing that, does not change anything.

Someone should make a comparison tool, which could comparison files of your customized website to the default one. And same goes for comparison database files...

GJC Web Design

wrong .. Account menu is set to registered  will do exactly as your describing...  send you to the login when u try to register
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

garikello

I will continue experimenting on this I guess. But, why is this a problem in the first place? Isn't it logical that I place account menu and set it as registered?