redinpdx Posted July 28, 2003 Posted July 28, 2003 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');
Guest Posted July 29, 2003 Posted July 29, 2003 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
redinpdx Posted July 29, 2003 Author Posted July 29, 2003 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...
Guest Posted July 30, 2003 Posted July 30, 2003 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
redinpdx Posted July 30, 2003 Author Posted July 30, 2003 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!!!
redinpdx Posted July 30, 2003 Author Posted July 30, 2003 Forrgott to Ad the osCommerce version --Commerce 2.2 Milestone 2
Recommended Posts
Archived
This topic is now archived and is closed to further replies.