Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Payment Modules Missing from Modules/Payment Modules When I Upgrade

    Quote Originally Posted by greenftechn View Post
    Except when it doesn't. Installed 1.5.5e on the old server. All the payment modules are showing. I moved it to the new one with PHP 7 (Xenial Xerus) and the Paypal modules, Net 1 payment services are all gone.
    By "gone" do you mean "the rest of the screen isn't drawn" (including the right-hand sidebar)? Or do you mean that everything before *and after* those modules shows up fine, just that those specific modules are missing?

    If it's because "the rest of the page didn't complete being drawn" (which I'm assuming is the case), then the PHP errors causing it to abort are logged in your /logs/ folder. Ref: http://www.zen-cart.com/content.php?124-blank-page
    Tell us what the errors are, and we can help further.


    I suspect your "Net 1" module has a PHP error incompatible with PHP7 and is aborting everything. Details in the /logs/ folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    May 2010
    Location
    Wells Tannery, PA, USA
    Posts
    17
    Plugin Contributions
    0

    Default Re: Payment Modules Missing from Modules/Payment Modules When I Upgrade

    Debug Log Lines:

    [18-Apr-2017 15:57:00 UTC] PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /var/www/html2/store/includes/modules/payment/linkpoint_api.php on line 320

    This was repeated for each time the modules/payment page was loaded.

    I removed the Linkpoint payment module and the other modules are now listed. You were correct. The rest of the page was not being drawn.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Payment Modules Missing from Modules/Payment Modules When I Upgrade

    The whole linkpoint module is now obsolete. You can remove the rest of its files:

    /includes/languages/english/modules/payment/linkpoint_api.php
    /includes/modules/payment/linkpoint_api.php
    /includes/modules/payment/linkpoint_api (entire folder)

    If you still need to use FirstData, use the PayeezyJS module or the First Data HCO Hosted Checkout module.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    May 2010
    Location
    Wells Tannery, PA, USA
    Posts
    17
    Plugin Contributions
    0

    Default Re: Payment Modules Missing from Modules/Payment Modules When I Upgrade

    Thanks for the help!

  5. #5
    Join Date
    Aug 2005
    Posts
    2
    Plugin Contributions
    0

    Default Re: Payment Modules Missing from Modules/Payment Modules When I Upgrade

    OH LOL it's obsolete, ok justs delete it. Otherwise this seems to work:

    change line 306 of includes/modules/payment/linkpoint_api.php as follows:

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

    change to:

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

    Apparently PHP 7 does not support variable substitution with array element. Wrap it in brackets and voila, the rest of the payment modules should show up in the admin.

 

 

Similar Threads

  1. Payment Modules missing
    By SonarScope in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 14 Mar 2017, 03:57 PM
  2. v151 Missing payment modules
    By Cyber Lolita in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 28 Feb 2015, 09:54 AM
  3. Payment Modules Missing
    By Makoshark in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 17 Dec 2009, 09: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