Menu Content

Support

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

Virtuemart Downloadable Products Don't work
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. 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
  • 2

TOPIC: Virtuemart Downloadable Products Don't work

Virtuemart Downloadable Products Don't work 14 years, 5 months ago #8886

Clicking the link in "account maintainance - order information" comes up with a 404 error. If I turn off JoomSEF it works perfectly.

I am using the latest version of Joomla, the latest version of virtuemart, the latest version of JoomSEF and have installed the virtuemart plugin. Any ideas what could be wrong?! Everything else seems to work fine.
The topic has been locked.

Re:Virtuemart Downloadable Products Don't work 14 years, 5 months ago #8905

  • jitr
  • OFFLINE
  • ARTIO Support
  • Posts: 1432
This error usually causes missing turned on mod_rewrite in Apache configuration.
ARTIO Support Team
The topic has been locked.

Re:Virtuemart Downloadable Products Don't work 14 years, 5 months ago #8912

  • jaku
Hello,

make sure you are using the latest version of VirtueMart extension for JoomSEF and JoomSEF. There has been a fix for this.
After you have upgraded to latest version, purge all exisitng URL related to "account maintainance - order information", that is, including the string "page=account.order_details" in original non-sef URL.
The topic has been locked.

Re:Virtuemart Downloadable Products Don't work 14 years, 2 months ago #10280

I have the same problem.
The link that is contained in the email works fine, eg:

www.dow.org.au/index.php?option=com_virt...ca0fb704953bd98d7b6c

but the link that is contained in the product page produces a 404 file not found error...

www.dow.org.au/online-shop/download-area...ca0fb704953bd98d7b6c

The correct SEF link for the download page is this:

www.dow.org.au/online-shop/download-area (not download-area-2)

What do I need to modify in the VirtueMart ArtioSEF extension to get this to work?

Thanks,

Richard
The topic has been locked.

Re:Virtuemart Downloadable Products Don't work 14 years, 2 months ago #10324

  • jaku
Hello,

yes, that is right. It is because of bug in VirtueMart.
You will need to fix this in VirtueMart sources directly.

In file account.order_details.tpl.php in pages folder of your VirtueMart template,
around line 299 (at least with our VM install), make sure to change the link generation code to:
 
$url = $sess->url( $mm_action_url."/index.php?option=com_virtuemart&page=shop.downloads&func=downloadRequest&download_id=".$download_id);
echo '<p><a href="'.$url.'" title="'.$VM_LANG->_('PHPSHOP_DOWNLOADS_LINK').'">'
 
Last Edit: 14 years, 2 months ago by .
The topic has been locked.

Re:Virtuemart Downloadable Products Don't work 14 years, 2 months ago #10338

Hi - thanks for your reply - but I am still having the same problem.
The file is still generating 404 error links.

This is the code I am using:

if( $link_to_product) {
$url = $sess->url( $mm_action_url."index.php?option=com_virtuemart&page=shop.downloads&func=downloadRequest&download_id=".$download_id); echo '</ br><a href="'.$url.'" title="'.$VM_LANG->_('PHPSHOP_DOWNLOADS_LINK').'">';
}
 
echo $dbcart->f("order_item_name");
 
if( $link_to_product) {
echo "</a>";
}


Even where I have changed it to SEO code, it still produces a URL with "-2&" rather than "?" eg it should be download-area? rather than download-area-2&
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty