Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    64,720
    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/zc-v1-ser...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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Known Bugs (and fixes) with v1.3.9
    By DrByte in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 31 Oct 2010, 01:11 AM
  2. Known Bugs (and fixes) with v1.3.8 / v1.3.8a
    By DrByte in forum Upgrading from 1.3.x to 1.3.9
    Replies: 41
    Last Post: 17 Feb 2010, 01:05 AM
  3. UK Discounting Bugs (and associated fixes)
    By swguy in forum Bug Reports
    Replies: 1
    Last Post: 26 May 2007, 10:06 PM
  4. Bugs Fixes?
    By ideasgirl in forum Bug Reports
    Replies: 2
    Last Post: 19 Feb 2007, 07:29 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
  •