cancel
Showing results for 
Search instead for 
Did you mean: 

Having a problem with downloadable product - mp4 files

SOLVED

Having a problem with downloadable product - mp4 files

Hi there, really hoping someone can help

I have downloadable products with both pdf and mp4s together in one product.

The pdfs I uploaded by file in the backend

The mp4's I uploaded by ftp (filezilla) to a directory as they also need to be accessed by a customer group online

But, what has happened is when a customer buys it, only the pdf is available in "My downloadable products" I get an error message for the mp4

I was linking the mp4 by url.....http://www.website.com/file  but somehow the url won't link to the mp4.

I was wondering if it was the SSL certificate.

I changed the

~/public_html/app/code/core/Mage/Downloadable/Helper/Download.php

as recommended in one post from

if (!isset($urlProp['scheme']) || strtolower($urlProp['scheme'] != 'http')) {

to 

if (!isset($urlProp['scheme']) || (strtolower($urlProp['scheme'] != 'http') && strtolower($urlProp['scheme'] != 'https'))) {

but it made no difference - I still get the error message

"An error occurred while getting the requested content. Please contact the site owner" 

To get around the issue temporarily and keep the customer happy I uploaded the mp4's as File's in the backend but there must be a better solution.

I need to fix this as my magento version needs upgrading and I don't want to upgrade with something not working

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Having a problem with downloadable product - mp4 files

Hi @t_r_i_s_h,

 

I'm not sure if I understand the complete scope of what you want to build but I guess you will need some level of customization.

I think you won't be able to get it wiuth Magento OOTB. Not in this way.

View solution in original post

3 REPLIES 3

Re: Having a problem with downloadable product - mp4 files

Hi @t_r_i_s_h,

 

I'll be curious. Why you don't upload both files from the backend?

Re: Having a problem with downloadable product - mp4 files

I did end up uploading both files from the backend. And that worked as a temporary fix.

The problem is I have a membership site.

Members can see the mp4's when logged in (on CMS pages) and non-members can buy them separately (in the shop as individual products).

Now I have copies of the mp4 files on the site in 2 locations - and they are large.

I tried to upgrade my 1.6.1.0 to 1.9.3 but it wont upgrade, so I am now creating a new website in 2.2.5.  

Do you know a way of accessing/calling backend upload mp4 files from a cms page? Until I get the new site finished and transferred that might be another fix, as the url upload in the product page definitely does not work

 

 

Re: Having a problem with downloadable product - mp4 files

Hi @t_r_i_s_h,

 

I'm not sure if I understand the complete scope of what you want to build but I guess you will need some level of customization.

I think you won't be able to get it wiuth Magento OOTB. Not in this way.