Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jan 2004
    Posts
    144
    Plugin Contributions
    0

    Default Re: upgrading from 1.5.1 to 2.1.x

    Oh boy, I used Gemini to produce this:

    CREATE TABLE paypal_testing (
    paypal_ipn_id int(11) unsigned NOT NULL AUTO_INCREMENT,
    order_id int(11) unsigned NOT NULL DEFAULT '0',
    custom varchar(255) NOT NULL,
    txn_type varchar(40) NOT NULL,
    module_name varchar(40) NOT NULL,
    module_mode varchar(40) NOT NULL,
    reason_code varchar(40) DEFAULT NULL,
    payment_type varchar(40) NOT NULL,
    payment_status varchar(32) NOT NULL,
    pending_reason varchar(32) DEFAULT NULL,
    invoice varchar(128) DEFAULT NULL,
    mc_currency char(3) NOT NULL,
    first_name varchar(32) NOT NULL,
    last_name varchar(32) NOT NULL,
    payer_business_name varchar(128) DEFAULT NULL,
    address_name varchar(64) DEFAULT NULL,
    address_street varchar(254) DEFAULT NULL,
    address_city varchar(120) DEFAULT NULL,
    address_state varchar(120) DEFAULT NULL,
    address_zip varchar(10) DEFAULT NULL,
    address_country varchar(64) DEFAULT NULL,
    address_status varchar(11) DEFAULT NULL,
    payer_email varchar(128) NOT NULL,
    payer_id varchar(32) NOT NULL,
    payer_status varchar(10) NOT NULL,
    payment_date datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
    business varchar(128) NOT NULL,
    receiver_email varchar(128) NOT NULL,
    receiver_id varchar(32) NOT NULL,
    txn_id varchar(20) NOT NULL,
    parent_txn_id varchar(20) DEFAULT NULL,
    num_cart_items tinyint(4) unsigned NOT NULL DEFAULT '1',
    mc_gross decimal(7,2) NOT NULL DEFAULT '0.00',
    mc_fee decimal(7,2) NOT NULL DEFAULT '0.00',
    payment_gross decimal(7,2) DEFAULT NULL,
    payment_fee decimal(7,2) DEFAULT NULL,
    settle_amount decimal(7,2) DEFAULT NULL,
    settle_currency char(3) DEFAULT NULL,
    exchange_rate decimal(4,2) DEFAULT NULL,
    notify_version decimal(2,1) NOT NULL DEFAULT '0.0',
    verify_sign varchar(128) NOT NULL,
    last_modified datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
    date_added datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
    memo text,
    PRIMARY KEY (paypal_ipn_id, txn_id),
    KEY idx_order_id_zen (order_id)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

    fair enough?

  2. #12
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    373
    Plugin Contributions
    0

    Default Re: upgrading from 1.5.1 to 2.1.x

    Maybe it is, maybe not.
    I don't justice on that.
    But IMHO you should know what you do before you. Especially at database work.
    For experiments AI is great of course. I myself wouldn't do anything like that.
    YES to AI to learn how to navigate and use SQL, if you don't have those skills yet. But NO to AI to "create ABC for me".
    But just my 50 cents, of course.
    Last edited by Shop Suey; 18 Dec 2025 at 05:10 PM.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  3. #13
    Join Date
    Jan 2004
    Posts
    144
    Plugin Contributions
    0

    Default Re: upgrading from 1.5.1 to 2.1.x

    I removed the key name 'idx_profile_name_zen' from admin_profiles, so the install was able to add the key. Now there is no DEBUG being produced

    Still not moving into 1.5.7 or is it 8?

    7 logs being produced.

    Is

    Dec 18 2025 16:02 -- checkPhpVersion
    FAILED
    (
    [version] => 8.3.0
    [versionTest] => ge
    )

    Enough to stop it?

  4. #14
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: upgrading from 1.5.1 to 2.1.x

    Nope. This is not the problem.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #15
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: upgrading from 1.5.1 to 2.1.x

    At this point I would reload your original database and start the upgrade process again. If you didn't have the ability to do various operations on the database (and it looks like you didn't), who knows what worked and what failed.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #16
    Join Date
    Jan 2004
    Posts
    144
    Plugin Contributions
    0

    Default Re: upgrading from 1.5.1 to 2.1.x

    OK. Great idea! Thanks, again!

  7. #17
    Join Date
    Jan 2004
    Posts
    144
    Plugin Contributions
    0

    Default Re: upgrading from 1.5.1 to 2.1.x

    It's been quite a ride so far! 2.1.0 is running with a bootstrap template clone. Database upgrade (eventually) went smoothly!

    However, looking in my Debug warning log I see:

    PHP Warning: Constant SHOW_PRODUCT_MUSIC_INFO_ARTIST already defined in /home/t.../public_html/laravel/app/Models/ProductTypeLayout.php on line 22.

    Any idea what's causing that?

  8. #18
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: upgrading from 1.5.1 to 2.1.x

    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 Chinese Language from Database Garbled after upgrading from v137
    By haostaff in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 21 May 2015, 04:01 AM
  2. Replies: 7
    Last Post: 26 Feb 2013, 09:53 PM
  3. error when trying to email gv from admin, after upgrading from 1.3.7
    By redheads in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 14 Oct 2009, 06:23 AM
  4. Replies: 3
    Last Post: 19 Jun 2008, 12:44 AM
  5. upgrading from 1.3.6 to 1.3.7
    By immy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 2 Apr 2007, 09:38 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