Jump to content

Cannot pass parameter 3 by reference


wolfone

Recommended Posts

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 [a href=\"http://www.webwolf.co.za/catalog\" target=\"_blank\"]http://www.webwolf.co.za/catalog[/a]

Everything else works fine.

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

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

[code]$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') ) ) [/code]

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.