Zen Cart Logo
Forums / Addon Admin Tools / EasyPopulate 4.0 Support Thread

EasyPopulate 4.0 Support Thread

Sticky

Views: 733,412

Results 2,601 to 2,620 of 3,671
25 Jul 2016, 3:38 AM
#2601
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

EasyPopulate 4.0 Support Thread

mc12345678:

Sigh... have you 1) read the instructions, 2) read even the last page of posts or 2?

Upload... to provide files to the server, been a term used for like 30 years to represent movement of files or information from a local system or area to a remote location.

Try importing... the listing of files presented in the above image is incomplete... there is no "error", there is an indication that nothing is present...

yikes, must be late there?? i'm sorry if you had a bad day. i really like this plugin and have used the older version many times with success. and yes i'm been in data processing/programming for 37 years now so i know what 'upload' is.. and yes the file has records in it. i'll include a link to the csv file here. and yes i created it in both excel and openoffice with the same results. i'm sure i'm doing something dumb but i'm not an idiot.. and i did do a search and will continue while waiting for a reply.

http://criticalsystemsincshop.com/test/delatec-test-upload-openoffice.csv

25 Jul 2016, 4:08 AM
#2602
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

lidlchris:

yikes, must be late there?? i'm sorry if you had a bad day. i really like this plugin and have used the older version many times with success. and yes i'm been in data processing/programming for 37 years now so i know what 'upload' is.. and yes the file has records in it. i'll include a link to the csv file here. and yes i created it in both excel and openoffice with the same results. i'm sure i'm doing something dumb but i'm not an idiot.. and i did do a search and will continue while waiting for a reply.

http://criticalsystemsincshop.com/test/delatec-test-upload-openoffice.csv

make that http://g8x.net/delatec-test-upload-openoffice.csv

25 Jul 2016, 4:09 AM
#2603
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

lidlchris:

yikes, must be late there?? i'm sorry if you had a bad day. i really like this plugin and have used the older version many times with success. and yes i'm been in data processing/programming for 37 years now so i know what 'upload' is.. and yes the file has records in it. i'll include a link to the csv file here. and yes i created it in both excel and openoffice with the same results. i'm sure i'm doing something dumb but i'm not an idiot.. and i did do a search and will continue while waiting for a reply.

http://criticalsystemsincshop.com/test/delatec-test-upload-openoffice.csv

Do you really have 14 languages installed?

Incorporated the patches described over the last several pages?

What is the primary language used on the site, what number is assigned to that language when viewing the tools->EP4 page in the upper right corner?

Also, though it doesn't matter for this particular file, the filename is important to identify what filter type will be applied, the above file is and will be treated like a "full" export/import file.

25 Jul 2016, 4:15 AM
#2604
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

mc12345678:

Do you really have 14 languages installed?

Incorporated the patches described over the last several pages?

What is the primary language used on the site, what number is assigned to that language when viewing the tools->EP4 page in the upper right corner?

Also, though it doesn't matter for this particular file, the filename is important to identify what filter type will be applied, the above file is and will be treated like a "full" export/import file.

yes i only should have English.. i missed that in the original instructions. hopefully i can uninstall the others.. primary language is English and it is a 1. and yes i wanted a FULL import, unless i'm missing something? i think all the fields are on that csv i sent you?

25 Jul 2016, 4:17 AM
#2605
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

mc12345678:

Do you really have 14 languages installed?

Incorporated the patches described over the last several pages?

What is the primary language used on the site, what number is assigned to that language when viewing the tools->EP4 page in the upper right corner?

Also, though it doesn't matter for this particular file, the filename is important to identify what filter type will be applied, the above file is and will be treated like a "full" export/import file.

i did not incorporate any patches.. where exactly do i find them.. i just downloaded the latest version today - shouldn't that have all the patches in it?

25 Jul 2016, 9:48 AM
#2606
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

lidlchris:

i did not incorporate any patches.. where exactly do i find them.. i just downloaded the latest version today - shouldn't that have all the patches in it?
Up to the point of additional patches identified. See, those that process uploaded plugins do so on their own volunteer time like just about everyone on this site. As such, their time is considered valuable and I for one don't care to waste it by uploading what would have probably been at least two if not three different versions since 4.0.35.ZC was pushed to the ZC site. As well, each such version if it made it to the site would have notified users of the plugin to download and reinstall (though only files were modified, not the database). That just adds aggravation to the users as well.

