VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: bassrehab on July 13, 2012, 11:31:43 AM

Title: [Solved]Error: VM 2.0.8c deployed on subdomain, mail Invoice link error
Post by: bassrehab on July 13, 2012, 11:31:43 AM
I have a main domain, say www.xyz.com
but i have a joomla 2.5 and VM 2.0.8c  installation on a subdomain '/shop' -

Everything works fine with VM and Joomla, the product cart, checkout.

But when an invoice is generated to the users email after a purchase, the link in the email, "View order online", points to the ROOT domain and not the actual subdomain where VM is installed.

VM generated email link for view order online to purchaser http://www.xyz.com/index.php?option=com_virtuemart&view=orders&layout=details&order_number=f23a018&order_pass=p_e74ce - Error '/shop' subdomain missing in link


Here's the catch, if i manually add the subdomain name to the URL generated, it takes me to the Order Details page. and everything works fine


Already checked :

- Vender information > Shop > URL  = http://www.xyz.com/shop/  (is pointing to subdomain)
- Joomla configuration > live site set to  = http://www.xyz/shop/
- safepath is configured on the subdomain, with trailing, leading hashes all checked..using http://forum.virtuemart.net/index.php?topic=98633.0 (http://forum.virtuemart.net/index.php?topic=98633.0)
- SEF enabled without mod rewrite/.htaccess

How can this be fixed? Any suggestions?
VM is apparently generating the wrong URL.

On a side note i observed, the config link in the system message that  VM generates in the administrator backend asking to add  a 'safe path' when i leave the safepath empty, also points to the top domain. (the safe path is correctly configured currently)


Any suggestions would be highly welcomed. If you need further details please let me know

Upgraded to the Latest Version. Solved in 2.0.8 e release
Title: Re: Error: VM 2.0.8c deployed on subdomain, mail Invoice link points to root domain
Post by: Milbo on July 14, 2012, 12:39:46 PM
Why do you not write this in the developer and bug board? Nice description, but also often already discussed, imho solved in 2.0.8d
Title: Re: Error: VM 2.0.8c deployed on subdomain, mail Invoice link points to root domain
Post by: bassrehab on July 17, 2012, 22:07:07 PM
Hey Milbo
that error is taken care of in the 2.0.8e version. Perfect. :D
I love the way you guys are on the mark with the release updates.  You, Akeeba and Phoca guys are what makes Joomla desirable and easy for everyone. So a hearty thanks and obliged.

Just one glitch still remains not sure if its my own configuration error, i will run a check.
Continuing in the email invoice for the customer, in the footer, the greeting that says, "Thank you for purchasing at <shopname>", the <shopname> link is still generating error (more specifically, the link is clubbed as 'http://www.mydomain.com/www.mydomain.com/index.php/shopname'.

Keep up the good work guys.