VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Alexanderz on October 05, 2016, 12:59:59 PM

Title: layout problem redirect vm 3.0.18
Post by: Alexanderz on October 05, 2016, 12:59:59 PM
hi,
I would have a pretty annoying problem.
When I click on a few pages of virtuemart such as add address or change billing information, this redirecta me the form in the middle of the homepage.
I can not understand what the problem is.

You can test this by selecting a product, then shows the carriage and finally select one of two options
- Add / edit billing information or
- add shipping address

Use vm 3.0.18 e J3.6.2

#link] (http://www.sparkitalia.it)
Title: Re: layout problem redirect vm 3.0.18
Post by: GJC Web Design on October 05, 2016, 13:02:18 PM
have you a menu to the VM cart and to the VM user account so u can select the modules ?
Title: Re: layout problem redirect vm 3.0.18
Post by: Alexanderz on October 05, 2016, 13:07:27 PM
Yes, yes, I have 2 menu (cart and my account)
cart = id 131
my account = id 128

you mean here?

(http://www.sparkitalia.it/image_test/1.jpg)

(http://www.sparkitalia.it/image_test/2.jpg)
Title: Re: layout problem redirect vm 3.0.18
Post by: GJC Web Design on October 05, 2016, 14:33:25 PM
correct

and have u disabled all the modules u don't want on the account menu?
Title: Re: layout problem redirect vm 3.0.18
Post by: Alexanderz on October 05, 2016, 14:59:06 PM
yes.
I noticed that disabling the SEO, everything works fine.
I only enabled this option:

(https://snag.gy/8G4mCq.jpg)

this is my htaccess

(Note that the .htaccess is renamed .htaccess in the root) (http://sparkitalia.it/image_test/htaccess.txt)
Title: Re: layout problem redirect vm 3.0.18
Post by: Alexanderz on October 06, 2016, 12:34:31 PM
I did some research and I noticed some inconsistencies.
Before I set the language on vm and now it Italian.
Before the link that redirected me to "add / edit shipment address" it was formed as follows:

www.mysite.it/pages/my-account/editaddresscartST?virtuemart_user_id[0]=0

now it looks like this

www.mysite.it/utente/modifica-indirizzo-spedizione?virtuemart_user_id[0]=0

Now it is clear that lack some address, and then does not return to the correct page ..
It can not seem to read "pages/my-account/", but now read only /utente/

the address /pages to what is refers?
Title: Re: layout problem redirect vm 3.0.18
Post by: GJC Web Design on October 06, 2016, 13:42:54 PM
this module-> https://www.ostraining.com/blog/joomla/osurl-an-easy-way-to-find-the-real-url-of-a-joomla-page/
can be very useful in troubleshooting stuff like this