Forums / Basic Configuration / PDF Dowload not working

PDF Dowload not working

Started by awebb_designer on 12 Jul 2012, 5:54 PM · Views: 1,875

Results 1 to 16 of 16
12 Jul 2012, 5:54 PM
#1
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

PDF Dowload not working

I have created a pdf ebook and it is not working
Attachment 10789Attachment 10790Attachment 10791

Please help. Thanks! :blink:
Angela Webb

12 Jul 2012, 6:02 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: PDF Dowload not working

Try to eliminate spaces and special characters from filenames ...

Next, check your two configure.php files, on the server, for:
/includes/configure.php
/your_secret_admin/includes/configure.php

as I am seeing extra // in the path names based on those images that you posted ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Jul 2012, 8:45 PM
#3
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

Attachment 10808Attachment 10809Hi thank you for your help. I did the items you suggest. Now the link is clickable but when I try to save as the file name is MommyMaintenance.pdf.crdownload and the file does not load. When I open the page is is not valid.:no:
Thank you again
Angela

16 Jul 2012, 10:29 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: PDF Dowload not working

Browse your database table:
orders_products_download

and search for the orders_id for this order and see what the field:
orders_products_filename

reads, is it the same filename?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Jul 2012, 2:47 PM
#5
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

How do I search the tables. In the php admin?

17 Jul 2012, 3:06 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: PDF Dowload not working

Yes, peek in your phpMyAdmin and see what you find in your database ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Jul 2012, 3:18 PM
#7
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

I found the names and changed them. It did not work. :blink:Attachment 10815

17 Jul 2012, 3:39 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: PDF Dowload not working

What are your settings in the Configuration ... Attribute Settings ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Jul 2012, 10:31 PM
#9
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

Attachment 10818 :huh:

18 Jul 2012, 3:39 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: PDF Dowload not working

What's the value for both DIR_FS_CATALOG and DIR_FS_DOWNLOAD in your /includes/configure.php file?
Are they different from those same defines in your /admin/includes/configure.php file? If so, why?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jul 2012, 4:33 PM
#11
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

define('DIR_FS_CATALOG', 'D:\Hosting\8713207\html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

23 Jul 2012, 7:07 PM
#12
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

I found it is suppose to be D:\Hosting\7132113\html
Now I am having a issue upload the configure file.

I am having the same issue on the wholesale site also and it hosting is correct? Thank you for your help.

24 Jul 2012, 1:19 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: PDF Dowload not working

If you cannot upload corrected content to your configure.php files, contact your hosting company for assistance.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Jul 2012, 2:55 PM
#14
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

I changed the DIR_FS_DOWNLOAD to the correct hosting in the retail site and is still not working.
But the wholesale account has the correct hosting and it is not working.

It seems like it is writing to the download page?Attachment 10866

Thanks you for your help

30 Jul 2012, 8:35 PM
#15
awebb_designer avatar

awebb_designer

New Zenner

Join Date:
May 2011
Location:
Tulsa
Posts:
30
Plugin Contributions:
0

Re: PDF Dowload not working

Hi.

These are my settings:
Includes/templates
define('DIR_FS_CATALOG', 'D:\Hosting\8713207\html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

admin/
define('DIR_FS_CATALOG', 'D:\Hosting\8713207\html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

Yes they are the same?
Thank you for your help ; )

31 Jul 2012, 4:34 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: PDF Dowload not working

I guess your host isn't capable of reliably serving downloadable files in a secure manner.

You'll probably have to choose a lesser-secure method for your downloadable files:
http://www.zen-cart.com/content.php?264-download-delivery-methods-explained

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.