Results 1 to 10 of 126

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Reviews - Updated [Support Thread]

    Quote Originally Posted by lat9 View Post
    Mike, the plugin affects only the storefront "offering" and acceptance of reviews by guests; it doesn't have any admin-level component. That address-change can be performed in the admin, through a kind of convoluted process, though.

    Log into the admin, go to Catalog->Reviews and view the review whose date should be updated. You'll see a link similar to the following:
    Code:
    http://localhost/site/admin/reviews.php?page=1&rID=16&action=edit
    That rID value identifies the reviews_id associated with that review.

    Armed with that information, go to Tools->Install SQL Patches and enter the following to change that review's date-added to a specific date:
    Code:
    UPDATE reviews SET date_added = '2019-09-18 00:00:00' WHERE reviews_id = 16 LIMIT 1;
    Alternatively, you could set the date_added to today's date:
    Code:
    UPDATE reviews SET date_added = now() WHERE reviews_id = 16 LIMIT 1;
    Thank you very much Cindy .... again you have come to the fore or as we would say in Australia "your blood is worth bottling" :)

    Very much appreciated.

    cheers, Mike

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Reviews - Updated [Support Thread]

    ZC v1.5.6
    OPC v2.3.3
    Reviews Updated v1.2.0
    plus other mods

    This mod is perhaps showing its age but there's a slight conflict between it and OPC's guest checkout. It's not major and a rare occurrence:

    If a customer starts to checkout as a guest and does not complete, then goes to write a review (as a guest) they are taken to the homepage with the banner 'Access to that page requires a registered account, You can ...'

    I think this is because the OPC session's "order_placed_by_guest" element is not cleared until post checkout. Beyond that (to quote Manuel) 'I know nothing' :)
    Simon

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Reviews - Updated [Support Thread]

    Quote Originally Posted by simon1066 View Post
    ZC v1.5.6
    OPC v2.3.3
    Reviews Updated v1.2.0
    plus other mods

    This mod is perhaps showing its age but there's a slight conflict between it and OPC's guest checkout. It's not major and a rare occurrence:

    If a customer starts to checkout as a guest and does not complete, then goes to write a review (as a guest) they are taken to the homepage with the banner 'Access to that page requires a registered account, You can ...'

    I think this is because the OPC session's "order_placed_by_guest" element is not cleared until post checkout. Beyond that (to quote Manuel) 'I know nothing' :)
    Yes, this plugin needs to be dusted off a bit; thanks for the reminder!

  4. #4
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Reviews - Updated [Support Thread]

    Just wondering if this will work on 1.5.7c on PHP 7.4.21?
    Thank you once again :)

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Reviews - Updated [Support Thread]

    Quote Originally Posted by rlexyd View Post
    Just wondering if this will work on 1.5.7c on PHP 7.4.21?
    Thank you once again :)
    See the post above yours ... it's on my list, but paying clients come first.

  6. #6
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Reviews - Updated [Support Thread]

    Thanks Cindy, I appreciate where you are coming from :)
    Until you get a chance to update it, for the time being I've commented out the login code in (/includes/modules/pages/product_reviews_write/header.php) as suggest in the link below incase anyone else is wondering.

    https://www.zen-cart.com/showthread....26#post1284826

  7. #7
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Reviews - Updated [Support Thread]

    Ok, I was getting an error log every time someone loaded the product write review page, even if they didn't write a review.
    So I decided to undo the change I did and install this plugin.
    I'm running fresh install of Zen Cart 1.5.7c on PHP 7.4.22 with OPC and IH5 Installed.
    It works, guest can leave reviews and their name appears, thank you.
    I am however getting Error Logs with this
    I know you said this hasn't been updated yet, but is there a way you can help resolve some of these errors in the log if it's not too much trouble, or if anyone else with the skills to help!? (I've added the corresponding php line under each php notice!)
    Thank you in advance.

    Code:
    Request URI: /01/index.php?main_page=product_reviews_write&products_id=47&cPath=1
    #1  require_once(/01/includes/languages/english/responsive_classic/product_reviews_write.php) called at [/01/includes/modules/require_languages.php:22]
    #2  require(/01/includes/modules/require_languages.php) called at [/01/includes/modules/pages/product_reviews_write/header_php.php:18]
    #3  require(/01/includes/modules/pages/product_reviews_write/header_php.php) called at [/01/index.php:35]
    --> PHP Notice: Undefined index: customer_id in /01/includes/languages/english/responsive_classic/product_reviews_write.php on line 13.
    if( $_SESSION['customer_id'] ) {
    
    Request URI: /01/index.php?main_page=product_reviews_write&products_id=47&cPath=1
    #1  require(/01/includes/modules/pages/product_reviews_write/header_php.php) called at [/01/index.php:35]
    --> PHP Notice: Undefined index: customer_id in /01/includes/modules/pages/product_reviews_write/header_php.php on line 42.
        if (!$_SESSION['customer_id']) {
    
    Request URI: /01/index.php?main_page=product_reviews_write&products_id=47&cPath=1
    #1  require(/01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php) called at [/01/includes/templates/responsive_classic/common/tpl_main_page.php:178]
    #2  require(/01/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/01/index.php:94]
    --> PHP Notice: Undefined index: customer_id in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 16.
        <?php echo zen_draw_form('product_reviews_write', zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'action=process&products_id=' . $_GET['products_id'], ($_SESSION['customer_id']) ? 'SSL' : 'NONSSL'), 'post', 'onsubmit="return checkForm(product_reviews_write);"'); ?>
    
    Request URI: /01/index.php?main_page=product_reviews_write&products_id=47&cPath=1
    #1  require(/01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php) called at [/01/includes/templates/responsive_classic/common/tpl_main_page.php:178]
    #2  require(/01/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/01/index.php:94]
    --> PHP Notice: Undefined index: customer_id in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 38.
        if ($_SESSION['customer_id']) {
    
    Request URI: /01/index.php?main_page=product_reviews_write&products_id=47&cPath=1
    #1  require(/01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php) called at [/01/includes/templates/responsive_classic/common/tpl_main_page.php:178]
    #2  require(/01/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/01/index.php:94]
    --> PHP Notice: Trying to get property 'fields' of non-object in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 45.
    --> PHP Notice: Trying to access array offset on value of type null in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 45.
    --> PHP Notice: Trying to get property 'fields' of non-object in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 45.
    --> PHP Notice: Trying to access array offset on value of type null in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 45.
        <div id="textAreaReviews"><?php echo sprintf(SUB_TITLE_REVIEW, $customer->fields['customers_firstname'], $customer->fields['customers_lastname']); ?></div>
    
    Request URI: /01/index.php?main_page=product_reviews_write&products_id=47&cPath=1
    #1  require(/01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php) called at [/01/includes/templates/responsive_classic/common/tpl_main_page.php:178]
    #2  require(/01/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/01/index.php:94]
    --> PHP Notice: Undefined index: customer_id in /01/includes/templates/responsive_classic/templates/tpl_product_reviews_write_default.php on line 58.
        if (!$_SESSION['customer_id']) {

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 766
    Last Post: 18 Oct 2025, 11:23 AM
  3. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  4. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  5. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg