Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2004
    Posts
    8
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    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.

  3. #3
    Join Date
    Aug 2004
    Posts
    8
    Plugin Contributions
    0

    Default Re: Problems with downloading a sold product

    Quote Originally Posted by DrByte View Post
    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.

  4. #4
    Join Date
    Aug 2004
    Posts
    8
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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?
    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!

  6. #6
    Join Date
    Aug 2004
    Posts
    8
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Problems with downloading files after purchase
    By Spixer in forum Managing Customers and Orders
    Replies: 5
    Last Post: 27 Feb 2012, 03:04 AM
  2. Downloading a product with multiple parts
    By dmchr5 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 Apr 2009, 12:32 AM
  3. Problems with downloading a sold product
    By Axel1 in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 9 Nov 2006, 04:05 AM
  4. Problems with downloading files from my shop
    By catrine in forum General Questions
    Replies: 0
    Last Post: 11 Oct 2006, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg