Page 36 of 36 FirstFirst ... 26343536
Results 351 to 352 of 352
  1. #351
    Join Date
    Apr 2011
    Posts
    332
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Can anyone confirm this module is working with ZC 1.5.7 and OPC?

    Any changes required?

    thank you

  2. #352
    Join Date
    Sep 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Hi, I've run into a 500 fatal error on my site. I got this in my error log
    PHP Code:
    PHP Fatal error:  Unparenthesized `a ? b : c ? d : eis not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)in /website/url/admin/includes/functions/extra_functions/reward_points_functions.php on line 387 
    I found this code around line 387
    PHP Code:
    {
        if(
    $value==0)
         return 
    TEXT_NO_NEW_ACCOUNT_AWARD;
        else
         if(
    $value>0)
          return 
    abs((int)$value).TEXT_NEW_ACCOUNT_EARNED_AWARD;
         else
          return 
    abs((int)$value).TEXT_NEW_ACCOUNT_PENDING_AWARD;


 

 
Page 36 of 36 FirstFirst ... 26343536

Similar Threads

  1. First 1.0 Release of Reward Points module [Support Thread]
    By hem in forum All Other Contributions/Addons
    Replies: 38
    Last Post: 4 Apr 2013, 02:34 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR