Cannot pass parameter 3 by reference
Posted by: nubianinja (66.110.110.---)
Date: April 23, 2006 12:32PM

Hi everyone

I'm hoping that someone here can offer me some assistance.

I have oscommerce 2.2ms2 installed ( have posted in their forums and have been unsuccessful in getting a solution to my problem) I am getting the following error message when I click on the subcategory links of products offered aswell as on the manufactures links.

The url where this can be viewed is [www.webwolf.co.za]

Everything else works fine.

Fatal error: Cannot pass parameter 3 by reference in C:\wamp\www\catalog\includes\modules\product_listing.php on line 13

this is what is on line 13 & 14 in the relevant file

$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') ) )

I would be most grateful for any help. I have tried going thrught the references at php.net and am unable to understand what they mean. I'm still in the process of learning.



"The flesh is willing, but the mind .... Hey who'se potato chips are these!!?"

Re: Cannot pass parameter 3 by reference
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: April 23, 2006 11:22PM

Have you tried this using both php4 and php5?

this is a code error, not a wamp error, you need to try again on the oscommerce support page.

Sorry, only registered users may post in this forum.