| Author |
Message |
aucti9

Joined: Dec 06, 2007
Posts: 16
|
Posted:
Sun Mar 09, 2008 3:25 pm |
|
any ways.. heres the problem.. i can download the exe file im selling directly from the soruce..
but then when i buy it from the store, and the store gives me the download.. the exe file dont work Im not saying i can not download it.. i can download it from the store...
But once its downloaded from the store the exe file dont work..
but it works if i download it directly from the correct folder its stored in..
the store some how is turning the exe file into nothing..
WTF..
What do i do to fix this |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 920
|
Posted:
Sun Mar 09, 2008 4:16 pm |
|
My first thought was the download was being corrupted by extra whitespace in some of the php files. After looking into it, I found out I was right and there was whitespace at the end of several php files. The cause of the extra whitespace can be the text editor, ftp client, etc. To fix it, you can either go through with a good text editor and remove all the whitespace or add a bit of code to do it for you.
open up modules/Digital_Shop/app/Shop/index.php
find
| Code: |
case 'downloadItemFile': |
and
| Code: |
case 'downloadFile': |
For each one of the above lines:
after, on a new line, add
|
| |
|
|
 |
R3viv0r

Joined: May 30, 2007
Posts: 12
|
Posted:
Mon Jan 12, 2009 6:13 pm |
|
When i do what it says in the fix post i get a white screen saying content encoding error |
| |
|
|
 |
|
|