d4funky1 Posted May 19, 2006 Posted May 19, 2006 Hi, I've followed the install instructions to a tee and also the read me 1st file. I've made the configuration changes where necessary and changed DOCUMENT_ROOT to $DOCUMENT_ROOT. My temp directory has the correct path in the config file also. I can download a Complete tab-delimited .txt file to edit, allthough it has added a few attributes that weren't originally in the product? When i come to upload a file into the database here's how i do it. 1, upload the .txt file to catalog/temp folder via ftp 2, select easy populate in the admin panel and use the Import from Temp Dir 3, Type the file name in the box (filename only ie: EP2006May19-2008.txt) 4, Insert into Database I am presented with the following: Filename: EP2006May19-2008.txt Warning: file(DIR_FS_DOCUMENT_ROOT/catalog/temp/EP2006May19-2008.txt) [function.file]: failed to open stream: No such file or directory in /websites/LinuxPackage03/fa/nc/yd/fancydressretail.co.uk/public_html/catalog/admin/easypopulate.php on line 685 Warning: Invalid argument supplied for foreach() in /websites/LinuxPackage03/fa/nc/yd/fancydressretail.co.uk/public_html/catalog/admin/easypopulate.php on line 690 Lines 685 to 690 in my easypopulate.php file are thus: $readed = file(DIR_FS_DOCUMENT_ROOT . $tempdir . $localfile); } // now we string the entire thing together in case there were carriage returns in the data $newreaded = ""; foreach ($readed as $read){ Any ideas? Many Thanks D4 Quote
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.