Zen Cart Logo
Forums / All Other Contributions/Addons / easy populate 1.2.5.5.csv - fetch_array error on .csv generation

easy populate 1.2.5.5.csv - fetch_array error on .csv generation

Locked

Views: 3,666

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
9 Aug 2009, 2:45 AM
#1
emmtqg avatar

emmtqg

New Zenner

Join Date:
Oct 2008
Posts:
7
Plugin Contributions:
0

easy populate 1.2.5.5.csv - fetch_array error on .csv generation

Hi,

I've scoured the forum for this error that I receive when creating a Complete .csv file:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ...blah blah/easypopulate.php on line 811
 File Full-EP2009Aug08-1907.csv     successfully exported! The file is ready for download in your /temp/ directory.
 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'm just trying out this CSV version (new install - did not have the older EP software installed). I did, however, install the SQL patch as I was initially getting errors re the configuration.

This is on a godaddy shared virtual server Linux/PHP 5.2.5/ZC 1.3.8a. I have the same EP CSV installation on my local system w/o a hitch - with the same sql patch (Windows XP).

Anyone have an idea of what might be happening on my production server? Thanks a million for any ideas!

11 Aug 2009, 3:22 PM
#2
emmtqg avatar

emmtqg

New Zenner

Join Date:
Oct 2008
Posts:
7
Plugin Contributions:
0

Re: easy populate 1.2.5.5.csv - fetch_array error on .csv generation

In case anyone else runs into this problem - it originated from the EASYPOPULATE_CONFIG_CUSTOM_FIELDS column that was not defined (I have no custom fields - that I know of!).

Looking into this a bit further, in the log file I'm was getting a:

EASYPOPULATE_CONFIG_CUSTOM_FIELDS unknown column error in the sql statement. I commented out the custom field array load in admin/easypopulate.php ~ line 134:

$custom_fields == FALSE;
/*
if(strlen(EASYPOPULATE_CONFIG_CUSTOM_FIELDS) > 0)
{
	$custom_fields = explode(',',EASYPOPULATE_CONFIG_CUSTOM_FIELDS);
}
*/

Hope this helps save some headaches....

Love the app - it's saving me a ton of time!

17 Aug 2009, 11:19 PM
#3
guerillatact avatar

guerillatact

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Re: easy populate 1.2.5.5.csv - fetch_array error on .csv generation

WOW! Thank you for posting this one, it was thoroughly stumping me. :D

20 Aug 2009, 5:57 AM
#4
re_active avatar

re_active

New Zenner

Join Date:
May 2006
Location:
Bay area, California
Posts:
10
Plugin Contributions:
0

Re: easy populate 1.2.5.5.csv - fetch_array error on .csv generation

Fixed for me too. Good spot. Cheers!:clap:

31 Aug 2009, 3:25 PM
#5
panelcart avatar

panelcart

Zen Follower

Join Date:
Sep 2006
Posts:
125
Plugin Contributions:
0

Re: easy populate 1.2.5.5.csv - fetch_array error on .csv generation

emmtqg:

In case anyone else runs into this problem - it originated from the EASYPOPULATE_CONFIG_CUSTOM_FIELDS column that was not defined (I have no custom fields - that I know of!).

Looking into this a bit further, in the log file I'm was getting a:

EASYPOPULATE_CONFIG_CUSTOM_FIELDS unknown column error in the sql statement. I commented out the custom field array load in admin/easypopulate.php ~ line 134:

$custom_fields == FALSE;
/*
if(strlen(EASYPOPULATE_CONFIG_CUSTOM_FIELDS) > 0)
{
$custom_fields = explode(',',EASYPOPULATE_CONFIG_CUSTOM_FIELDS);
}
*/

> 
> Love the app - it's saving me a ton of time!


Amazing, Saved me loads of time. Thanks!
1 Sep 2009, 3:43 AM
#6
mstryoda avatar

mstryoda

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

Re: easy populate 1.2.5.5.csv - fetch_array error on .csv generation

Sorry to have to post .. but just not finding anything.

I have 2 questions. I have loaded the latest version. followed all the instructions. I am running v 1.3.8.

  1. installed everything in appropriate folders. I had to run install the SQL for anything to show up in my ADMIN panel. Easy Populate shows up under the Configuration tab. But when I go to Tool, Easy Populate. Nothing happens .. this is launching the easypopulate.php program but I get a blank screen and done message. Help!:blink:

  2. Where is the xls template. it is not in the download folders.

thanks

4 Sep 2009, 6:10 PM
#7
chadderuski avatar

chadderuski

Totally Zenned

Join Date:
Apr 2006
Location:
Dark Side of the Moon
Posts:
986
Plugin Contributions:
0

Re: easy populate 1.2.5.5.csv - fetch_array error on .csv generation

MstrYoda:

Sorry to have to post .. but just not finding anything.

I have 2 questions. I have loaded the latest version. followed all the instructions. I am running v 1.3.8.

  1. installed everything in appropriate folders. I had to run install the SQL for anything to show up in my ADMIN panel. Easy Populate shows up under the Configuration tab. But when I go to Tool, Easy Populate. Nothing happens .. this is launching the easypopulate.php program but I get a blank screen and done message. Help!:blink:

  2. Where is the xls template. it is not in the download folders.

thanks

  1. Manually check that each file actually uploaded.

  2. Create a few of your categories, then enter a few products manually. Then download a complete CSV file. This will give you your template.