Is he talking about the csv-mod of EP? If so that EOREOR-stuff is gone.
Is he talking about the csv-mod of EP? If so that EOREOR-stuff is gone.
Sorry to support the wrong version, I haven't seen any kind of useful documentation of the changes in that version, but your php error log may be helpful if you can access it.
The warning could happen if fgetcsv(or similar function) doesn't create an array. Maybe Array_flip was going to use the array after import but doesn't get it.
so.. maybe your file permissions need checking or something is wrong with the mod? I don't use it i use the tab-delimited file version
good luck! :)
Last edited by interrupt; 28 Jan 2009 at 12:19 AM.
I found this online, which solved my problem. (I just switched my PHP version to 5)
error:
Warning: array_flip() [function.array-flip]: The argument should be an array in path\path on line 1224
issue: this occurs if you are using the latest version of easypopulate on a PHP 4 server.
fix :
The length parameter has been set to 0 on line 1222, which is OK for PHP5, but PHP4 needs a real number. I changed mine to 1000 and it now works fine.
was:
} else if($filelayout = array_flip(fgetcsv($handle, 0, $csv_deliminator, $csv_enclosure))) {
now:
} else if($filelayout = array_flip(fgetcsv($handle, 1000, $csv_deliminator, $csv_enclosure))) {
Hello,
Since you've now gotten your questions answered, perhaps you (or someone else) can assist me. oilshackbodyproducts.com/zencart is the site and if you look at the burning oils category, you'll notice I have an attribute "scent". I have far more attributes (approx 130) for fragrance oils. I created a comma delimited file in excel with the scents for fragrance oils, but don't fully know how to alter the file, upload it, then access it.
I'm attaching for any possible assistance.
Thank you!