Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    64,249
    Blog Entries
    6
    Plugin Contributions
    68

    Default Known Bugs (and fixes) with v1.5.1

    A summary of fixes to issues found with v1.5.1

  2. #2
    Join Date
    Jan 2004
    Posts
    64,249
    Blog Entries
    6
    Plugin Contributions
    68

    Default MySQL error occurs when working with Attributes Controller

    Symptom:
    PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 1, 'TEXT')' at line 1 :: INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 1, 'TEXT') in /home/myserver/public_html/mydomain.com/includes/classes/db/mysql/query_factory.php on line 120

    when accessing either:

    attributes controller
    option names manager
    option values manager

    Solution:
    FILES ATTACHED BELOW
    Simple coding fix posted here: http://www.zen-cart.com/showthread.php?200551-Attributes-controller-fatal-error-after-upgrade&p=1153132#post1153132
    Attached Files Attached Files
    Last edited by DrByte; 17 Oct 2012 at 07:06 PM. Reason: fixed attachment
    .

    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,249
    Blog Entries
    6
    Plugin Contributions
    68

    Default Minor issue: debug log generated unexpectedly

    Symptom:
    When using the password_forgotten page, a log-file is generated with a number of the following entries:
    PHP Warning: sha1_file(/includes/configure.php) [function.sha1-file]: failed to open stream: No such file or directory in \htdocs\mywebsite\includes\functions\password_funcs.php on line 118


    Solution:
    Simple coding change posted here: http://www.zen-cart.com/showthread.p...20#post1153920
    .

    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
    Sep 2003
    Location
    Ohio
    Posts
    69,400
    Plugin Contributions
    6

    Default Re: Minor issue: debug log generated unexpectedly

    NOTE: not technically a bug but a known issue when a shipping processor such as UPS or USPS and the like fail to communicate
    And may apply to versions older than v1.5.1 also.

    Symptom:
    A debug log is generated when an attempt to get quotes fails due to a failure by shipping processors such as UPS and USPS occurs

    Solution:
    Edit the file:
    /includes/modules/pages/checkout_shipping/header_php.php

    and add the code in RED around line 191:
    Code:
        $checklist = array();
        foreach ($quotes as $key=>$val) {
          if ($val['methods'] == '') {
            // skip
          } else {
            foreach($val['methods'] as $key2=>$method) {
              $checklist[] = $val['id'] . '_' . $method['id'];
            }
          }
        }
        $checkval = (is_array($_SESSION['shipping']) ? $_SESSION['shipping']['id'] : $_SESSION['shipping']);
    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!

  5. #5
    Join Date
    Jan 2004
    Posts
    64,249
    Blog Entries
    6
    Plugin Contributions
    68

    Default Re: Minor issue: debug log generated unexpectedly

    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: 16
    Last Post: 2 Mar 2017, 08:43 PM
  2. 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
  3. v150 Known Bugs (and fixes) with v1.5.0
    By DrByte in forum Upgrading from 1.3.x to 1.5.x
    Replies: 5
    Last Post: 18 Oct 2016, 06:17 PM
  4. 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
  5. 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

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