Author Topic: Can't Download PDF  (Read 8063 times)

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Can't Download PDF
« on: June 18, 2013, 06:18:40 AM »
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
« Last Edit: June 18, 2013, 06:21:11 AM by macat »
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Can't Download PDF
« Reply #1 on: June 18, 2013, 06:31:29 AM »
you tried to download or upload file? :o
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Can't Download PDF
« Reply #2 on: June 18, 2013, 06:46:13 AM »
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?
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Can't Download PDF
« Reply #3 on: June 18, 2013, 07:00:02 AM »
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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Can't Download PDF
« Reply #4 on: June 18, 2013, 07:11:45 AM »
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.
« Last Edit: June 18, 2013, 07:18:17 AM by macat »
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Can't Download PDF
« Reply #5 on: June 18, 2013, 11:50:17 AM »
after cache cleaning?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Can't Download PDF
« Reply #6 on: June 18, 2013, 02:32:17 PM »
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
« Last Edit: June 18, 2013, 02:35:07 PM by macat »
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Can't Download PDF
« Reply #7 on: June 19, 2013, 09:20:07 AM »

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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Can't Download PDF
« Reply #8 on: June 20, 2013, 02:26:22 AM »
Hi,
OK, will do.  Thank you for your help.
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.