Hi,
Ever since i updated my joomla version to 3.5.1 new users cannot register, they would be redirected to the home page.
I disabled the VM user registration and just using no user registration for checkout.
How can i fix this?
www.shoedivas.co.za
Thanks in Advance!
You don´t say what VM version You have.
With Joomla 3.5.1 VM3 has to have shopfunctions.php modified or use VM 3.0.16
Regards
Jörgen @ Kreativ Fotografi.se
Hi Jorgen,
I did. 3.0.16. In the subject line.
How must i modify shopfunctions.php?
Thanks
It is done in the VM 3.0.16
You did not say from what version You upgraded, could be a template issue.
regards
Jörgen @ Kreativ Fotografi
How can i see what version i came from? Whatever the previous one was.
I have spoken to the template developers and they say the issue is not on their end. I just cant wait any longer for them to to help me.
Thanks
The problem is that Joomla 2.5.1 do not tolerate SEF link for return URL.
You have to change manually the return URL.
I added to fix it in MYSITE/templates/MYTEMPLATE/html/com_virtuemart/user/login.php
if($this->from_cart) $url = 'index.php?option=com_virtuemart&view=cart';
just tried your cart.. u don't have registration enabled
so tried as i assume guest and on confirm it just returns to the cart
too many unknowns.. start by double checking your config and trying with the std Protostar template
Quote from: Studio 42 on May 11, 2016, 13:12:16 PM
The problem is that Joomla 2.5.1 do not tolerate SEF link for return URL.
You have to change manually the return URL.
I added to fix it in MYSITE/templates/MYTEMPLATE/html/com_virtuemart/user/login.php
if($this->from_cart) $url = 'index.php?option=com_virtuemart&view=cart';
Can i just add this in anywhere in the php file or between anything specific?
Im using Joomla 3.5.1
Quote from: GJC Web Design on May 11, 2016, 13:41:22 PM
just tried your cart.. u don't have registration enabled
so tried as i assume guest and on confirm it just returns to the cart
too many unknowns.. start by double checking your config and trying with the std Protostar template
So i turned off user registration with VM, so i enabled the option that "users can checkout without registration".
Changing templates... wont that break anything i have currently if i switch back to it?
Sorry 2.5.1 > 3.5.1.
Last Joomla has a security nulnerability fix, so now only internal URL (not SEF) can be used, but Virtuemart use SEF return URLS.
So now you need to provide to joomla registration return url the not sef link without site name(see my code before).
This perhaps break other Vm links, but i only had this problem on VM user login form for now.
Quote from: Studio 42 on May 11, 2016, 14:30:24 PM
Sorry 2.5.1 > 3.5.1.
Last Joomla has a security nulnerability fix, so now only internal URL (not SEF) can be used, but Virtuemart use SEF return URLS.
So now you need to provide to joomla registration return url the not sef link without site name(see my code before).
This perhaps break other Vm links, but i only had this problem on VM user login form for now.
So if i use the code you gave me i can put it in the php and see?
I just dont understand how im the only one getting this issue...
I think no one checked this and many shop loose customers and simply don't know.
I stop to report bugs, because this get ignored last months, so i only give directly a solution to help Virtuemart user.
But i think this is same for all shops running Joomla 3.5.1.
For the code you have to add this after $url is set so not at top of file, but some lines later(this depend template overide and vm release)
So after a lot of fiddling and searching i used the code from "Studio42
if($this->from_cart) $url = 'index.php?option=com_virtuemart&view=cart';
And found this fix from Rupostel.com
www.rupostel.com/svn3/shopfunctionsf_joomla_installer.zip
And all of a sudden, it is miraculously working!
Hooray!!