Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    163
    Plugin Contributions
    0

    Default Error Message when viewing products

    BACKGROUND
    I created a very basic Zen Cart with Image Handler 2 on my local server and it works fine I moved it to Hostmonster under the domain name of Marcellesboutique.com
    When I click on a product, the product comes up but I get the following error message at the bottom of the screen.
    Warning: require(includes/templates/template_default/templates/tpl_modules_xsell_products.php) [function.require]: failed to open stream: No such file or directory in /home/marcelle/public_html/includes/templates/testtemplate1/templates/tpl_product_info_display.php on line 270

    Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_modules_xsell_products.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/marcelle/public_html/includes/templates/testtemplate1/templates/tpl_product_info_display.php on line 270


    QUESTIONS:
    1. What does this mean?
    2. If I am missing a file where should it be?
    3. If I find the missing file in what folder does it go?

    Appreciate your help.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Error Message when viewing products

    You haven't told us how you moved the Zen Cart. Did you copy all the files or just the database?

    All the answers to your questions are in the first half of the warning "Warning: require(includes/templates/template_default/templates/tpl_modules_xsell_products.php) [function.require]: failed to open stream: No such file or directory" i.e. this file is missing from your new installation.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2007
    Posts
    163
    Plugin Contributions
    0

    Default Re: Error Message when viewing products

    I moved all my files from my local computer to Hostmonster.

    That is what is so strange. I cannot find the missing file on my local server either but do not get the same error message on my local computer.

    Does this file look familiar to anyone?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Error Message when viewing products

    It's part of the cross sell add-in mod.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Oct 2007
    Posts
    163
    Plugin Contributions
    0

    Default Re: Error Message when viewing products

    This may not have bee the best way to solve this problem but I went to

    includes/templates/testtemplate1/templates/tp._product_info_display.php and removed the following statement

    <!-- BOF: Cross-Sell information -->
    <?php
    // THIS CODE WOULD BE ADDED INTO YOUR TPL_PRODUCT_INFO_DISPLAY.PHP WHEREVER YOU WANT TO DISPLAY THE CROSS_SELL BOX:
    require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php');
    ?>
    <!-- EOF: Cross-Sell information -->

    It eliminated the problem but may create a problem later on. Probably will have to go back if I decide to use the cross sell feature.

    What I don't understand is that the same statement is in my local server but causes no problem but on the remote server it does.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Error Message when viewing products

    Would it not have been just as easy to upload the file?

    If you check the files included within the Mod and the missing is file is there, probably safe to assume your Hosting account Zen Cart will have problems when trying to use the Mod without that file.

  7. #7
    Join Date
    Oct 2007
    Posts
    163
    Plugin Contributions
    0

    Default Re: Error Message when viewing products

    Kuroi:

    Thanks for your continued help.

    I have only installed Image handler 2. I never even knew of the cross sell add on until this problem occurred.

    The system is running fine after the deletion of those lines.

    However, I simply don't like to have unanswered questions because they usually bite you in the b--- down the road.

 

 

Similar Threads

  1. v151 Time Out Error Message when Adding Products to Cart
    By thoughtsanddesigns in forum Managing Customers and Orders
    Replies: 5
    Last Post: 16 May 2014, 03:52 AM
  2. v151 Getting Error message when clicking All Products
    By bubbadan in forum Basic Configuration
    Replies: 5
    Last Post: 1 Mar 2013, 07:56 PM
  3. Strange Error Message When I Try to Open Catalog/Products
    By ikernbecauseicare in forum General Questions
    Replies: 0
    Last Post: 27 Jan 2011, 07:06 PM
  4. Error when viewing New products
    By joshlfisher in forum General Questions
    Replies: 4
    Last Post: 17 May 2007, 09:14 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