Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Posts
    7
    Plugin Contributions
    0

    Default 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:

    Code:
    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!

  2. #2
    Join Date
    Oct 2008
    Posts
    7
    Plugin Contributions
    0

    Default 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:
    Code:
    $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!

  3. #3
    Join Date
    Mar 2009
    Posts
    1
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    May 2006
    Location
    Bay area, California
    Posts
    12
    Plugin Contributions
    0

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

    Fixed for me too. Good spot. Cheers!

  5. #5
    Join Date
    Sep 2006
    Posts
    122
    Plugin Contributions
    0

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

    Quote Originally Posted by emmtqg View Post
    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:
    Code:
    $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!

    Amazing, Saved me loads of time. Thanks!
    This is my Signature: w00t

  6. #6
    Join Date
    Sep 2008
    Posts
    2
    Plugin Contributions
    0

    Default 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!

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

    thanks

  7. #7
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

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

    Quote Originally Posted by MstrYoda View Post
    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!

    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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 3 Mar 2011, 07:34 AM
  2. Easy Populate error on Download Complete .csv
    By Parley in forum General Questions
    Replies: 6
    Last Post: 2 Mar 2010, 06:01 PM
  3. Easy Populate CSV cannot upload csv files
    By alimtlai in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Sep 2009, 02:22 PM
  4. Replies: 0
    Last Post: 2 Sep 2009, 11:59 AM
  5. easy populate csv 1-2-5-5-csv-2 tax wrong
    By coolglobal in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 20 Apr 2009, 12:25 PM

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