brianbugge Posted May 29, 2009 Posted May 29, 2009 Hello, First time posting - I did search the archives for any help to this issue but didn't find anything. I keep getting this error when I go to view a product category. For instance, I go to my categories, click Flies, then the sub category Dry where it should show two products I have - instead I get this error. The categories and products have images as well. I did install Additional Images v2.1.1. Any help would be much appreciated. Best Regards, Brian Quote
Pektsekye Posted May 29, 2009 Posted May 29, 2009 Can you show the code of your product_listing.php ? Maybe you have to add images or set any configuration settings after installation of the Additional Images. Stanislav Quote
brianbugge Posted May 29, 2009 Author Posted May 29, 2009 Whoops, sorry 'bout that. I've included lines 116-128 & 336-345. Can you show the code of your product_listing.php ? Maybe you have to add images or set any configuration settings after installation of the Additional Images. Stanislav $counter = 0; for ($x = 0; $x < $no_of_listings; $x++) { if ($x % PRODUCT_LIST_NUMCOL == 0) { if (($counter+1)/2 == floor(($counter+1)/2)) { $list_box_contents[$row] = array('params' => 'class="productListing-even"'); $class_for_buy_now_row = 'class="productListing-even"'; } else { $list_box_contents[$row] = array('params' => 'class="productListing-even"'); $class_for_buy_now_row = 'class="productListing-odd"'; } } $column ++; if ($x == ($no_of_listings -1)) { $last_column = ($x % PRODUCT_LIST_NUMCOL); $fill_up_empty_cell = tep_draw_separator('pixel_trans.gif', '250px' , '1'); for ($column = ($last_column + 1) ; $column < $colnum; $column++) { $list_box_contents[$row][$column] = array('align' => 'center', 'valign' => $lc_valign, 'params' => 'class="productListing-data" width="'.$tdsize.'%"', 'text' => $fill_up_empty_cell); } Quote
Pektsekye Posted May 29, 2009 Posted May 29, 2009 Looks like the PRODUCT_LIST_NUMCOL is not defined You should find a file where it is defined and set an integer value. Stanislav Quote
brianbugge Posted May 29, 2009 Author Posted May 29, 2009 Looks like the PRODUCT_LIST_NUMCOL is not defined You should find a file where it is defined and set an integer value. Stanislav Ok, thanks. I'll give that a shot. Appreciate it! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.