Download Error

Anya58
Anya58
Offline
0
Hi

Everything's working great except when I try downloading a track. Have not set a price as it's a promotional site but the download is a html file rather than the mp3.

I understand this may be something to do with file size but I don't know how to change this, something to do with a php.ini file? I have no idea where to find this file and would appreciate help.

Thanks!
Responses (3)
  • Accepted Answer

    Wednesday, September 30 2009, 02:56 PM - #Permalink
    0
    hello Anya!

    yes, probably this is a PHP variable limitation. try to see what is the value for the variable "memory_limit" (on Joomla admin area, go to help -> system info -> php information)

    this value, as long as the others, can be changed in the php.ini file, as you said

    (it has nothing to do with the field "price" for the song, at all) ;)
    The reply is currently minimized Show
  • Accepted Answer

    Anya58
    Anya58
    Offline
    Wednesday, September 30 2009, 03:27 PM - #Permalink
    0
    Hi Germi

    Fast reply, thanks!

    I made some small progress. I just pasted one line of text into notepad:

    upload_max_filesize = 32M

    and saved it as php.ini, then uploaded to my joomla root folder, so the memory limit now shows as 32M.

    It seems to work on a PC. However, when I try to download on a MAC the file extension is still as follows:

    song.mp3.html - so obviously it won't play without getting rid of the html extension first.

    Any idea how I would stop this happening?
    Thanks!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 30 2009, 04:29 PM - #Permalink
    0
    hm...
    let me think about it. I run a Mac too and I think I dont have this issue. I'll let you know when I find out :)
    The reply is currently minimized Show
Your Reply