coreyoda Posted December 4, 2003 Share Posted December 4, 2003 Can't get Easy Populate to work. When I try to "Upload EP File" (the first option on the page), I get the following errors: ---- Can anyone help??? Warning: move_uploaded_file(/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt): failed to open stream: No such file or directory in /home/www/symposiumbooks/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpaWpMHm' to '/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt' in/home/www/symposiumbooks/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpaWpMHm User filename: EP2003Nov12-1111.txt Size: 140587 Warning: file(): Unable to access /www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt in/home/www/symposiumbooks/catalog/admin/easypopulate.php on line 730 Warning: file(/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt): failed to open stream: No such file or directory in /home/www/symposiumbooks/catalog/admin/easypopulate.php on line 730 Warning: Invalid argument supplied for foreach() in /home/www/symposiumbooks/catalog/admin/easypopulate.php on line 748 Quote Link to comment Share on other sites More sharing options...
steve*** Posted December 4, 2003 Share Posted December 4, 2003 the problem here is with the configuration of the contrib. If you read the docs fully there is a section that mentions catalog/temp and /temp you'll see Warning: move_uploaded_file(/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt): failed to open stream: No such file or directory in /home/www/symposiumbooks/catalog/admin/easypopulate_functions.php on line 32 this bit in red is because the admin setup isn't quite right. Read the docs again and change it. it'll get rid of the problem Quote Link to comment Share on other sites More sharing options...
coreyoda Posted December 4, 2003 Author Share Posted December 4, 2003 When you say the admin setup isn't right, do you mean the easypopulate.php file in my admin folder? Quote Link to comment Share on other sites More sharing options...
steve*** Posted December 4, 2003 Share Posted December 4, 2003 sorry just to clarify. it's the $tempdir variable you'll need to edit go into easypopulate.php and search for $tempdir you'll need to remove one of the /catalog 's Here's an extract from mine $tempdir = "/temp/"; $tempdir2 = "/store/temp/"; I think your $tempdir will say /catalog/temp/ Quote Link to comment Share on other sites More sharing options...
coreyoda Posted December 4, 2003 Author Share Posted December 4, 2003 IT WORKED!!! Thanks so much. I feel kinda dumb now but oh well, at least it's working. Thanks again. Quote Link to comment Share on other sites More sharing options...
steve*** Posted December 4, 2003 Share Posted December 4, 2003 It's not too clear from the documentation it took the same error message to make me look at the code again. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2004 Share Posted January 8, 2004 me need help !! In the easy polupate page say = http://shop.maysite.net//admin/easypopulate.php the links or link Create Complete tab-delimited .txt file in temp dir points to file:///D|/Download/Oscommerce/EP_v2_73_MS2/catalog/admin/easypopulate.php?download=tempfile&dltype=full Its pointing to my D drive. Oh and this catalog folder issue, i didn't have it and then i created one. but my store is named shop -- $tempdir = "/catalog/temp/"; $tempdir2 = "/shop/temp/"; --- which one is correct. Help please !!! Quote Link to comment Share on other sites More sharing options...
VJ Posted January 8, 2004 Share Posted January 8, 2004 In the easy polupate page say = <http://shop.maysite.net//admin/easypopulate.php> the links or link Create Complete tab-delimited .txt file in temp dir points to file:///D|/Download/Oscommerce/EP_v2_73_MS2/catalog/admin/easypopulate.php?download=tempfile&dltype=full Its pointing to my D drive. Strange! Did you open/modify this file in a WYSIWYG editor like Dreamweaver? If so, I suspect that might've messed up your paths. You can try replacing it with a fresh new easypopulate.php (don't forget to backup your existing file!). Oh and this catalog folder issue, i didn't have it and then i created one. but my store is named shop -- $tempdir = "/catalog/temp/"; $tempdir2 = "/shop/temp/"; --- which one is correct. If you have your store at, say, http://shop.yourdomain.com or http://www.yourdomain.com/shop, you'll most likely have to change the temp directory paths to something like, -- $tempdir = "/shop/temp/"; /* This is what really matters */ $tempdir2 = "/catalog/temp/"; /* This is a redundant variable, as far as I can see. Maybe you can use it to backup the original path. */ --- HTH, VJ Quote Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2004 Share Posted January 9, 2004 Thank you will give it a try. fresh start.. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2004 Share Posted January 9, 2004 got it installed correctly !!!! now trying to populate a DB i have a text file goes like this ---------------------- NAME TITLE DESCRIPTION PRICE URL IMAGE BRAND ITEM GENDER RETAIL TENDRE POISON;SHOWER GEL 6.8 OZ "Launched by the design house of in , is classified as a fragrance. This feminine scent posesses a blend of: It is recommended for wear." 19.20 http://www.mysite.com/rc.cgi?W.&src=DSHIP http://www.mysite.com/images/photos/no_prod_available.gif 125113 W 40.00 --------------------- how would i make it a tab-delimited.txt file i think tabs are there. sorry its turning into database question now. any pointers would be helpful. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2004 Share Posted January 9, 2004 got past this, uploaded the file and it uploades to a temp directory. now how do i get it to show up in my store? I am reading the manual also... 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.