Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

VirtueMart - Recommend to a friend - 404 Error
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: VirtueMart - Recommend to a friend - 404 Error

VirtueMart - Recommend to a friend - 404 Error 14 years, 4 months ago #13212

Recommend to a friend showing Error 404 in all IE.
With Mozilla - no problem.

Joomsef 3.6.2 - working
Joomsef 3.6.4 and 3.6.5 - not working.

Virtuemart 1.1.4
Joomla 1.5.17
The topic has been locked.

Re:VirtueMart - Recommend to a friend - 404 Error 14 years, 4 months ago #13215

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

Unfortunately, the problem is in VirtueMart not supporting the SEF links correctly. Thanks to a bug or a feature in Mozilla, the link works there. You can fix this behaviour in JoomSEF - open JoomSEF configuration and on the Advanced tab set "Set page base href value" option to "Yes - always use only base URL". Using this option however, there may be problems with some other links.

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:VirtueMart - Recommend to a friend - 404 Error 14 years, 4 months ago #13228

Hi David,

"Set page base href value" is set and does not help in this case.

But .... after a long battle I found a solution.
I edit file /administrator/components/com_virtuemart/classes/htmlTools.class.php

from
$link = $sess->url( 'index2.php?page=shop.recommend&product_id='.$product_id.'&pop=1'.(vmIsJoomla('1.5') ? '&tmpl=component' : '') );


to
$link = $mosConfig_live_site.'/index2.php?option=com_virtuemart&page=shop.recommend&product_id='.$product_id.'&pop=1'.(vmIsJoomla('1.5') ? '&tmpl=component' : '');


and all work fine. :-)

Only I do not understand one thing. Why using JoomSEF 3.6.2 no such problems? What has changed in new versions that require such changes?
In this case, what is better in new versions?
The topic has been locked.
  • Page:
  • 1
User Login Empty