Page 344 of 367 FirstFirst ... 244294334342343344345346354 ... LastLast
Results 3,431 to 3,440 of 3663
  1. #3431
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by torvista View Post
    Regarding the import of multiple categories for products, just done a 1000 line import and subsequently discovered errors in the csv that created unwanted categories.

    Is there a switch to prevent the creation of new categories/only allow products to be assigned/linked to existing categories?
    Quote Originally Posted by keith z View Post
    When I upload a file the column v_categories_name_1 always has a category listed. I've never had a problem with wrong categories. If you have a category for example under men's shoes then sneakers your product category would look like men's shoes^sneakers
    Quote Originally Posted by torvista View Post
    I have two languages and in some products the second column for ES had the category name EN so it created those as new categories, as per design.
    So if there is no switch to prevent this, I'll add one to prevent this in future.
    Unfortunately, even with the above added information, there are still characteristics that are not identified. For example, did the file itself contain multiple rows that caused the generation of linked product or did the product already exist within the database and the file contained additional rows of data where the category didn't/no longer existed and would become new? There are also considerations to factor in especially with multiple languages such as why was the additional field present to include the new (linked product generating) category?

    As has been the case as long as category linking has been incorporated, the control of this has been in the management of the original data. A single column is used as the primary key, having two records in the file that match that primary key offers an opportunity for "undesired" data to be import/modified. Not including the category column would prevent the generation of linked categories though would prevent that file from being used to import new product because of the absence of a category. Could something be added to the file to mark or indicate the need to process or exclude a row, sure. But if editing the file to include or otherwise flag a row to do something special, why have the row in the file to begin with instead of an additional file needed to perform that particular action?

    The above is a little bit of an explanation of why such hasn't been previously developed and some of the issues or ways to work around them. Can a switch be added to prevent the generation of linked categories? Yes. So can one to use only the first row of data encountered, the last row, or anywhere in between. That bit of a facetious statement comes from trying to see the benefit and/or how adding such a feature would help others (with minimal further explanation/engagement). I made a mistake already and was concerned that there was an issue with the use of language_code versus language_id; however, the above says that it was all within a given language identifier (language_code), but in this case two languages were included and specifically a single field had data that was not desired to be at least "fully" included/considered. Interested in further understanding the situation so that can figure out incorporation in addition to responding to the items that were recently brought up.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #3432
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,760
    Plugin Contributions
    30

    Default Re: EasyPopulate 4.0 Support Thread

    For example, did the file itself contain multiple rows that caused the generation of linked product or did the product already exist within the database and the file contained additional rows of data where the category didn't/no longer existed and would become new?
    The products already existed.
    The categories already existed.
    The import was to link the products to multiple other categories.


    The problem-causing rows had the same category name (EN) in both the EN and ES column.
    As that EN category-name did not exist in spanish, a new category was created having the same name in both languages.

    I mainly use DBIO, which does not have category imports. That uses a command column for optional functionality, like expressly allowing creation or not.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #3433
    Join Date
    Jun 2021
    Posts
    42
    Plugin Contributions
    2

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by eavinu View Post
    So I am happy to say that finally the Unknown CSV Delimiter issue was solved.
    I don't know why I didn't try this before...
    At first, since this was an upgraded website and had previous versions of EP (1.2....), there was a temp folder in the root and I left it there, changed in the EP4 configuration to false under Uploads directory Admin/Catalog.
    Now I decided to move it to the Admin folder and changed the configuration to True and the Unknown CSV Delimiter indication turned to a "CSV ," indication.
    Thank you so much for posting this solution!
    I had the same problem ("Unknown CSV Delimiter" error although everything looked good to me) and initial setup.
    Luckily I found your post, it would have taken me quite a long time to realize it otherwise, since the error message is quite misleading in this case.

  4. #3434
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by marcopm View Post
    Thank you so much for posting this solution!
    I had the same problem ("Unknown CSV Delimiter" error although everything looked good to me) and initial setup.
    Luckily I found your post, it would have taken me quite a long time to realize it otherwise, since the error message is quite misleading in this case.
    The real fix can be found in this post: https://www.zen-cart.com/showthread....80#post1385080
    Changing the setting to access files off of the admin directory has its benefits, but for some that would mean they would have to provide that path name to another vendor. Again, unfortunately it had been developed to be too protective.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #3435
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: EasyPopulate 4.0 Support Thread

    I'm running in to the following error.

    I am running ZC1.5.7d and Easy Populate 4.0.37.13 - 05-03-2021.

    I just did a fresh install (with some mods for a custom product type). (Had problems with the install until I hit the "Install EP4" link but that's another problem :)).

    I managed to get the files to be created however, I tried to import the file that was just created and was thrown this error.

    Code:
    [28-Apr-2022 03:13:10 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_query() in E:\xampp\htdocs\yyyy\easypopulate_4.php:819
    Stack trace:
    #0 E:\xampp\htdocs\yyyy\index.php(11): require()
    #1 {main}
      thrown in E:\xampp\htdocs\yyyy\easypopulate_4.php on line 819
    
    [28-Apr-2022 03:13:10 America/New_York] Request URI: /yyyy/index.php?cmd=easypopulate_4, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Call to undefined function mysql_query() in E:\xampp\htdocs\yyyy\easypopulate_4.php:819
    Stack trace:
    #0 E:\xampp\htdocs\yyyy\index.php(11): require()
    #1 {main}
      thrown in E:\xampp\htdocs\yyyy\easypopulate_4.php on line 819.
    So here's where things get weird... I found the line that was referenced and it's part of a block that is testing for mysql vs. mysqli. For some reason, EP4 isn't seeing that mysqli should be used. (I'm running PHP 7.4.20.) I tried everything at this point... hell, I even tried setting line 62 to always true using:
    PHP Code:
    $ep_uses_mysqli TRUE
    But... either way, after the page refreshes... the script resets itself to FALSE. (I can tell because I added the following to the "tests" under Configuration Settings on line 717(-ish):

    PHP Code:
    echo "Are you using MySQLi?: " . ($ep_uses_mysqli "TRUE" "FALSE") . '<br />'
    Before I try to import a CSV file this line tests TRUE. But afterwards and the page refreshes after an import attempt, this line sets itself to false. I am lost as to why that is or how to fix it. (Again, hardcoding this test to TRUE somehow sets it back to false :/)

    Any help would be appreciated.

  6. #3436
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by retched View Post
    :snip:
    This attached post can be ignored. Evidently, I copied over code from an older EP4 that was always reverting $ep_uses_mysqli to FALSE. And it override the hard setting. Everything is working swimmingly for now.

  7. #3437
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by retched View Post
    This attached post can be ignored. Evidently, I copied over code from an older EP4 that was always reverting $ep_uses_mysqli to FALSE. And it override the hard setting. Everything is working swimmingly for now.
    Glad it has been sorted... I had looked through many portions of code and couldn't find what would have caused it in the above described version...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #3438
    Join Date
    Aug 2015
    Location
    Harrisburg, Pa
    Posts
    13
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Easy Populate is working great for me, with the exception of 1 issue. I can not get it to update the metatags_keywords_1 field. I am able to use EP4 to toggle the status (0/1) on the other Metatag fields (v_metatags_products_name_status,v_metatags_title_status) fine. It just seems to be the field where I can enter longer text that is the issue (metatags_keywords_1, metatags_description_1).

    We recently upgraded to 1.5.7d and made sure all themes and modules are updated. I am able to manually enter the information for each item, and it does show when I download the store from EP4.

    Any thoughts on where to start?

    Thanks in advance for any help/thoughts.

    Dan
    Last edited by DanMickle; 29 Jul 2022 at 04:47 PM.

  9. #3439
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by DanMickle View Post
    Easy Populate is working great for me, with the exception of 1 issue. I can not get it to update the metatags_keywords_1 field. I am able to use EP4 to toggle the status (0/1) on the other Metatag fields (v_metatags_products_name_status,v_metatags_title_status) fine. It just seems to be the field where I can enter longer text that is the issue (metatags_keywords_1, metatags_description_1).

    We recently upgraded to 1.5.7d and made sure all themes and modules are updated. I am able to manually enter the information for each item, and it does show when I download the store from EP4.

    Any thoughts on where to start?

    Thanks in advance for any help/thoughts.

    Dan
    See if the content at or further referenced back in the following post resolves the issue and please post back: https://www.zen-cart.com/newreply.ph...eply&p=1381450
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #3440
    Join Date
    Aug 2015
    Location
    Harrisburg, Pa
    Posts
    13
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    I went back through those threads and tried a few changes (language ID/Code, etc.) but they did not resolve the issue. I double-checked to make sure the "use products metadata" was enabled as well.

    I did also verify because I thought I may have been mistaken when I first attempted a product update. I am able to update the following correctly (as well as the other standard fields):

    v_metatags_products_name_status v_metatags_title_status v_metatags_model_status v_metatags_price_status v_metatags_title_tagline_status

    however

    v_metatags_title_1 v_metatags_keywords_1 v_metatags_description_1

    will not update.

    Maybe I am missing something in the past posts, so I am going back through them again. Thank you for taking the time and suggesting the post to start with.

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  2. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 285
    Last Post: 23 Dec 2020, 10:40 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 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