Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Dec 2006
    Location
    Vancouver Island, BC
    Posts
    50
    Plugin Contributions
    0

    Default Re: Count doesn't match value

    Thanks again for your help. That seems to be it as all attributes are playing nicely now. Much appreciated.

    Quote Originally Posted by DrByte View Post
    /admin/includes/functions/general.php
    line 1929:
    Code:
              // New attribute - insert it
    // @TODO: MySQL5
              $db->Execute("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values (0, '" . $products_id_to . "',
    replace with:
    Code:
              // New attribute - insert it
              $db->Execute("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " (products_attributes_id, products_id, options_id, options_values_id, options_values_price, price_prefix, products_options_sort_order, product_attribute_is_free, products_attributes_weight, products_attributes_weight_prefix, attributes_display_only, attributes_default, attributes_discounted, attributes_image, attributes_price_base_included, attributes_price_onetime, attributes_price_factor, attributes_price_factor_offset, attributes_price_factor_onetime, attributes_price_factor_onetime_offset, attributes_qty_prices, attributes_qty_prices_onetime, attributes_price_words, attributes_price_words_free, attributes_price_letters, attributes_price_letters_free, attributes_required) values (0, '" . $products_id_to . "',

  2. #12
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Count doesn't match value

    I've done the previous steps as I was getting that error messagw.

    When I go to admin>cat>products with attributes stock I now get this error message:
    1146 Table 'easybead_zc1.zen_products_with_attributes_stock' doesn't exist
    in:
    [select * from zen_products_with_attributes_stock where products_id="241"]

    aaaah you gotta have a laugh!!

  3. #13
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Count doesn't match value

    Not laughing now. I can't add products to cart, even products with no attributes cuz I get the quoted error.

    I really need help fast for this, my cart is out of order. And I have no idea what it means. Even though I have tried to add a product order than product id#241, the message keeps coming up.

    Thanks.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Count doesn't match value

    Quote Originally Posted by vivaraquel View Post
    I've done the previous steps as I was getting that error messagw.

    When I go to admin>cat>products with attributes stock I now get this error message:
    1146 Table 'easybead_zc1.zen_products_with_attributes_stock' doesn't exist
    in:
    [select * from zen_products_with_attributes_stock where products_id="241"]
    You partially installed a contribution. Apparently for attribute stock. But you didn't do the database part. Presumably there are instructions for that in the readme files for the contribution.

    I suggest you go to the contribution's readme / installation instructions and double-check everything. Failing that, report your problem in the support thread for that contribution.
    .

    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. #15
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Count doesn't match value

    Thanks for that DrByte. That must have been the part I didn't understand on how to do.

    Do I upload the stock_attribute.sql file via ftp or through the tools>install SQL patches?

    Thank you for your prompt reply.

  6. #16
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Count doesn't match value

    Quote Originally Posted by vivaraquel View Post
    Do I upload the stock_attribute.sql file via ftp or through the tools>install SQL patches?
    tools>install SQL patches
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #17
    Join Date
    Oct 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Count doesn't match value

    I have a similar issue, but with regard to the Authorize.Net Sim module. My error is:

    1136 Column count doesn't match value count at row 1
    in:
    [insert into zen_orders_status_history (comments, po_number, orders_id, orders_status_id, date_added) values ('Credit Card payment. AUTH: 507639. TransID: 1908858370.' , '82','', now() )]
    My code in catalog/includes/modules/payment/authorizenet_aim.php is:

    function after_process() {
    global $insert_id, $db;
    $db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (comments, po_number, orders_id, orders_status_id, date_added) values ('Credit Card payment. AUTH: " . $this->auth_code . ". TransID: " . $this->transaction_id . ".' , '". (int)$insert_id . "','" . $this->order_status . "', now() )");
    return false;
    }

    I am not spotting the issue but am surely overlooking the obvious. Any ideas?

    Thanks!

    Gary

  8. #18
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Count doesn't match value

    Quote Originally Posted by gfogleman View Post
    I have a similar issue, but with regard to the Authorize.Net Sim module.
    Quote Originally Posted by gfogleman View Post
    My code in catalog/includes/modules/payment/authorizenet_aim.php is:
    So, which one are you using? SIM or AIM?
    What 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.

  9. #19
    Join Date
    Oct 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Count doesn't match value

    OOPS! I meant my Authorize.Net AIM module.

    Version 1.3.7.1

  10. #20
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Count doesn't match value

    There's an updated AIM module for 1.3.7.x, which includes some improvements and some of the newer features of the 1.3.8 version. The beta version for 1.3.7.x is here: http://www.zen-cart.com/forum/showth...023#post441023

    For the full improvements for 1.3.8, you'll need to upgrade to 1.3.8
    .

    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.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v139h 1136 Column count doesn't match value count at row 1
    By riolas in forum General Questions
    Replies: 3
    Last Post: 5 Jul 2013, 07:48 AM
  2. Replies: 6
    Last Post: 25 Mar 2009, 08:41 PM
  3. Help! Column count doesn't match value count
    By rjspomer in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Jun 2008, 08:09 PM
  4. After QBI Install - 1136 Column count doesn't match value count at row 1
    By Bostitch in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 2 Apr 2008, 09:24 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