So, like other plugins, if a bug is found, it is first discussed and or corrected here in the forum thread (one reason to read from the end of a thread backwards). When corrected it should be uploaded as a new version. The issues have been corrected in version 4.0.35.ZC.1 available from github however there remain a few display issues to be addressed related to the selected primary key and associated "error" on upload, so it has not been pushed to ZC yet. All of these things are discussed over the last several pages including what change(s) are necessary to repair the software.

25 Jul 2016, 10:07 AM
#2607
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

lidlchris:

yes i only should have English.. i missed that in the original instructions. hopefully i can uninstall the others.. primary language is English and it is a 1. and yes i wanted a FULL import, unless i'm missing something? i think all the fields are on that csv i sent you?
Yes, the files that have been posted will be treated as full imports because they don't meet the criteria to be uploaded as a unique file type. The data presented in each of those appears to at least import to Open Office without issue, so that implies that they are satisfactory for import to ZC.

Now, having looked at the files, it appears that the goal is to push the product to the database in a disabled status. When stating that the product is not in the database, what is the method of review employed? What is/are the messages that appear at the bottom of the screen after selecting to import the associated file(s)? If product exists with the associated products_model, then they will be updated, not added anew. If using the store front as the verification, then the product won't be seen (v_status =0), if using the database itself, verify looking at the correct database, and then within that, make sure looking at the correct table(s) such that their prefix matches your setup. If looking in the admin, again if updated, then should be a change if the product previously existed or should be locateable using the category(ies) assigned to the product.

Regardless, assistance can only be provided based on the information posted/presented. The initial post was about how an upload did not get to the database after selecting upload. Other than providing copies of the file(s) attempted, little additional information has been provided. As a result and in spite of that, multiple paths of what is going on have been provided. This is instead of cutting the conversation short and just simply asking for more information... hopefully it helps narrow down the cause and then here and anywhere else that this issue has been posted about will reflect the solution or reason for the observations already made.

27 Jul 2016, 12:24 AM
#2608
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

mc12345678:

Yes, the files that have been posted will be treated as full imports because they don't meet the criteria to be uploaded as a unique file type. The data presented in each of those appears to at least import to Open Office without issue, so that implies that they are satisfactory for import to ZC.

Now, having looked at the files, it appears that the goal is to push the product to the database in a disabled status. When stating that the product is not in the database, what is the method of review employed? What is/are the messages that appear at the bottom of the screen after selecting to import the associated file(s)? If product exists with the associated products_model, then they will be updated, not added anew. If using the store front as the verification, then the product won't be seen (v_status =0), if using the database itself, verify looking at the correct database, and then within that, make sure looking at the correct table(s) such that their prefix matches your setup. If looking in the admin, again if updated, then should be a change if the product previously existed or should be locateable using the category(ies) assigned to the product.

Regardless, assistance can only be provided based on the information posted/presented. The initial post was about how an upload did not get to the database after selecting upload. Other than providing copies of the file(s) attempted, little additional information has been provided. As a result and in spite of that, multiple paths of what is going on have been provided. This is instead of cutting the conversation short and just simply asking for more information... hopefully it helps narrow down the cause and then here and anywhere else that this issue has been posted about will reflect the solution or reason for the observations already made.

Looks like it was a simple 'fix' on my end.. i uploaded the files and they said they uploaded fine and then finally i noticed an 'import' button next the files at the bottom. i clicked on 'import' and the products were all there using the same file i sent you guys. maybe because i used the older product, the 'import' is not intuitive. i would think the 'upload' would upload to the products database.. but thank you all for helping.

30 Jul 2016, 6:23 AM
#2609
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Is anyone else having an issue where the upload feature in Easy Populate 4.0.19 isn't working? I'm wondering if it is a firewall or a timeout issue.

30 Jul 2016, 7:46 AM
#2610
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

utefan:

Is anyone else having an issue where the upload feature in Easy Populate 4.0.19 isn't working? I'm wondering if it is a firewall or a timeout issue.
I wouldn't be surprised if it is far more than EP4 that is affected. What file size(s) have been tried? Have you also tried setting up a catalog product that allows uploading a file and seeing if the same file can be uploaded via that route? What environment is this operating on (ie. Php and ZC versions?) just to name a few things to check. :)

