Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Related Products Plugin SQL Error 1366

    Hello Everyone,

    I have installed the Related Products Plugin three times on my home server, and I get the following error in my cache file every time that I click on the "INSTALL" button in my admin panel.

    [04-Nov-2013 14:20:42 America/New_York] PHP Fatal error: 1366:Incorrect integer value: '' for column 'configuration_id' at row 1 :: INSERT INTO zen_configuration VALUES ('', 'Related Products Columns per Row', 'SHOW_PRODUCT_INFO_COLUMNS_RELATED_PRODUCTS', '3', 'Related Products Columns per Row<br />0= off or set the sort order', '18', '100', NULL, now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\', \'11\', \'12\'),') in C:\www\includes\classes\db\mysql\query_factory.php on line 201

    I am using:
    Zencart 1.5.0
    phpMyAdmin 3.5.6
    PHP Version 5.4.11

    Any help or thoughts on this would be greatly appreciated.

    Thanks,
    Danny
    Daniel Osko

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Related Products Plugin SQL Error 1366

    There are a couple things going on here.

    1.) This mod doesn't say the columns that it should be going into.
    2.) It's missing the value of the configuration id this statement should read something like:

    INSERT INTO zen_configuration
    (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
    VALUES ('Related Products Columns per Row', 'SHOW_PRODUCT_INFO_COLUMNS_RELATED_PRODUCTS', '3', 'Related Products Columns per Row<br />0= off or set the sort order', '18', '100', NULL, now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\', \'11\', \'12\'),')

  3. #3
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Related Products Plugin SQL Error 1366

    Quote Originally Posted by bislewl View Post
    There are a couple things going on here.

    1.) This mod doesn't say the columns that it should be going into.
    2.) It's missing the value of the configuration id this statement should read something like:

    INSERT INTO zen_configuration
    (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
    VALUES ('Related Products Columns per Row', 'SHOW_PRODUCT_INFO_COLUMNS_RELATED_PRODUCTS', '3', 'Related Products Columns per Row<br />0= off or set the sort order', '18', '100', NULL, now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\', \'11\', \'12\'),')
    Thanks MUCH!

    That corrected the error.
    Danny
    Daniel Osko

  4. #4
    Join Date
    Jul 2013
    Location
    South Jordan, Utah
    Posts
    16
    Plugin Contributions
    0

    Default Re: Related Products Plugin SQL Error 1366

    Along this line, I'm not seeing the "Install" button at all after uploading the files for the related products plugin. I looked in my query_factory.php file and there is no Insert into Configuration code as described above, and, needless to say, I'm not seeing anything in my Product Info configuration file that refers to related products. Did I somehow miss this when I uploaded files? I upload both the standard and the optional files. Any guidance would be appreciated. It seems the functionality is there for related products, aside from the missing configuration ability to change the number showing up in the rows.

    I'm using zencart 1.5.1
    phpMyAdmin 3.5.5

 

 

Similar Threads

  1. v154 Issue with Authorize.net AIM updating table - error 1366 incorrect integer value
    By inklingsolutions in forum Built-in Shipping and Payment Modules
    Replies: 48
    Last Post: 29 Dec 2016, 09:09 PM
  2. v151 Need Automated Related Products Plugin
    By Claymerica in forum General Questions
    Replies: 2
    Last Post: 24 Jan 2013, 01:37 AM
  3. Replies: 3
    Last Post: 31 Aug 2008, 02:17 PM
  4. 1366 Error in Installation
    By yangfan in forum Installing on a Windows Server
    Replies: 1
    Last Post: 19 Aug 2007, 07:45 AM
  5. VAT error message (1366 Incorrect decimal value)
    By Typhoon in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 5
    Last Post: 18 Jul 2006, 11:32 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