Zen Cart Logo
Forums / General Questions / Download page is blank

Download page is blank

Locked

Views: 1,478

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
13 Mar 2009, 9:40 PM
#1
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Download page is blank

Hello,

I have been drilling into the forums for help on this, and I have been read the FAQ on downloadables. I BELIEVE I have it all set up correctly.

My cart has 1 product and it is downloadable.
I can add the product to my cart and get through the order process fine.

The download button appears on the order, but when pressed it simply goes to a blank page and that is the end of the line.

I get no messaging whatsoever on the browser.

I am using redirect, my permissions are setup as per the FAQ.
The file is there (light is green in attributes).

I am using a fresh install of Zen Cart 1.3.8a
Database Patch Level: 1.3.8

I have added the Cold Steel template, a QBMS gateway, and the Recover Sales tool.

My cart is: http://zen.michiganzoom.com/catalog

The gateway is not live, it is using a test account.

I have spent a couple of hours on this seemingly small problem.

Any help would be greatly appreciated by me and my client.

Cheers,
Alan

13 Mar 2009, 10:03 PM
#2
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

Hello, first time poster.

I have installed zen-cart, and have a setup that is a single product shopping cart. The product is downloadable.

I have read the FAQs and believe that I have setup the product correctly:

I am using redirect and have the permissions set per the FAQ
I have the product attribute set, and I have a green light on the filename.

I am using a fresh install of Zen Cart 1.3.8a
Database Patch Level: 1.3.8

I have installed the Cold Steel template, a QBMS gateway, and Recover Cart tool.

I can add the product to my cart and the order processing appears successful.

Then I hit download and I get a blank page, no messaging, and that is that.

My URL is http://zen.michiganzoom.com

FYI: The gateway is on a test account.

Any help would be greatly appreciated.

THANKS !

16 Mar 2009, 6:35 PM
#4
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

Thanks for the info.

I installed the Debug Error Logging tool, and there was no error log created at all. The steps I took on the website were:

  1. login
  2. My Account
  3. View the order
  4. Download

No errors generated.

I then tried to turn STRICT ERROR REPORTING on.

Same result. No errors reported, aside from the warning message that I had STRICT ERROR REPORTING on.

Do you have any additional ideas????

PLEASE HELP !!!

16 Mar 2009, 6:49 PM
#5
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

Re: Download page is blank

What type of file are you trying to "download" a zip file, .htm, pdf, etc?

~Roland

16 Mar 2009, 7:03 PM
#6
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

The file I am attempting to download is the pdf_sample.zip file that installs with zen-cart.

It is located in the download directory. Permissions on the file are 644. Permissions on the directory are 755.

The file is there and appears otherwise normal.

16 Mar 2009, 7:55 PM
#7
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

Now I am getting the following warning message:

Please correct the following:
On the Option for: Download You picked an Invalid Selection: PDF File of Instructions

I only have 1 option and 1 attribute.

I am going through the attribute/option setting FAQ once again, step-by-step

https://www.zen-cart.com/tutorials/index.php?print=71

16 Mar 2009, 8:58 PM
#8
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

I have posted on this before.

I turned on debugging error logging and got the following message (I stripped out the domain portion of the path):

[16-Mar-2009 13:50:51] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_download_default.php' (include_path='.:') in /includes/templates/template_default/common/tpl_main_page.php on line 122

I installed fresh from this fileset:

zen-cart-v1.3.8a-full-fileset-12112007

I have installed Cold Steel template, Recover Cart Sales, and QBMS gateway.

16 Mar 2009, 10:52 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Download page is blank

You're probably missing the /includes/modules/pages/download/header_php.php file, or perhaps it's empty? Or perhaps there are other unexpected files in that same folder?

.
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.

17 Mar 2009, 2:33 AM
#10
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

Yes sir, the includes/modules/pages/download/header.php is 0 bytes.

THANKS !

I will check my fileset to see if it is there.

17 Mar 2009, 2:53 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Download page is blank

If it's blank, then you're probably a victim of a failed FTP upload ... meaning one or more other files are likely also damaged in some way.

One fast way to find out is to download all your files from your server to your PC into a temporary folder, then compare that download against the unzipped original files, using a compare tool such as the free WinMerge and quickly identify any discrepancies ... either differences IN files or missing/extra files.

.
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.

17 Mar 2009, 4:11 AM
#12
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

damn lousy FTP client ! Iwill check this out from the office tomorrow. Thanks for all your help.

17 Mar 2009, 6:03 PM
#13
adorchak avatar

adorchak

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Download page is blank

Thank you Dr. Byte that was exactly the problem. I can now download the product !!!

I will err on the side of caution and compare what is on my server with what is in the fileset on my desktop to ensure that I have every little piece of code that I need

:D :clap: :D