31 Jul 2016, 6:06 AM
#2611
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I ran into a very odd issue tonight with a brand new install of 1.5.1. I installed EP4.0.19 and everything was working great. However, after installing a bunch of other mods (37), it appears that EP4 was broken somewhere along the way. All I am getting now is a blank white page when I try to go the EP4 via the admin panel. I am getting the following message in my error logs:

PHP Fatal error: Function name must be a string in /home/corg/public_html/admin/includes/functions/extra_functions/easypopulate_4_functions.php on line 512.

Here is what line 512 looks like in that file:

		$string = ($ep_uses_mysqli ? "MySQLi" : "MySQL") . " error ".($ep_uses_mysqli ? mysqli_errno($db->link) : mysql_errno() ) . ": ".($ep_uses_mysqli ? $mysqli_error($db->link) : mysql_error())."\nWhen executing:\n$query\n";

If I remove the dollar sign in front of "mysqli_error($db->link)" above, the white page goes away and EP4 comes up in the admin panel, but there is an error message that says, "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 seen other posts in here with the same message, but different error logs. I'm thinking this must be a different issue. Any ideas about what might be happening on this one? Thank you.

31 Jul 2016, 6:17 AM
#2612
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Thanks for your response. I'm running I'm running ZC 1.5.1 and PHP 5.6.16. This is a very odd case. Not only was I having trouble loading files via the file upload utility in EP4, but I was also having the same issues from my laptop via filezilla. File transfers through the cpanel were working fine. I shut off my antivirus software and suddenly my computer was able to upload fine through Filezilla. That is what got me thinking about maybe there being a firewall issue. I'm curious what would happen if I moved my temp folder out of my admin directory. I'm going to test that next. I'll share if I find anything of interest. Thanks again.

31 Jul 2016, 6:19 AM
#2613
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

BTW, this is a different build than the one where I was having the upload issue. Thank you.

31 Jul 2016, 6:21 AM
#2614
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

mc12345678:

I wouldn't be surprised if it is far more than EP4 that is affected. What file size(s) have been tried? Have you also tried setting up a catalog product that allows uploading a file and seeing if the same file can be uploaded via that route? What environment is this operating on (ie. Php and ZC versions?) just to name a few things to check. :)

I've tried different sized files with the same upload result. I haven't tried the catalog product upload. Thanks for the suggestion.

31 Jul 2016, 10:17 AM
#2615
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

Have you also tried a more recent version? There are/were reasons why the software was updated. Particularly PHP versions were at play and you are likely to run into other troubles running PHP 5.6 with ZC 1.5.1. Why didn't you install a more recent version something released less than 4 years ago?

Yes in 4.0.19 there was that dollar sign issue, as well as a number of other things that have been addressed or corrected since then. I would suggest the version available at https://github.com/mc12345678/EasyPopulate-4.0/tree/v4.0.35.ZC.1. It is compatible as far back as at least ZC 1.3.9 up to at least ZC 1.5.5 (hasn't been tested on ZC 1.6 yet)

31 Jul 2016, 4:04 PM
#2616
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I just bought a store from someone else that was on 1.3.9. I decided to move the store to 1.5.1 initially because that is the latest 1.5.1 version that supports all of the mods that replicate existing functionality. I'm hoping to upgrade from there once I get the 1.5.1 store working as expected. I'll try a newer version of EP. Thanks for the heads up.

1 Aug 2016, 4:01 PM
#2617
mcevoli avatar

mcevoli

New Zenner

Join Date:
Aug 2016
Posts:
1
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hello,

looking in files I saw the v_status could have the "7" value.
What is the use of 7 value?

Thanks.

1 Aug 2016, 5:13 PM
#2618
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

mcevoli:

Hello,

looking in files I saw the v_status could have the "7" value.
What is the use of 7 value?

Thanks.

It was a feature that was added back in v4.0.31 August 2015 to allow reassigning the master_category for a row of data to the category of that row for that product. It is discussed in here, but hasn't been highly advertised because of the effect it can have on your store if used improperly or even in some cases properly. :)

So the original vision for it was to not modify the export file as those using ZC have come to "enjoy" but allow modification/removal of say linked product. Linked product provided when a products_id is applied to a category that is not the master_category. In a default EP4 install, two rows that have the same products_model data but have different category information will result in generating a linked product for that products_model because the "second" instance will get the product added to the products_to_categories table if it is not present. All product in order to appear in the cart need to have at least one instance of a record in that table. So new product as well as modification of existing product should be covered by the EP4 code.

Thing is that there was not previously a "delete a linked item" option... Further, there wasn't exactly a clear cut way to suggest how best to do that, considering a lot of that issue relates to what products_model record is read first while processing the file, and which record was updated by the user.

Any rate, the following was logic was applied but look at bullet 3 for the short and skinny:
If the status is 7,

  1. check to be sure that the product does or does not have a master_category assigned. If it does not, then assign the current product the master_category associated with that record, no further action required. (Unfortunately there have been those that have processed data or manually modified their database at one point and neglected to associate product to a category/master_category and therefore their product doesn't appear as expected/designed.

  2. If there is a master_category assigned, and the current row category is not the master_category, then attempt to make the current row category the master_category, attempt to delete the product from the category represented by its previous master_category and then report the results of those actions based on the success of trying to do the two above actions. If the product's master_category couldn't be updated, then a linked product would exist/be generated (the delete operation isn't supposed to fire, because otherwise the next action would cause a product to not have a master_category) with a link being generated to the category identified on the row. If the product's master_category did get updated, then attempt to delete the product from the category that it used to belong. If unsuccessful at deleting that item, then again would have a linked product but this time the link would be to the old master_category with the product having a new master_category. If successful at deleting the item from the old category, then the product would have been successfully moved from the old category to the new category and no link generated. If unable to update the product's master_category, but able to delete the product from it's master category then the code reported deleting the product from the category (which would unfortunately leave it with an unassigned master_category, but that would be because the code was unable to properly execute an update command. Additional "action" could be built in to then try a delete followed by an insert, or to use the replace command, but it seemed that if that caused an issue, then there was probably something bigger going on that would need to be addressed).

  3. So, summary: status of 7 is to move the master_category to the category on the row and if able delete the product from the previous category represented by its former master_category and if not previously assigned to a master_category to update the master_category to be the category of the current row. With this operation and proper sequencing of import data rows, all links for a product could be removed leaving behind the product in a single category, or the master_category could be changed without having to delete the product and add it back (previously not something easily maintained/managed but other edits have made something like that possible without losing uniqueness of the product's identifier).

1 Aug 2016, 5:16 PM
#2619
utefan avatar

utefan

New Zenner

Join Date:
Feb 2016
Posts:
28
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

utefan:

I just bought a store from someone else that was on 1.3.9. I decided to move the store to 1.5.1 initially because that is the latest 1.5.1 version that supports all of the mods that replicate existing functionality. I'm hoping to upgrade from there once I get the 1.5.1 store working as expected. I'll try a newer version of EP. Thanks for the heads up.

@mc1234567 thanks for getting me pointed in the right direct. I was able to fix the SQL error. I'm posting here in case anyone else comes up against the same issue. It turns out that the issue was related to CEO URI mapping. Some of the tables were missing in my installation. Once I updated the database, the error went away. The log file in EP was the key here. I sure appreciate the development team for EP thinking ahead about making the logs easily accessible. That made fixing my issue much easier. Thank you!

1 Aug 2016, 5:35 PM
#2620
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

utefan:

@mc1234567 thanks for getting me pointed in the right direct. I was able to fix the SQL error. I'm posting here in case anyone else comes up against the same issue. It turns out that the issue was related to CEO URI mapping. Some of the tables were missing in my installation. Once I updated the database, the error went away. The log file in EP was the key here. I sure appreciate the development team for EP thinking ahead about making the logs easily accessible. That made fixing my issue much easier. Thank you!

Your welcome for not transitioning to the ZC default code for everything in the plugin which would have placed the associated sql error in the logs directory among any other logs that might have been generated by other processing. (Suggest reviewing those to see what other issues you may have with your system.)

There is a plugin (display logs) that can be installed to make those accessible from the admin and they should always be available by ftp, but are likely hidden if using something like webftp. While it would be good to occasionally take advantage of the cache created by ZC, the level of modification (at least at the time) was too extensive for both EP4 and anything needed to be modified in ZC to support continued use of the "local" error log.