Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default [Duplicate] Errors popping up reaching Option Name Manager

    I had to edit the following bits of code using v1.5.1:

    [06-May-2013 18:35:06 UTC] PHP Fatal error: 1136:Column count doesn't match value count at row 1 :: INSERT INTO zen_products_options_values(products_options_values_id, language_id, products_options_values_name) VALUES (01, 'TEXT') in /xxx/public_html/store/includes/classes/db/mysql/query_factory.php on line 120
    /admin/options_name_manager.php, line 25.

    BEFORE:
    Code:
    $db->Execute("INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, " . (int)$languages[$i]['id'] . ", 'TEXT')");
    AFTER:
    Code:
    $db->Execute("INSERT INTO " . TABLE_PRODUCTS_OPTIONS_VALUES . "(products_options_values_id, language_id, products_options_values_name) VALUES (" . (int)PRODUCTS_OPTIONS_VALUES_TEXT_ID . ", " . (int)$languages[$i]['id'] . ", 'TEXT')");
    Last edited by retched; 6 May 2013 at 07:45 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Errors popping up reaching Option Name Manager

    .

    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. Problem with Attributes Controller, Option Name Manager, Option Value Manager
    By Wulf359 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Jun 2013, 08:54 PM
  2. [duplicate report] Option Value Manager
    By jtjohnston in forum Bug Reports
    Replies: 3
    Last Post: 21 Mar 2008, 07:51 PM
  3. Replies: 3
    Last Post: 1 Aug 2007, 04:39 AM
  4. [duplicate] Option Values Manager
    By draftdesign in forum Bug Reports
    Replies: 2
    Last Post: 2 Jul 2007, 07:17 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR