Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Problems with downloading a sold product

Problems with downloading a sold product

Locked

Views: 1,376

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Nov 2006, 10:10 PM
#1
dvellio avatar

dvellio

New Zenner

Join Date:
Aug 2004
Posts:
8
Plugin Contributions:
0

Problems with downloading a sold product

I am trying to make a download product work and I got the following error when I try to download it.

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_download_default.php' (include_path='.:/usr/local/lib/php-4.4.4/lib/php') in /hermes/web06/b1814/pow.pattiecraig/htdocs/catalog136a/includes/templates/template_default/common/tpl_main_page.php on line 119

I have searched for the file that it seems to be looking for "tpl_download_default.php" and I don't fine it anywhere in any directory.

Any help will be appreciated.

Thanks,

Don Elliott

8 Nov 2006, 1:07 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Problems with downloading a sold product

What version of Zen Cart are you using?
Is this a fresh install or an upgrade?
What addons/contributions/customizations have been made on this site?
What versin of PHP?

8 Nov 2006, 1:49 PM
#3
dvellio avatar

dvellio

New Zenner

Join Date:
Aug 2004
Posts:
8
Plugin Contributions:
0

Re: Problems with downloading a sold product

DrByte:

What version of Zen Cart are you using?
Is this a fresh install or an upgrade?
What addons/contributions/customizations have been made on this site?
What versin of PHP?

Zen Cart v1.3.6/v1.3.6
Upgrade from 1.2.1

addons include
blue_sky_1.02
cc_accept_v1_2
Zen Cart Template base

PHP Version: 4.4.4 (Zend: 1.3.0)

Thanks for you help.

10 Nov 2006, 4:02 PM
#4
dvellio avatar

dvellio

New Zenner

Join Date:
Aug 2004
Posts:
8
Plugin Contributions:
0

Re: Problems with downloading a sold product

Just checking to see if someone is working on this problem. I really need to get it fixed so I can get the customers site up.

Thanks,

Don

11 Nov 2006, 4:04 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Problems with downloading a sold product

Zen Cart v1.3.6 is not using the file tpl_download_default.php it uses tpl_modules_downloads.php ...

Did you miss some files in the upgrade?

Do you have template and override files that are not yet up to date with the new code?

Assuming you used the templates and overrides and never touched the original files and core code files, if you switch to Classic does it work?

13 Nov 2006, 2:51 PM
#6
dvellio avatar

dvellio

New Zenner

Join Date:
Aug 2004
Posts:
8
Plugin Contributions:
0

Re: Problems with downloading a sold product

I copied all the files in the package to a new directory and then copied the configure.php files over and changed the pointers to the database. I created a new database and restored the backup from the original.

Then did the install and let it upgrade the database. Every thing appears to work except the download.

I just tried your suggestion and went back to classic mode and cleared the error log and tried again. Everything looks like it's going to work but the download gets hung in a starting mode and never completes. And I get the following errors in the fresh error log.

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_download_default.php' (include_path='.:/usr/local/lib/php-4.4.4/lib/php') in /hermes/web06/b1814/pow.pattiecraig/htdocs/catalog136a/includes/templates/template_default/common/tpl_main_page.php on line 119
PHP Warning: main(includes/templates/template_default/templates/tpl_download_default.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /hermes/web06/b1814/pow.pattiecraig/htdocs/catalog136a/includes/templates/template_default/common/tpl_main_page.php on line 119
PHP Warning: main(includes/templates/template_default/templates/tpl_download_default.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /hermes/web06/b1814/pow.pattiecraig/htdocs/catalog136a/includes/templates/template_default/common/tpl_main_page.php on line 119

The only possibility of old files would be in one of the templet packages and I don't know enough to figure that out on my own. I did not change any of the core files.

Thanks for your help.

Don