DragonflyCMS Projects > Storez > Instant Download link shows (without purchase) > Community Forums > Phoenix Netology
Forum Index > eCommerce > Storez

Instant Download link shows (without purchase) Reply to topic


Ok so maybe i setup something incorrectly in the configuration but here we go

I am setting up a STOREZ for a friend.
He is selling music which he produced.
I placed the media information
i placed the media IMAGE ( Album cover)
basically ALL of the listing information is correct, however,

I am looking at the page for the digial item

Below the item IMAGE is ee a hyper link
this hyper link is exactly the MP3 that they are supposed to PURCHASE and get confirmation through their email


Uhhh.... wait a minute.
If they are going to see this page, they wont BUY the song if they can simply RIGHTCLICK and DOWNLOAD the mp3 through the URL right?


So what have i set wrong?

I even changed it away from INSTANT DOWNLOAD

Instand donwload = NO
File Location = remote mp3 link ( my server allows for 2mb and this is 9mb so i uploaded it somewhere and placed the URL in the ADD MEDIA form)
DIsplay Product = ON ( is this correct? should it be OFF? )
Base cost = 1.50 USD

Please enter your server specs in your user profile! 😢


ADD MEDIA is for making media available that you want people to freely access, so it is working exactly as intended, like providing samples or teasers.

The way Storez is currently setup, you are stuck with your file upload limit unless you're prepared to upload files by ftp and use phpmyadmin to edit details. Bear in mind that Storez prepends uploaded files by "x_" where "x" is your User ID. In future, that prefix will be changed to an MD5 hash, so it will be slightly more complicated.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


i can use the phpmyadmin with no problems
yes i have FTP access to all the accounts on the server
and yes.. lol.. i think i can decifer what i need to do with settings but

can you take me a step by step for adding something from an FTP location?

My client really would like to use this software and have the ability to sell his personal productions on his own website.

PS... thanks very much Phoenix... i didnt realize you were here til just now lol

Please enter your server specs in your user profile! 😢


Well, if someone wants to regularly sell large files, he really should get a host that allows a higher upload limit.

That aside, simply add a dummy file which is much smaller but the same name as the one you wish to use - that gets the data into the database.

Then simply ftp the real file to where the uploaded downloads are stored (where you specified in settings) - this file will need to be named X_realname.mp3 where X is your userID when you uploaded the dummy file.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Seems like the php.ini file in the server control panel is showing that i am allow to upload an 11MB file
so im trying that now

-----------------
Looks like it added the file and there is no DOWNLOAD link showing in the catalog ( Thank *insert holy worshped name nere* ) lol

Please enter your server specs in your user profile! 😢


ok i was able to upload the file directly
i was able to add it and the album cover to it
i was able to go in a purchase the item as well through paypal

however, i alittle confused.

Am i waiting for something now? I am the one getting the admin recipt emails and notifications for now, but
i made the purchase but i dont see a way to download the item
nor is the link in any of the emails.


Whats the common procedure ?

Please enter your server specs in your user profile! 😢


Your PayPal IPN setup has to be correct, and the ipnstorez.php file has to be functioning and in DFroot directory, otherwise the database cannot receive the info from PayPal that says it's okay to allow a download. echecks will always take a few days to clear if that was the case.

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


ok Phoenix
here we go
im going to have to use this via uploading files from FTP.
but im alittle confused as to what exactly i need to do to make that owrk.

Here is what i THINK you are saying

1) Goto the process inside of STOREZ to add a 2MB file using the UPLOAD features built into it, and create the ITEM to be sold

2) Then goto that actual FTP location using an FTP tool and upload the FULL SIZED file directly, which would over write the SMALLER 2MB file from the previous step

3) when uploading the file via FTP tool
the filename needsto be "X_dj_rhenalt-translution.mp3"

"X" in this case should be renamed to my useID??
where do i get the useID from?
are you talking about the userID stored in the DF database?
If so, then the file inside of FTP should be renamed

"1_dj_rhenalt-translution.mp3"

am i thinking of it correctly?

Please enter your server specs in your user profile! 😢


Essentially yes.

However, I would be uploading more like a 2kb dummy file. Also, your userID is your DF ID and should be more like 2 - 1 should be for the Anonymous user.

The location will be whatever you have set it as in admin settings.
For default it will be DFroot/uploads/storez/products/downloadz/2_dj_rhenalt-translution.mp3

The directory permissions for /downloadz/ will be whatever works on your server - for some that is 0755, for others it will be 0777. I cannot predict what you need since so many hosts do permissions differently (and sometimes incorrectly) - quite simply, if the permissions are wrong, even a 2kb dummy file won't upload.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are Australia/Adelaide


Jump to: