Zen Cart Logo
Forums / Addon Admin Tools / Easy Populate 1.2.5.4 support

Easy Populate 1.2.5.4 support

Views: 1,301,293

Results 3,681 to 3,700 of 3,834
6 May 2014, 11:03 AM
#3681
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Easy Populate 1.2.5.4 support

100asa:

I've in admin easy populate config page blank, and when try to start create file, I've this message: An SQL error has occured. Please check your input data for tabs within fields and delete these. If this error continues, please forward your error log to the Easy Populate maintainer Error logs say: PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in ..../easypopulate.php on line 852

see above, comment out line 582:
//$custom_filelayout_sql.
6 May 2014, 12:28 PM
#3682
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Easy Populate 1.2.5.4 support

Calljj:

see above, comment out line 582: //$custom_filelayout_sql.

Actually, just remove this version and install newer version, there is a new one available.
If not, you can just add the column to your database, as its missing from the install file provided, but does appear in the extra functions easypopulate.php file as below:
 
('', 'Custom Products Fields', 'EASYPOPULATE_CONFIG_CUSTOM_FIELDS', '', 'Enter a comma seperated list of fields to be automatically added to import/export file(ie: products_length, products_width). Please make sure field exists in PRODUCTS table.', " . $group_id . ", '10', NULL, now(), NULL, NULL)
        ");
9 May 2014, 1:34 AM
#3683
cml1203 avatar

cml1203

New Zenner

Join Date:
May 2014
Location:
Bristol, TN
Posts:
1
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Is there a way to create an import template to map the files that I get from my distributor to easy populate rather than trying to change the new file every few days? I looked to instructions to use easy populate but found nothing. If I overlooked it I'm sorry. I'm using Zen Cart 1.5.1. Thanks in advance!

10 Jul 2014, 4:35 PM
#3684
nem3ace avatar

nem3ace

New Zenner

Join Date:
Jun 2014
Posts:
2
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Any update for 1.5.3?

31 Jul 2014, 9:40 PM
#3685
keith_z avatar

keith_z

New Zenner

Join Date:
Jul 2014
Location:
Arkansas
Posts:
40
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Zen cart 1.5.3 using Easy Populate For ZenCart v1.5.x

When I download a Froogle file to submit to Google I run into to several issues regardless of using open office or excel:

  1. Column B "name field" has a leading space" and a trailing "space. I have to use the find replace or trim command to clean them up.
  2. Column C "description" has the same issue. Any blank spaces in the field has been change to 2 blank spaces. If a " character was in the field I now have "" in it's place.
  3. Column E "image url" has space characters inserted at random.
  4. Column F "category" has a leading and ending empty space. Any single space is now a double space.
  5. Column G "offer id" same issues as column F.
  6. Column J "brand" If the brand name is more than one word a leading and trailing space is inserted and the space between the words is now double spaced.

Has anyone else run into these problems?

1 Aug 2014, 12:32 AM
#3686
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
944
Plugin Contributions:
3

Re: Easy Populate 1.2.5.4 support

keith z:

Zen cart 1.5.3 using Easy Populate For ZenCart v1.5.x

When I download a Froogle file to submit to Google I run into to several issues regardless of using open office or excel:

  1. Column B "name field" has a leading space" and a trailing "space. I have to use the find replace or trim command to clean them up.
  2. Column C "description" has the same issue. Any blank spaces in the field has been change to 2 blank spaces. If a " character was in the field I now have "" in it's place.
  3. Column E "image url" has space characters inserted at random.
  4. Column F "category" has a leading and ending empty space. Any single space is now a double space.
  5. Column G "offer id" same issues as column F.
  6. Column J "brand" If the brand name is more than one word a leading and trailing space is inserted and the space between the words is now double spaced.

Has anyone else run into these problems?

For ZenCart 1.5.x You might want to run the Easy Populate that's stickied in this forum. It works REALLY well. And is similar to the 1.3.9 edition except no direct downloads (via stream). You have to essentially make two clicks. In addition, there are more options as well.

Try going here:
http://www.zen-cart.com/showthread.php?190417-EasyPopulate-4-0-Support-Thread

1 Aug 2014, 12:59 PM
#3687
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

well I just made my first screw up with EP. My orginal ZC install did not have any real "Product Model" loaded. I dumped the store out...updated all the Product Models to my Part Numbers...and got brand new parts loaded :(

I can delete these by changing the status code to 9 as I have read before. BUT->How do I update the product model without adding new parts?

2 Aug 2014, 11:55 AM
#3688
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

g2ktcf:

well I just made my first screw up with EP. My orginal ZC install did not have any real "Product Model" loaded. I dumped the store out...updated all the Product Models to my Part Numbers...and got brand new parts loaded :(

I can delete these by changing the status code to 9 as I have read before. BUT->How do I update the product model without adding new parts?

after pouring through the code....

it is clear all the processing for EP is done by products_model. I really do not understand this as products_model is not the primary key to the the products table. I have a modification to this file to change this so I can fix my model numbers. Any input on why a non key field is being used in EP? I see what to change but I am worried about really messing something up.

4 Aug 2014, 1:50 PM
#3689
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

I have modified this older version of EP to handle updating the "products_model" field without creating new products. I am not sure what need there is for such an update but if you need this please let me know and I send you the modified file (only one file has been changed). My mods do add a quirk or two but it is really only needed to get your products tables updated once. Then you can use the normal EP version of your choice.

8 Aug 2014, 2:15 AM
#3690
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
944
Plugin Contributions:
3

Re: Easy Populate 1.2.5.4 support

g2ktcf:

after pouring through the code....

it is clear all the processing for EP is done by products_model. I really do not understand this as products_model is not the primary key to the the products table. I have a modification to this file to change this so I can fix my model numbers. Any input on why a non key field is being used in EP? I see what to change but I am worried about really messing something up.

Products Model was essentially chosen since it is often a "neutral" identifier for products and very rarely duplicated in a products database. (I'm still not seeing a reason for a normal product without attributes needs to have a product model that matches.) Product Model was essentially chosen to make things easier to identify in a standard excel sheet rather than assigning a product ID number (which is the key identifier). If you want to remove the products model as being the identifier, you need something to go in its place as its identifier or else you won't have any way to update.

Think to MySQL terms. You can't just say "UPDATE products SET products_price='1.50'". If you do, MySQL will just update EVERY row in the products table with the price. You need to give it some identifier. Then just before that, you need to think in terms of EasyPopulate, EP needs some way of determining whether it is updating or inserting a new row to the appropriate databases. Without using products_model, you need a new field (or combination of fields) to identify the row that you want to update.

In short, a workaround can be done by inserting a column for "products_id" into the export/import functions of EP and then having EP see if it can find a record with that identifier. However, you need to then insert unique ID numbers for EVERY row in your EP CSV file to be imported or else, EP will then create new records each time. In addition, using this method, you need to keep the ID numbers the same way EACH time you plan on importing this file.

That is just my two cents on this.

8 Aug 2014, 3:30 PM
#3691
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

well I was able to tweak it to my purpose by adding the actual products_id into the export sheet. Then, if a row in the CSV files does not have a record number, it is then added as a new product. I really only need this tweak to get products_model modified as to be unique and loaded in the database, then I can go back to the normal side of EP and then maintain the uniqueness of the products_model. It just struck me as odd that EP created a requirement for a second unique field when one already existed.

Frankly, I am not fond of how Zen Cart uses the term "Products Model" To me, this should be a PART NUMBER when there are no attributes. That is why I never fooled around with using it (65% of my products had blanks and this is part of my current problem). I used it partially to define a group of parts designed by X. It was similar to F-150 for a Ford Truck and its the "model" designation. I do remember at the time thinking "where is the part number field for a specific part?"

but the entire process had me thinking about other smaller bits that I may have misinterpreted during my initial setup so I went and bought the Zen Cart ebook. I do not need 95% of it but some of the setup areas in the other 5% are very useful (I am a store owner but more a programmer myself). In fact, I have solved one error in my setup already so its worth the price.

Cheers
Chris

6 Nov 2014, 1:46 PM
#3692
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
217
Plugin Contributions:
1

Re: Easy Populate 1.2.5.4 support

Is easy populate working with zen 1.5.3 ??

6 Nov 2014, 8:41 PM
#3693
newbie_girl avatar

newbie_girl

New Zenner

Join Date:
Nov 2012
Posts:
24
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Hello All,

I have a few questions, if someone could answer I'd be most greatful! I am building a store with over 4000 products and as this would take me forever to add manually, I googled and came across easypopulate. I have installed it and it is now visible in my admin :) however at the top of my cart, it says the following..

Strange but there is no default language to work... That may not happen, just in case...

Warning Easy Populate Configuration Missing. Please install your configuration by clicking here (I click the link and it takes me to an error page that says 'WARNING: An Error occurred, please refresh the page and try again.'

Warning An SQL error has occured. Please check your input data for tabs within fields and delete these. If this error continues, please forward your error log to the Easy Populate maintainer

I have read through loads of pages on the threads but cant solve these issues :( Has anyone else come across them and if so what did you do to solve them?

I'm using zencart v1.5.x and easypopulate v1.2.5.7c.

Thank you for reading and any help you can offer!

Debby.

7 Nov 2014, 12:03 PM
#3694
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Easy Populate 1.2.5.4 support

newbie_girl:

Hello All,

I have a few questions, if someone could answer I'd be most greatful! I am building a store with over 4000 products and as this would take me forever to add manually, I googled and came across easypopulate. I have installed it and it is now visible in my admin :) however at the top of my cart, it says the following..

Strange but there is no default language to work... That may not happen, just in case...

Warning Easy Populate Configuration Missing. Please install your configuration by clicking here (I click the link and it takes me to an error page that says 'WARNING: An Error occurred, please refresh the page and try again.'

Warning An SQL error has occured. Please check your input data for tabs within fields and delete these. If this error continues, please forward your error log to the Easy Populate maintainer

I have read through loads of pages on the threads but cant solve these issues :( Has anyone else come across them and if so what did you do to solve them?

I'm using zencart v1.5.x and easypopulate v1.2.5.7c.

Thank you for reading and any help you can offer!

Debby.

Happened to be curious about what issues were being seen in this version of Easy Populate. The above issue was the first thing seen in EasyPopulate V4 to indicate the need to modify EasyPopulate V4 to work with ZC 1.5.3 as a result of changes made to ZC. EP4 is compatible with ZC 1.5.3 (as well as still backwards compatible as it always has been except not with ZC 1.5.2.) More can be found out at: http://www.zen-cart.com/showthread.php?190417-EasyPopulate-4-0-Support-Thread. The other reason that has been seen for this issue is that one of the URI rewriters has not been installed according to the author's instructions resulting in one of the ZC core files of the plugin not being merged properly with ZC 1.5.3.

I don't personally know if this version of EP has been updated to work with ZC 1.5.3, I'm pretty sure it could be if not already and if someone wanted to grab the reigns. :)

7 Nov 2014, 9:20 PM
#3695
ksivv avatar

ksivv

New Zenner

Join Date:
Nov 2014
Location:
London
Posts:
15
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Hello. Trying install EP 1.2.5.7 to Zen-Cart 1.5.3, getting language error :

Strange but there is no default language to work... That may not happen, just in case...
Also : > An SQL error has occured. Please check your input data for tabs within fields and delete these. If this error continues, please forward your error log to the Easy Populate maintainer
And finally, when trying to install getting: > WARNING: An Error occurred, please refresh the page and try again.

Please advice

8 Nov 2014, 10:54 PM
#3696
keith_z avatar

keith_z

New Zenner

Join Date:
Jul 2014
Location:
Arkansas
Posts:
40
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

I have been using this and editing the froogle file. The other day it quit downloading the froogle file altogether. I get the new page https://www.my_domain.com/zc_admin/easypopulate.php?download=stream&dltype=froogle. Blank page and nothing happens. Any ideas? ZC 1.53. Using Easy Populate For ZenCart v1.5.x. I can upload files and download complete.csv files but nothing with the product's URL like google and all the others want to see.

9 Nov 2014, 12:57 AM
#3697
ksivv avatar

ksivv

New Zenner

Join Date:
Nov 2014
Location:
London
Posts:
15
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Sorted. I'm installed ZC 1.5.1 instead of 1.5.3 and installed EP with no errors. Everything work perfectly now.

9 Nov 2014, 12:59 AM
#3698
ksivv avatar

ksivv

New Zenner

Join Date:
Nov 2014
Location:
London
Posts:
15
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

keith z:

I have been using this and editing the froogle file. The other day it quit downloading the froogle file altogether. I get the new page https://www.my_domain.com/zc_admin/easypopulate.php?download=stream&dltype=froogle. Blank page and nothing happens. Any ideas? ZC 1.53. Using Easy Populate For ZenCart v1.5.x. I can upload files and download complete.csv files but nothing with the product's URL like google and all the others want to see.

I suspect it's hosting side problem. They stated that > Please note that the RewriteMap directive is not enabled on shared servers.

11 Dec 2014, 7:11 PM
#3699
msrwebmaster avatar

msrwebmaster

New Zenner

Join Date:
Sep 2008
Location:
Calgary, AB
Posts:
33
Plugin Contributions:
0

Re: Easy Populate 1.2.5.4 support

Getting a timed out error on nginx no matter how large or small the update is:

2014/12/11 11:04:47 [error] 252484#0: *363305 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.219.152.71, server: [SERVERNAME], request: "POST /storepath/admindir/easypopulate.php?split=0 HTTP/1.1", upstream: "http://[IP ADDRESS: PORT]/storepath/admindir/easypopulate.php?split=0", host: "[URL]", referrer: "http://</storepath/admindir/easypopulate.php">

Simple solution is to increase the time allowed in the server's config files. BUT, am wondering what would take over 60 seconds to update a database with just one item? The item is available immediately on the front-end store. But on the Admin side, I wait and wait until the server times out and I get a 504 Gateway error, instead of the proper results page.

SO, I would rather dive into the PHP and fix the inefficiencies. Can anyone tell me what to look for, if they've gone in and fixed these already? Or at least a list of everything that EP does when we send it the text file?
Thanks.

11 Dec 2014, 7:41 PM
#3700
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Easy Populate 1.2.5.4 support

My suggestion would be to look for EasyPopulate v4 (still not issued as a plugin for ZC because of a lack of documentation) that can be found via a support thread search.

It was written/rewritten specifically because of that timeout issue.