News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Can't Download PDF

Started by macat, June 18, 2013, 06:18:40 AM

Previous topic - Next topic

macat

Well that was quick, download page is there but when I try to download a PDF, I get this error:

GC100.pdf    694.47 KB    Error: Filetype not allowed

Is it a permission problem, if so where do I fix it?

OK, it is not just pdf's it seems to be all files, just tried a png, got this error:

4DGiftCertificateTemplate.png    537.60 KB    Error: Filetype not allowed

abolabo

you tried to download or upload file? :o

macat

I clicked download under Catalog, download and then click the blue button.  I upload and got those errors.  I uploaded photos for products just fine, so not sure what the problem is?

abolabo

default file type for downloads is ARCHIVE - /.+(zip|rar|gz|7z)$/i
but you tried to upload pdf.
you can add you own type into database table resource_types.

macat

#4
OK, this is what Ihave and I still can't download the pdf:

Edit    Copy  Delete 5 archive download/ icon_resource_archive.png    /.+(zip|rar|gz|7z|pdf|PDF)$/i    1

Treid both lowercase and caps, still won't upload the pdf?

Just uploaded a zip file, no problem, so it is not the program, it just won't upload the pdf.

abolabo


macat

#6
Thank you, that fixed it.

I do have another question, I have 4 different gift cards, for 4 different totals, I have it set up as one product using options to allow the customer to choose the amount they want to purchase.  Is there a way to set the correct pdf download to correspond to the amount purchased or do I have to list each Gift card individually?

When I click relations and go to my pdf downloads it automatically defaults to the first one when they purchase and login to their account to download it.

Here is the gift card link to see what I mean:

http://myresq.org/crsd/index.php?rt=product/product&product_id=4

abolabo

Quote from: macat on June 18, 2013, 02:32:17 PM

I do have another question, I have 4 different gift cards, for 4 different totals, I have it set up as one product using options to allow the customer to choose the amount they want to purchase.  Is there a way to set the correct pdf download to correspond to the amount purchased or do I have to list each Gift card individually?

When I click relations and go to my pdf downloads it automatically defaults to the first one when they purchase and login to their account to download it.

Here is the gift card link to see what I mean:

http://myresq.org/crsd/index.php?rt=product/product&product_id=4

i think you have to look on extension flexy promotions in extensions store of our partner. Menu extensions->extension store.

macat

Hi,
OK, will do.  Thank you for your help.

Forum Rules Code of conduct
AbanteCart.com 2010 -