Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Product Listings not showing?

    http://straightrazordesigns.com/inde...index&cPath=29

    If you look at the source code, the entire HTML isn't outputted. It stops right before the productlisting class. I've seen this behaviour before with categories where the image was to big.. I deleted the image and it worked fine.

    But there's no image for this category. Any suggestions for me?

    Thanks
    Davd

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Product Listings not showing?

    A large image couldn't cause the HTML to cut off. There is some error in your code, possibly in /includes/modules/your_template/product_listing.php. Have you edited that or any other template files?

  3. #3
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Product Listings not showing?

    Not in a year, or more. And the problem has appeared very recently. I haven't made any changes in quite some time. And I wouldn't think (Althought I could be wrong) that an error in that file would cause it to happen in one category, but not another (The other categories are unaffected)..

  4. #4
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Product Listings not showing?

    It stops right before the: <div id="productListing">

  5. #5
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Product Listings not showing?

    The code directly before that is in l/includes/templates/theme082/templates/tpl_modules_product_listing.php

    and it's:

    <?php
    /**
    * Module Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_modules_product_listing.php 3241 2006-03-22 04:27:27Z ajeh $
    * UPDATED TO WORK WITH COLUMNAR PRODUCT LISTING 04/04/2006
    */
    include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING));
    ?>
    <div id="productListing">

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Product Listings not showing?

    That is the point at the top of /includes/templates/your_template/templates/tpl_modules_product_listing.php where product_listing.php is included. The problem has to occur somewhere in product_listing.php, perhaps with some category property that breaks a calculation. The only way to tell what is happening is to debug - there is an error logging program in Free Addons that will save the error message in /cache/ and tell you what file and line number it stopped at, and something about the kind of error.

  7. #7
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Product Listings not showing?

    Man, it is one of those days.. I installed the debug add on, and it's not writing debug logs at all.. And the cache folder is 777.. Everything I touch breaks today, I'm going to go hide for awhile (After I figure this out, I guess).

    :)

  8. #8
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Product Listings not showing?

    Well. I'm almost there.

    There are no php errors.. But it's an image somewhere.. If I turn off images in product listings, the category displays..

  9. #9
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Product Listings not showing?

    Finally found it.. There was an image attached to a product that was causing the issue.. Disabled the product and all is well.

    Thanks for the suggestions.

    dw

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Product Listings not showing?

    Just for interest, what was the image filename? I could imagine certain characters causing PHP processing to choke.

 

 

Similar Threads

  1. Need Help with "Array_" showing up under product listings
    By janthony20 in forum General Questions
    Replies: 2
    Last Post: 24 Apr 2011, 12:30 PM
  2. HELP:boxhead sidebox images showing up on my product listings
    By coolscrapbook in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 May 2010, 01:55 AM
  3. Need Help on Category Listings, Product Listings
    By wgvania in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 15 Jan 2008, 12:12 AM
  4. product listings not working correctly..
    By shackle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Oct 2006, 10:21 PM
  5. Froggle listings are working but images are not showing up
    By dealbyethan.com in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Aug 2006, 12:49 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR