Aworewards not correctly upgraded the database


  • Default avatar
    rene54    
     13 days ago
    0

    Hi,

    Just noticed, that the upgrade to Version 3.6.1 did not execute the sql.

    I executed all the sql in the upgrade directory: administrator\components\com_aworewards\aworewards\library\install\upgrade\sql

    But there is also a php file in the upgrade dir: aworewards-library-install-upgrade-php-360.php

    How can i upgrade that manually ??? 

    Thanks and br


  • Your avatar
    seyi    
     13 days ago
    0

    Hello,

    Did you upgrading from 3.6.0?  If so, then there is no need, it was already run at 3.6.0.


  • Default avatar
    rene54    
     13 days ago
    0

    I upgraded from 3.5.1.

    How can I check if it was correctly upgraded  ?

  • Your avatar
    seyi    
     12 days ago
    0

    Ok, so the big change in 3.6.0 from release notes:

    ------------------------------------------
    New: BIG CHANGE - updated the engine to apply all rules of a certain type/customer by default. In order to apply the first rule that applies it is required to group them in a parent rule
    ------------------------------------------

    What the php attempts to do is to group all rules into relevant parent rules so they still operate the same way.  For example, you have these 2 rules:

    Rule 1: Order rule for Everyone which gives a 10% coupon code if the order total is greater than $100
    Rule 2: Order rule for Everyone which gives a 5% coupon code if the order total is greater than $50

    Before 3.6.0, the first rule that applies will be processed.
    After 3.6.0, all rules that apply will be processed.

    After 3.6.0, in order to apply just one rule, you would need to create a parent rule where you attache both Rule 1 and Rule 2.

  • Default avatar
    rene54    
     12 days ago
    0

    Thank you for the detailed explanation.


    So how Do I know, if this php function was correctly executed during the upgrade ?

    How can I verify ?

  • Your avatar
    seyi    
     12 days ago
    +1

    Have a look at your rules.  If you have multiple rules in a section (by section I mean same Customer type/Rule type), then you should create a new rule and add them to a parent rule by checking the box in the new rule:


    Unless you want all rules to apply then it is not an issue.