Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2014
    Location
    New Orleans LA
    Posts
    26
    Plugin Contributions
    0

    Default Locating issue with old ZC version when enabling PHP7

    Hello,

    I am running ZC v1.5.3 under PHP 5.6 and need to migrate to PHP 7. We are on v1.5.3 because the client refuses to pay for a full upgrade of ZC to 1.55.

    Payment module is Authorize.net AIM module by Dr.Byte. I don't see version info in it but header is

    Code:
    /**
     * authorize.net AIM payment method class
     *
     * @package paymentMethod
     * @copyright Copyright 2003-2014 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version GIT: $Id: Author: DrByte  Tue Jun 3 2014 -0500 Modified in v1.5.3 $
     */
    /**
    Currently when credit card information is entered I get message on front end associated with ERROR_NO_PAYMENT_MODULE_SELECTED but no PHP errors are logged.

    Initially I ran into ereg_replace() error, and issues with Paypal and LinkPoint modules declaring `global $$order_totals[$i]['code'];`. These have been resolved using advice found here and all of the problematic payment modules were not in use anyway and so have been removed.

    After those were removed I stopped getting myDEBUG-adm-*.log messages and admin seems ok so far.

    AIM_Debug__*.log files not being generated since I cannot complete sale.

    In normal myDEBUG-.log files I am only getting warnings regarding the method declarations in parser files where the method overloading did not use same interface. Example:

    Code:
    [10-Oct-2017 13:39:24 America/Chicago] PHP Warning:  Declaration of manufacturersParser::identifyName($string) should be compatible with SSUParser::identifyName($string, $identifier) in /home/foo/public_html/products/includes/classes/ssu/plugins/parsers/manufacturers.php on line 0
    [10-Oct-2017 13:39:24 America/Chicago] PHP Warning:  Declaration of manufacturersParser::getName($id, $languages_id, $languages_code) should be compatible with SSUParser::getName($id, $id_field, $name_field, $table, $identifier, $cache_folder, $languages_id, $languages_code, $languages_field = 'languages_...') in /home/foo/public_html/products/includes/classes/ssu/plugins/parsers/manufacturers.php on line 0
    Since no errors are logged and cPanel has no errors logged for server I am stumped as to how to continue to pursue problem. Should I remove current Authorize module and use the one distributed with 1.5.5?

    Thank you for any advice.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Locating issue with payment module when enabling PHP7

    I am running ZC v1.5.3 under PHP 5.6 and need to migrate to PHP 7. We are on v1.5.3 because the client refuses to pay for a full upgrade of ZC to 1.55.


    You can't do that.

    There are dozens and dozens of code changes required to accommodate the language changes in PHP 7.

    You need to upgrade. Or stay on the old almost-obsolete version of PHP required to use your old version of Zen Cart.
    .

    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.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Locating issue with payment module when enabling PHP7

    Quote Originally Posted by jerrygarciuh View Post
    Code:
    [10-Oct-2017 13:39:24 America/Chicago] PHP Warning:  Declaration of manufacturersParser::identifyName($string) should be compatible with SSUParser::identifyName($string, $identifier) in /home/foo/public_html/products/includes/classes/ssu/plugins/parsers/manufacturers.php on line 0
    [10-Oct-2017 13:39:24 America/Chicago] PHP Warning:  Declaration of manufacturersParser::getName($id, $languages_id, $languages_code) should be compatible with SSUParser::getName($id, $id_field, $name_field, $table, $identifier, $cache_folder, $languages_id, $languages_code, $languages_field = 'languages_...') in /home/foo/public_html/products/includes/classes/ssu/plugins/parsers/manufacturers.php on line 0
    Those errors are from the "SSU" plugin you've installed. That is not part of Zen Cart itself.
    .

    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
    Jul 2014
    Location
    New Orleans LA
    Posts
    26
    Plugin Contributions
    0

    Default Re: Locating issue with payment module when enabling PHP7

    Thank you for the reply. I will need to locate a contractor to get that done as the last attempt I made nearly cost me my sanity. Any place you can recommend seeking out someone who would take on the job of migrating from 1.5.3?

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Locating issue with payment module when enabling PHP7

    By far the best method is discussed at https://www.zen-cart.com/entry.php?3...d-of-upgrading

    You can keep the old while bringing in the new. There have been several changes in mods between 1.5.3 and 1.5.5e as well. The time spent learning is well worth it.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. v139h USPS NEW version J transit time problem with OLD settings
    By WiccanWitch420 in forum Addon Shipping Modules
    Replies: 12
    Last Post: 4 Aug 2013, 11:25 PM
  2. Issue with search after enabling SSL
    By matchlock in forum Basic Configuration
    Replies: 0
    Last Post: 24 Aug 2011, 05:34 AM
  3. PHP 5.3 Fixing with old version... Problems...
    By kevie192 in forum General Questions
    Replies: 55
    Last Post: 18 Jul 2010, 08:28 PM
  4. mySQL error with YourPay gateway using old version of Zen Cart
    By apathy in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 10 May 2008, 04:30 AM
  5. Admin Login Issue - 1.3.7.1 and old version of PHP: 4.3.2
    By thehighlandsgroup in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 2 Apr 2008, 01:35 AM

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