Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,077
    Plugin Contributions
    267

    Default Re: Cannot edit payment module settings php7.3

    Carl, would you please put in a PR to change these three to now():

    ./configuration.php: last_modified = '" . NOW . "'
    ./includes/functions/admin_access.php: $sql .= "last_modified = NOW()
    ./product_types.php: last_modified = '" . NOW . "'
    Last edited by swguy; 27 Mar 2020 at 04:06 AM.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  2. #12
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,077
    Plugin Contributions
    267

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by carlwhat View Post

    with regards to the debug logs, you need to be able to read them. yes the one file had warning, but look at this one:

    Code:
    PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/chainwea/public_html/includes/modules/payment/linkpoint_api.php on line 320.
    that is an error. a syntax error. that's what caused the page to stop loading. and so you could not see what is on the right. and frankly, the syntax has not changed from php5.6 to php7.3; so i am highly doubtful that error would not exist in php5.6. maybe, but highly doubtful.

    This syntax did indeed change in PHP 7.3.

    Change

    global $$order_totals[$i]['code'];

    to

    global ${$order_totals[$i]['code']};
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,077
    Plugin Contributions
    267

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by RixStix View Post

    I used the latest zc156c zip file copied over onto the live site.
    If you're going to do it that way, you have to manually remove the files in the deleted files list.

    https://www.zen-cart.com/docs/changed_files-v1-5-6.html

    (I personally like to *start* with the new release and add back in what I truly need.)
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  4. #14
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    1,910
    Plugin Contributions
    1

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by swguy View Post
    If you're going to do it that way, you have to manually remove the files in the deleted files list.

    https://www.zen-cart.com/docs/changed_files-v1-5-6.html

    (I personally like to *start* with the new release and add back in what I truly need.)
    Short circuit 'tween the ears on my part. That's what I have now.
    Rick
    ChainWeavers (dot) com

  5. #15
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,554
    Plugin Contributions
    3

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by swguy View Post
    This syntax did indeed change in PHP 7.3.

    Change

    global $$order_totals[$i]['code'];

    to

    global ${$order_totals[$i]['code']};
    ah.... yes.... i remember that one. thanks for pointing that out! that caused pain on a previous upgrade... good catch!

    thanks!

    i put in a PR for 1 of the 3 changes you mentioned above... i'll hit the other two tomorrow...

    best!
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  6. #16
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,554
    Plugin Contributions
    3

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by swguy View Post
    Carl, would you please put in a PR to change these three to now():

    ./configuration.php: last_modified = '" . NOW . "'
    ./includes/functions/admin_access.php: $sql .= "last_modified = NOW()
    ./product_types.php: last_modified = '" . NOW . "'
    the change on admin_access is not necessary.... but i did it for consistency.... oy!

    #staysafe
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  7. #17
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,077
    Plugin Contributions
    267

    Default Re: Cannot edit payment module settings php7.3

    Yep. Thank you!
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  8. #18

    Default Re: Cannot edit payment module settings php7.3

    Sorry, I did read this through but I'm totally lost as to what to do to fix the issue! Is there a fix? If I upgrade to the latest version of the software does that fix it? All help would be GREAT! as I'm wanting to remove a payment method and of course I currently can't

  9. #19
    Join Date
    Jul 2012
    Posts
    15,009
    Plugin Contributions
    17

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by mtsgonyaw View Post
    Sorry, I did read this through but I'm totally lost as to what to do to fix the issue! Is there a fix? If I upgrade to the latest version of the software does that fix it? All help would be GREAT! as I'm wanting to remove a payment method and of course I currently can't
    A properly performed upgrade would more than likely fix the issue (there is still some dependence on the database settings of being strict or not), but more than likely there is a php version store software mismatch to some extent. The first thing to do to resolve the issue is to identify the specifics of the issue which comes from reviewing the myDebug-adm-xxx log that is in your logs directory generated at or about the time you last tried to access the payment module section. More than likely the linkpoint_api file is one of the culprits. By removing it from the load path (deleting the module file and the module's language file), the next issue should be identifiable if there is one otherwise you should be able to access the remainder of the payment modules.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  10. #20

    Default Re: Cannot edit payment module settings php7.3

    Quote Originally Posted by mc12345678 View Post
    A properly performed upgrade would more than likely fix the issue (there is still some dependence on the database settings of being strict or not), but more than likely there is a php version store software mismatch to some extent. The first thing to do to resolve the issue is to identify the specifics of the issue which comes from reviewing the myDebug-adm-xxx log that is in your logs directory generated at or about the time you last tried to access the payment module section. More than likely the linkpoint_api file is one of the culprits. By removing it from the load path (deleting the module file and the module's language file), the next issue should be identifiable if there is one otherwise you should be able to access the remainder of the payment modules.

    So, I've done the upgrade and it didn't solve the payment issues of not displaying on the right side of the page. I've kept my website down for maintenance though so I really need to figure this out and have the site running on the newest software. Could you please explain to me once again what I need to do now. hopefully step by step so I can get this fixed. TIA

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v151 Can't Edit Authorize.net AIM Module Settings
    By powrwrap in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 12 May 2016, 07:04 PM
  2. v150 How do I set a Payment Zone into my payment module's settings?
    By apt763 in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 2 Mar 2012, 07:10 PM
  3. Cannot edit settings for Paypall Express Checkout module
    By jasonlg3d in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 23 Jun 2010, 03:43 PM
  4. Cant edit module settings shipping & payment
    By malice95 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Jul 2009, 09:22 PM
  5. Cannot edit payment modules
    By kkluczynski in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 29 Sep 2007, 02:12 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