Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Dec 2007
    Posts
    126
    Plugin Contributions
    0

    Default Product details page doesn't show

    The products list normally. But when a product is selected the page just shows the left menu, the 'next' - 'previous' buttons, and doesn't show the product information or pictures.

    I'm using 1.3.8 Zen Cart.


    What would be the area that controls that? I've gone over the tpl_product_info_display.php file vs. the original, and they are the same.

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

    Default Re: Product details page doesn't show

    You would also need top look at the modules/pages/products_info folder and check the files there. But why not give us a link to the site, there may well be clues there that you may be overlooking?
    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
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Product details page doesn't show

    Although your product info page isn't blank, it does stop dead. This may well mean that there is a PHP error that is being suppressed. As a first step I would recommend installing the debug facility referred to in this FAQ Entry. And then taking a look at the error log that it produces to see if there is an obvious error being reported (if there is it will probably tell you the exact file and line number where the error is occurring).
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    Dec 2007
    Posts
    126
    Plugin Contributions
    0

    Default Re: Product details page doesn't show

    No error log to check.

    It was working earlier today, all I did was upload some images.

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

    Default Re: Product details page doesn't show

    Were they unusually large images? Where they RGB rather than CMYK images? It seems that your site enters the main images module, but never comes out the other site.
    Kuroi Web Design and Development | Twitter

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

  6. #6
    Join Date
    Dec 2007
    Posts
    126
    Plugin Contributions
    0

    Default Re: Product details page doesn't show

    The images were replacements of previously larger versions. I just uploaded opimized versions.

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

    Default Re: Product details page doesn't show

    It's very rare that code just stops without returning a PHP or SQL error. I've only seen it once. If the debug mod isn't generating an error log, then you would need to go after it line by line.

    You know from the comment lines generated that you go into the main image template module, so you either needed a debugging tool that allows you to step through the code line by line to see where it fails, or insert echo statements by hand to track it down. Once you find the point of failure, the reason is usually not difficult to work out.
    Kuroi Web Design and Development | Twitter

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

  8. #8
    Join Date
    Dec 2007
    Posts
    126
    Plugin Contributions
    0

    Default Re: Product details page doesn't show

    Using Firebug this is what I see.

    PHP Code:
    <html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
    <
    head>
    </
    head>
    <
    body id="productinfoBody">
    <
    div id="mainWrapper">
    <
    div class="messageStackWarning larger">
    </
    div>
    <
    div id="headerWrapper">
    </
    div>
    <
    table id="contentMainWrapper" width="100%" cellspacing="0" cellpadding="0" border="0">
    <
    tbody>
    <
    tr>
    <
    td id="navColumnOne" class="columnLeft" style="width: 150px;">
    </
    td>
    <
    td valign="top">
    <
    div id="productGeneral" class="centerColumn">
    <
    form enctype="multipart/form-data" method="post" action="http://website/zencart/index.php?main_page=product_info&cPath=3_20&products_id=13&action=add_product" name="cart_quantity">
    <
    div id="categoryIcon" class="categoryIcon" align="left">
    <
    a href="http://website/zencart/index.php?main_page=index&cPath=3_20">3rd Member Parts</a>
    </
    div>
    <
    div class="navNextPrevWrapper centeredContent">
    <
    class="navNextPrevCounter">Product 27/27</p>
    <
    div class="navNextPrevList">
    </
    div>
    <
    div class="navNextPrevList">
    </
    div>
    <
    div class="navNextPrevList">
    </
    div>
    </
    div>
    </
    form>
    </
    div>
    </
    td>
    </
    tr>
    </
    tbody>
    </
    table>
    </
    div>
    <
    div id="lbOverlay" style="visibility: hidden; opacity: 0;"/>
    <
    div id="lbCenter" style="width: 400px; height: 300px; margin-left: -200px; display: none;">
    </
    div>
    <
    div id="lbBottomContainer" style="display: none;">
    </
    div>
    </
    body>
    </
    html

    Isn't missing something like this.

    PHP Code:
    <div id="categoryIcon" class="categoryIcon" align="left">
    </
    div>
    <
    div class="navNextPrevWrapper centeredContent">
    </
    div>
    <
    div id="productMainImage" class="centeredContent back">
    </
    div>
    <
    h1 id="productName" class="productGeneral"></h1>
    <
    h2 id="productPrices" class="productGeneral"></h2>
    <
    div id="productDescription" class="productGeneral biggerText">
    </
    div>
    <
    br class="clearBoth"/>
    <
    div id="cartAdd">
    </
    div>
    <
    ul id="productDetailsList" class="floatingBox back">
    </
    ul>
    <
    br class="clearBoth"/>
    </
    form

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

    Default Re: Product details page doesn't show

    This is a case where firebug isn't very helpful as it shows you what the page looks like after it has been rendered by your browser, i.e. after the browser has done its best to clean up and close missing end tags.

    What you really need to see is what it looks like before it makes its corrections. To do this, view the page source and you'll see that it ends rather abruptly like this ...
    <!--bof Prev/Next top position -->

    <div class="navNextPrevWrapper centeredContent">
    <p class="navNextPrevCounter">Product 3/12</p>
    <div class="navNextPrevList"><a href="http://www.YOUR_SITE.com/lamb/index.php?main_page=product_info&amp;cPath=4_21_53&amp;products_id=247"><img src="includes/templates/template_default/buttons/english/button_prev.gif" alt="Previous" title=" Previous " width="38" height="15" /></a></div>

    <div class="navNextPrevList"><a href="http://www.YOUR_SITE.com/lamb/index.php?main_page=index&amp;cPath=4_21_53"><img src="includes/templates/template_default/buttons/english/button_return_to_product_list.gif" alt="Return to the Product List" title=" Return to the Product List " width="47" height="15" /></a></div>

    <div class="navNextPrevList"><a href="http://www.YOUR_SITE.com/lamb/index.php?main_page=product_info&amp;cPath=4_21_53&amp;products_id=239"><img src="includes/templates/template_default/buttons/english/button_next.gif" alt="Next" title=" Next " width="38" height="15" /></a></div>
    </div>

    <!--eof Prev/Next top position-->



    <!--bof Main Product Image -->
    Last edited by Kim; 5 Feb 2008 at 02:28 AM.
    Kuroi Web Design and Development | Twitter

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

  10. #10
    Join Date
    Dec 2007
    Posts
    126
    Plugin Contributions
    0

    Default Re: Product details page doesn't show

    I understand, but I can't figure out why it ends.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Product page doesn't show footer, sideboxes and additional images
    By belchousa in forum Basic Configuration
    Replies: 3
    Last Post: 22 Jun 2012, 12:39 AM
  2. Manufacturers logo and Info doesn't show on product page anymore
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2010, 01:20 PM
  3. can't show the price at main page & product details
    By evariety in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 18 Feb 2009, 06:19 AM
  4. Installed MAP pricing addon and now my products page won't show product details
    By Resqjock in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 9 Feb 2009, 03:26 AM
  5. The feature product listing in index page doesn't show correctly
    By Jimmyyu1998 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Mar 2008, 02:51 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