AndyHearne2005 Posted September 21, 2005 Posted September 21, 2005 Fatal error: Cannot pass parameter 3 by reference in /home/ajhwebs/public_html/catalog/includes/modules/product_listing.php on line 13 Just wondered how to fix Thanks
mark27uk3 Posted September 21, 2005 Posted September 21, 2005 Andy, What is the code on this line and the surrounding lines. No need to post the whole file! Mark Lifes a bitch, then you marry one, then you die!
AndyHearne2005 Posted September 21, 2005 Author Posted September 21, 2005 Andy, What is the code on this line and the surrounding lines. No need to post the whole file! Mark <{POST_SNAPBACK}> Ok from lines 13-24 $listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id'); if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <?php }
AndyHearne2005 Posted September 22, 2005 Author Posted September 22, 2005 Ok from lines 13-24 $listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id'); if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <?php } <{POST_SNAPBACK}> anyone - please- pretty urgent
Recommended Posts
Archived
This topic is now archived and is closed to further replies.