Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error:


redinpdx

Recommended Posts

Posted

I am getting the following error on a new install. Anyone Know what is going on here?

 

Fatal error: Cannot pass parameter 3 by reference in /home/virtual/site19/fst/var/www/html/oscom/catalog/includes/modules/product_listing.php on line 13

-

-

-

this is line 13 of product_listing.php:

$listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id');

Posted

Is this a CVS version?

 

You can probably fix this by replacing the splitPageResults creation with the following lines:

$count_key = 'p.products_id';

$listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, $count_key);

Good luck,

Matt

Posted

Thanks that code let me pass that error but now i am reciveing a missing argument errors and SQl syntax errors for split page results...

Posted

I would try downloading 2.2 Milestone 2 (MS2) again and reinstalling. It sounds like something is just plain wrong.

 

It could also be a PHP version problem, if you wanted to post your PHP, MySQL, Apache, and osCommerce versions it might make it easier to diagnose.

 

Good luck,

Matt

Posted

I hate to reinstall but i think I need a fresh start. I do not belive it a version problem. I'm running, PHP Version 4.0.6, mysql 3.23.36, Apache/1.3.19...

Thanks for all of you advice!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...