Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2004
    Posts
    64,719
    Blog Entries
    6
    Plugin Contributions
    214

    Default Known Bugs (and fixes) with v1.5.0

    This thread is a collection of known bugs and their fixes ... specifically applicable to v1.5.0
    .

    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
    Jan 2004
    Posts
    64,719
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Known Bugs (and fixes) with v1.5.0

    Symptom: can't update an Admin Profile's checkboxes for assigned permissions

    Workaround:
    /admin/profiles.php
    Find around line 199:
    Code:
      <form id="profileBoxes" name="profileBoxes" action="<?php echo zen_href_link(FILENAME_PROFILES) ?>" method="post">
    and replace that line with:
    Code:
      <?php echo zen_draw_form('profileBoxes', FILENAME_PROFILES, 'action=update') ?>
    http://www.zen-cart.com/showthread.p...ile-checkboxes
    http://www.zen-cart.com/showthread.p...s-Not-Updating
    .

    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
    64,719
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Known Bugs (and fixes) with v1.5.0

    Problem with PayPal and virtual products. Fix posted here: http://www.zen-cart.com/showthread.p...91#post1093291
    .

    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
    Jan 2004
    Posts
    64,719
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Known Bugs (and fixes) with v1.5.0

    Symptom: Difficulty installing on Windows hosts - zc_install won't complete the database installation. Error message triggered instead.

    Solution: Edit 3 files:

    /zc_install/sql/mysql_zencart.sql
    Replace the following lines:
    Code:
    DROP TABLE IF EXISTS admin_activity_log;
    CREATE TABLE admin_activity_log (
      log_id bigint(15) NOT NULL auto_increment,
      access_date datetime NOT NULL default '0001-01-01 00:00:00',
      admin_id int(11) NOT NULL default '0',
      page_accessed varchar(80) NOT NULL default '',
      page_parameters text default '',
      ip_address varchar(20) NOT NULL default '',
      flagged tinyint NOT NULL default '0',
      attention varchar(255) NOT NULL default '',
      gzpost mediumblob NOT NULL default '',
      PRIMARY KEY  (log_id),
      KEY idx_page_accessed_zen (page_accessed),
      KEY idx_access_date_zen (access_date),
      KEY idx_flagged_zen (flagged),
      KEY idx_ip_zen (ip_address)
    ) ENGINE=MyISAM;
    with this instead:
    Code:
    DROP TABLE IF EXISTS admin_activity_log;
    CREATE TABLE admin_activity_log (
      log_id bigint(15) NOT NULL auto_increment,
      access_date datetime NOT NULL default '0001-01-01 00:00:00',
      admin_id int(11) NOT NULL default '0',
      page_accessed varchar(80) NOT NULL default '',
      page_parameters text,
      ip_address varchar(20) NOT NULL default '',
      flagged tinyint NOT NULL default '0',
      attention varchar(255) NOT NULL default '',
      gzpost mediumblob,
      PRIMARY KEY  (log_id),
      KEY idx_page_accessed_zen (page_accessed),
      KEY idx_access_date_zen (access_date),
      KEY idx_flagged_zen (flagged),
      KEY idx_ip_zen (ip_address)
    ) ENGINE=MyISAM;
    /zc_install/sql/mysql_upgrade_zencart_139_to_150.sql
    Replace this line:
    Code:
    ALTER TABLE admin_activity_log ADD COLUMN gzpost mediumblob NOT NULL default '';
    with:
    Code:
    ALTER TABLE admin_activity_log ADD COLUMN gzpost mediumblob ;
    /YOUR_RENAMED_admin/includes/init_includes/init_admin_history.php
    add the line shown:
    Code:
          $sql_data_array = array( 'access_date' => 'now()',
                                   'admin_id' => (isset($_SESSION['admin_id'])) ? (int)$_SESSION['admin_id'] : 0,
                                   'page_accessed' =>  'Log found to be empty. Logging started.',
                                   'page_parameters' => '',
                                   'gzpost' => '',
                                   'ip_address' => substr($_SERVER['REMOTE_ADDR'],0,15)
                                   );
    .

    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.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Known Bugs (and fixes) with v1.5.0

    Problem: debug logs are generated when editing Products on the Preview and on the Update

    Solution: Work around ...
    https://github.com/zencart/zencart/c...a0798af4ab9917

    NOTE: Does not apply if site is running in UTF8
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2004
    Posts
    64,719
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Known Bugs (and fixes) with v1.5.0

    THIS MAY OR MAY NOT AFFECT various v1.5.0 implementations. We're posting it here "in case". Implementing this fix is safe either way.

    Symptom: Admin Login "broken" in v1.5.0 - v1.5.5a with Google Chrome error: "Aw, snap"


    Google Chrome 54.0.2840.59 is now forcefully disallowing the use of javascript function declarations of 'animate'. This interferes with the "spinner" that appears during admin login since v1.5.0

    The fix is simple:
    1. Open /admin/login.php in a code-safe text editor, such as Sublime Text:
    2. Find and replace "animate(" with "waiting_spinner(". There will be 3 occurrences.
    3. Save
    That's it. Login should now work again.

    For a visual example of the changes, see: https://github.com/zencart/zencart/pull/1321/files
    (exact position and line numbers may differ between Zen Cart versions)

    Ref: https://www.zen-cart.com/showthread....log-into-admin
    .

    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.

 

 

Similar Threads

  1. v155 Known Bugs (and fixes) with v1.5.5 , a, b, c, d, e
    By DrByte in forum Bug Reports
    Replies: 17
    Last Post: 16 Aug 2017, 03:25 AM
  2. v154 Known Bugs (and fixes) with v1.5.4
    By DrByte in forum Upgrading from 1.3.x to 1.5.x
    Replies: 18
    Last Post: 18 Oct 2016, 06:17 PM
  3. v153 Known Bugs (and fixes) with v1.5.3
    By swguy in forum Upgrading from 1.3.x to 1.5.x
    Replies: 9
    Last Post: 18 Oct 2016, 06:17 PM
  4. v151 Known Bugs (and fixes) with v1.5.1
    By DrByte in forum Upgrading from 1.3.x to 1.5.x
    Replies: 4
    Last Post: 18 Oct 2016, 06:17 PM
  5. v155 Known Bugs (and fixes) with v1.5.5 , a, b, c, d, e
    By DrByte in forum Bug Reports
    Replies: 0
    Last Post: 20 Mar 2016, 03:46 AM

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