greasemonkey Posted July 25, 2013 Posted July 25, 2013 Hi All, I'm hoping you can help me. I've recently upgraded my highly modified 2.2ms2 to 2.3.3 and everything has been working great. I've worked though all my bugs - except this last one.... I cannot get the product review text within product_reviews or product_reviews_info to display. I'm sure I must be missing something but I'm chasing my tail at this point. Everything works fine at admin/reviews.php... I can see the text in the admin (so I would presume, there is no problem with the database) and I have activated all my reviews (since the upgrade). The only thing that is displayed is ".." in product_reviews and nothing at all in product_reviews_info... The 2 sections of code in product reviews that display the code are; <?php $reviews_query_raw = "select r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.date_added, r.customers_name from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$product_info['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and r.reviews_status = 1 order by r.reviews_id desc"; $reviews_split = new splitPageResults($reviews_query_raw, MAX_DISPLAY_NEW_REVIEWS); ?> And <div class="contentInfoText extra"><div class="contentInfoText_wrap"> <?php echo tep_break_string(tep_output_string_protected($reviews['reviews_text']), 60, '-<br />') . ((strlen($reviews['reviews_text']) >= 100) ? '..' : '') . '</div> <div class="stars stars_padd">' . sprintf(TEXT_REVIEW_RATING, tep_image(DIR_WS_IMAGES . 'icons/stars_' . $reviews['reviews_rating'] . '.png', sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])).'<span>', sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])) . '</span></div>'; ?> </div> I have the page looking the way I wanted it too... Just no text... I have even uploaded a fresh copy of product_reviews.php from the 2.3.3 install and still no joy. What could I be missing???
Recommended Posts
Archived
This topic is now archived and is closed to further replies.