57chevy Posted May 19, 2003 Posted May 19, 2003 hi everyone, after hours of hardcoding I'm stuck at the moment. this looks to be an awesome contrib: http://www.oscommerce.com/community/contributions,1242 the admin is working just fine, but in the frontend i keep getting errors, such as: in product_info.php at the very top Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/web250/html/shop/includes/functions/awb_pb.php:1) in /var/www/web250/html/shop/includes/functions/sessions.php on line 67 in product_info.php in the middle part, where the product_description is supposed to be: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/web250/html/shop/includes/functions/database.php on line 103 any suggestions, where i went wrong? i'm running a loaded5 version thanx for your time. steve Quote ... in the end, it will work
Guest Posted August 9, 2004 Posted August 9, 2004 Yes, in includes/classes/shopping_cart.php see the function is not ended: if ($products = $pf->loadProduct($products_id, $languages_id)) { $products_price = $pf->computePrice($this->contents[$products_id]['qty']); you have to put an } at the end, so the function will look lik this: if ($products = $pf->loadProduct($products_id, $languages_id)) { $products_price = $pf->computePrice($this->contents[$products_id]['qty']); } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.