Author Topic: How do I sell digital downloads of a PDF?  (Read 13723 times)

Offline ajbbb

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How do I sell digital downloads of a PDF?
« on: January 28, 2013, 06:39:44 PM »
How do I sell digital downloads of a PDF?

Do I just upload it to media on the product page and they get it after they pay?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How do I sell digital downloads of a PDF?
« Reply #1 on: January 28, 2013, 09:48:44 PM »
you need to upload "download" in menu Catalog->Downloads and to assist  "download" to product on it's page in tab "relations"
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline bmaresc

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #2 on: March 20, 2013, 03:26:41 AM »
Hello,

I am starting to setup a store with 1.1.4 and I would like to associate the download of a PDF file (size is 22.4 Mb) to a product.

I have changed upload size limits.

I have problems creating the download. In the resource librarywindow, there is a single tab named "archive". When a try to add the resource (either a PDF or ZIP) I get an error (file unknown) and a message telling me to check the error log... but there is no error log available!

What am I doing wrong?

Many thanks for your help.

Bertrand

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How do I sell digital downloads of a PDF?
« Reply #3 on: March 20, 2013, 04:20:12 AM »
... but there is no error log available!

menu->system->logs->error log ?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline bmaresc

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #4 on: March 20, 2013, 04:31:54 AM »
Yes... empty window!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How do I sell digital downloads of a PDF?
« Reply #5 on: March 20, 2013, 04:49:21 AM »
try to create some zip file with size less then 1mb and upload to resource library. Also take a look on settings "max upload size". You have to see limitation  by your php.ini directive , for ex. "2Mb".
You cannot to set max upload size greater then value of this directive. You need to change it first.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline bmaresc

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #6 on: March 20, 2013, 05:11:59 AM »
The limit in php.ini is 100Mb.

But the problem seems to come from the limit in System|Settings|System where it seems that it can not exceed 8Mb.

I succeeded uploading a smaller zip.

Isn't it possible to uploas larger files or files other than zip files?

Thanks for your help.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How do I sell digital downloads of a PDF?
« Reply #7 on: March 20, 2013, 05:27:27 AM »
The limit in php.ini is 100Mb.

But the problem seems to come from the limit in System|Settings|System where it seems that it can not exceed 8Mb.

I succeeded uploading a smaller zip.

Isn't it possible to uploas larger files or files other than zip files?

Thanks for your help.

"The limit in php.ini is 100Mb." - if you see 8Mb on your settings page that's means limitation 8mb by fact. I added this "note" to see actual limit there.

About file types.
You can to look inside database, table "resource_types" and add some type manually. By default AbanteCart use file types for archives   by regular expression  /.+(zip|rar|gz|7z)$/i
Add your own.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline F4Society

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #8 on: July 23, 2014, 08:38:54 PM »
I like the original poster have php.ini set to a value greater than the <=8 mb being shown on the System tab. 

So where indeed is AbanteCart pulling that value from?  What is the notes source?  Code reference please.

I do not have any issues with other php apps running on the server as far a file upload sizes being so limited.

This is with version 1.9.1. 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #9 on: July 24, 2014, 04:20:46 AM »
Hello.

Check Resource Library Upload Max File Size setting in Admin-System-Settings System Tab

Also check with your hosting provider or change manually php.ini or .htaccess file settings like post_max_size, upload_max_filesize. Are you using a shared hosting provider? It could be master settings overriding anything you're trying to change.

Offline F4Society

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #10 on: July 24, 2014, 12:44:29 PM »
Hello.

Check Resource Library Upload Max File Size setting in ........

Also check with your hosting provider or change manually php.ini or .htaccess file settings like post_max_size, upload_max_filesize. Are you using a shared hosting provider? It could be master settings overriding anything you're trying to change.
thanks...
1) It is the Resource Library Upload Max File Size that the original question was about, and the reply that the (<=8 mb) shown was pulled from somewhere by Abantecart.  I want to know where. I have 20000 entered in that block to match what is in the php.ini files in use.  It is not being honored. 
2) All the php.ini file settings on our server are set to 20mb or greater.  I have confirmed that with the provider.  They double checked an none are set to 8 mb.
3) Double checked .htaccess files.. none have a file limit
3) Other php based programs on the server allow uploads greater than 8mb. 
4) So back to the original question, where is the Resource Library Upload Max File Size pulling that (<=8mb) hint from?   You probably need to check with the developer.

FYI: The master php.ini for the server is set as follows:
register_globals = Off
magic_quotes_gpc = Off
post_max_size = 20M
memory_limit = 200M
upload_max_filesize = 20M
max_execution_time = 120
expose_php = off
session.save_path = /tmp
mysqli.default_socket = /tmp/mysql5.sock
mysql.default_socket = /tmp/mysql5.sock
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

and the two php.ini files within the abantesoft folders both have much larger file sizes..

;Use this file for specific PHP settings on your server required for AbanteCart.

output_buffering = 4096;
magic_quotes_gpc = Off;
register_globals = Off;
default_charset   = UTF-8;
memory_limit = 120M;
max_execution_time = 18000;
upload_max_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: How do I sell digital downloads of a PDF?
« Reply #11 on: July 25, 2014, 01:26:59 AM »
4) So back to the original question, where is the Resource Library Upload Max File Size pulling that (<=8mb) hint from?   You probably need to check with the developer.

Please check this post http://forum.abantecart.com/index.php/topic,2127.msg8844.html#msg8844 . Hope this helps

 

Powered by SMFPacks Social Login Mod