Page 41 of 48 FirstFirst ... 313940414243 ... LastLast
Results 401 to 410 of 476
  1. #401
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: product categories - linking

    Quote Originally Posted by lat9 View Post
    Rick, got the files via email (thanks). Was the OOPS!!!! category pre-existing when you performed the import, or was it auto-created when this product was imported?
    It is pre-existing with products. Since the first several dozen attempts did nothing, I assumed that either I was doing something wrong or category creation was not a feature, so I began trying to import a single test product into an existing category.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  2. #402
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: product categories - linking

    Quote Originally Posted by RixStix View Post
    It is pre-existing with products. Since the first several dozen attempts did nothing, I assumed that either I was doing something wrong or category creation was not a feature, so I began trying to import a single test product into an existing category.
    When you're adding a product, I suggest a two-fold approach:

    1. Set the v_products_id value to 0 (not an empty string)
    2. Include the v_dbio_command column and set that value to ADD.

  3. #403
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: product categories - linking

    Quote Originally Posted by lat9 View Post
    When you're adding a product, I suggest a two-fold approach:

    1. Set the v_products_id value to 0 (not an empty string)
    2. Include the v_dbio_command column and set that value to ADD.
    TNX
    I will try again. I'm pretty sure using a v_products_id value 0 gave a white screen of death and sent me off in a different direction.

    EDIT before the timelimit expired to edit this post.

    Nothing added when I set the v_products_id to 0 (zero)

    Code:
    2021-03-10 11:35:52: Forcing ADD of product at line #3, via DbIo command
    2021-03-10 11:35:52: [*] products.products_date_added, line #3: Value () is not a recognized date value; the default value for the field will be used.
    2021-03-10 11:35:52: [*] products.products_ordered, line #3: Value () is not a floating-point value.
    2021-03-10 11:35:52: [*] products.metatags_title_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_products_name_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_model_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_price_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_title_tagline_status, line #3: Value () is not an integer
    Last edited by RixStix; 10 Mar 2021 at 08:39 PM.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  4. #404
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: product categories - linking

    Quote Originally Posted by RixStix View Post
    TNX
    I will try again. I'm pretty sure using a v_products_id value 0 gave a white screen of death and sent me off in a different direction.

    EDIT before the timelimit expired to edit this post.

    Nothing added when I set the v_products_id to 0 (zero)

    Code:
    2021-03-10 11:35:52: Forcing ADD of product at line #3, via DbIo command
    2021-03-10 11:35:52: [*] products.products_date_added, line #3: Value () is not a recognized date value; the default value for the field will be used.
    2021-03-10 11:35:52: [*] products.products_ordered, line #3: Value () is not a floating-point value.
    2021-03-10 11:35:52: [*] products.metatags_title_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_products_name_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_model_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_price_status, line #3: Value () is not an integer
    2021-03-10 11:35:52: [*] products.metatags_title_tagline_status, line #3: Value () is not an integer
    Rick, those errors in the CSV import (other than the products_date_added) will result in that record not being imported due to an error in the data-types.

  5. #405
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: product categories - linking

    I guess I don't understand other than it sounds like I have been wasting your time?

    Products_ordered for a new product that is impossible to have been ordered? required?
    meta_tags? required?
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  6. #406
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: product categories - linking

    Quote Originally Posted by RixStix View Post
    I guess I don't understand other than it sounds like I have been wasting your time?

    Products_ordered for a new product that is impossible to have been ordered? required?
    meta_tags? required?
    Rick, none of those fields are required but if they're included in the import, the value must be valid for the field, e.g. the products-ordered must be a valid floating-point number.

  7. #407
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: product categories - linking

    Thanks. When the "abbreviated" import didn't work, I assumed that a required field must have been neglected; thus the reason for going to the full file.

    Back to square 1
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  8. #408
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: product categories - linking

    Quote Originally Posted by RixStix View Post
    Thanks. When the "abbreviated" import didn't work, I assumed that a required field must have been neglected; thus the reason for going to the full file.

    Back to square 1
    Square 1. Original abbreviated import file

    Upload my abbreviated file
    File Action: Import (check only)
    Results: GREEN, 3 lines imported

    File Action: Import (FULL)
    White Screen of death
    This is what happens when you put a 0 (zero) in the v_products_id field

    Code:
    [11-Mar-2021 09:16:37 America/Los_Angeles] Request URI: /ADMINFOLDER/dbio_manager.php?action=file, IP address: 98.xxx.yyy.zzz
    #1  trigger_error() called at [/home/chainwea/public_html/includes/classes/db/mysql/query_factory.php:171]
    #2  queryFactory->show_error() called at [/home/chainwea/public_html/includes/classes/db/mysql/query_factory.php:143]
    #3  queryFactory->set_error() called at [/home/chainwea/public_html/includes/classes/db/mysql/query_factory.php:270]
    #4  queryFactory->Execute() called at [/home/chainwea/public_html/ADMINFOLDER/includes/classes/dbio/DbIoHandler.php:943]
    #5  DbIoHandler->importCsvRecord() called at [/home/chainwea/public_html/ADMINFOLDER/includes/classes/dbio/DbIo.php:265]
    #6  DbIo->dbioImport() called at [/home/chainwea/public_html/ADMINFOLDER/dbio_manager.php:240]
    --> PHP Fatal error: 1062:Duplicate entry '0-1' for key 'PRIMARY' :: INSERT INTO products_description (`products_name`, `products_description`, `language_id`, `products_id`)
    VALUES ('Sterling Clasp Assortment 1', 'This is a test description', 1, 0) ==> (as called by) /home/chainwea/public_html/ADMINFOLDER/includes/classes/dbio/DbIoHandler.php on line 943 <== in /home/chainwea/public_html/includes/classes/db/mysql/query_factory.php on line 171.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  9. #409
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: product categories - linking

    Rick, did you accompany that v_products_id = 0 with a v_dbio_command of ADD?

  10. #410
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: product categories - linking

    Quote Originally Posted by lat9 View Post
    Rick, did you accompany that v_products_id = 0 with a v_dbio_command of ADD?
    Yes, all caps ADD Used the same file that I sent to you but with 0 zero inserted into the prod_id field

    Crap, the screen paste doesn't work.
    Last edited by RixStix; 11 Mar 2021 at 07:28 PM. Reason: Additional info
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 
Page 41 of 48 FirstFirst ... 313940414243 ... LastLast

Similar Threads

  1. Support Thread for CKEditor Plugin
    By DivaVocals in forum Addon Admin Tools
    Replies: 201
    Last Post: 31 Aug 2021, 05:14 PM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 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