DavidRad Posted June 29, 2007 Share Posted June 29, 2007 After searching forums all I found were not related to my problem: Why, if easypopulate.php is entact would I start recieving the errors below when trying to import a tab delimited file? Notes: SWhen I try to export the tab dilimted file, there are NO tab spaces between fields. Also, if I configure easy populate to use ";" OR "," as a delimter it seems to work OK. This was working fine before. I ried to retrace anything that I might have done to muck this up though to no avail. PHP Warning: explode() [<a href='function.explode'>function.explode</a>]: Empty delimiter. in /usr/home/mysite/admin/easypopulate.php on line 1293 PHP Warning: array_walk() [<a href='function.array-walk'>function.array-walk</a>]: The argument should be an array in /usr/home/mysite/admin/easypopulate.php on lie 2265 Here's the code: ######### on line 1293: ########### // blow it into an array, splitting on the tabs $items = explode($separator, $item1); ######## on line 2265: ########## } else { // this record was missing the product_model array_walk($items, 'print_el'); echo "<p class=smallText>" . NO_NEW_PRODUCT_EP . "<br />"; echo "<br />"; Thanks for your help! Quote Link to comment Share on other sites More sharing options...
DavidRad Posted June 29, 2007 Author Share Posted June 29, 2007 BTW, there is aslo another error that gets printed to the page when importing: "No products_model field in record. This line was not imported." Although there is a products_model field. Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.