daddyrabbit Posted June 30, 2004 Posted June 30, 2004 Warning: move_uploaded_file(/home/dcgtest2/public_htmltemp/EP2004Jun30-1705.txt): failed to open stream: No such file or directory in /home/dcgtest2/public_html/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpKLuDGo' to '/home/dcgtest2/public_htmltemp/EP2004Jun30-1705.txt' in /home/dcgtest2/public_html/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpKLuDGo User filename: EP2004Jun30-1705.txt Size: 2938 Warning: file(/home/dcgtest2/public_htmltemp/EP2004Jun30-1705.txt): failed to open stream: No such file or directory in /home/dcgtest2/public_html/catalog/admin/easypopulate.php on line 651 Warning: Invalid argument supplied for foreach() in /home/dcgtest2/public_html/catalog/admin/easypopulate.php on line 674 Quote Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.
Nocturnaloner Posted July 1, 2004 Posted July 1, 2004 This looks identical to the problem I just had, and the solution is to first make sure that you have a temp directory where EP thinks it is, and make sure its chmod is 777. Is your temp directory this: (/home/dcgtest2/public_htmltemp/ or this: (/home/dcgtest2/public_html/temp/ because if it's the latter, you may have a typo. Quote
Guest Posted July 1, 2004 Posted July 1, 2004 (edited) line 674 i believe there is a simple typo you may have an incorret setting because of no / between publichtml and temp Edited July 1, 2004 by Mibble Quote
daddyrabbit Posted July 1, 2004 Author Posted July 1, 2004 I appreciate your help, although I cannot find a single instance of public_htmltemp in any EP file. Are ther ay other contribs that use .CSV files to populate osCommerce? Quote Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.
Nocturnaloner Posted July 1, 2004 Posted July 1, 2004 I appreciate your help, although I cannot find a single instance of public_htmltemp in any EP file. Are ther ay other contribs that use .CSV files to populate osCommerce? Nevertheless, what does your $tempdir line look like in easypopulate.php? Are you sure you have a temp directory where that is pointing to? Are you sure that directory's permissions are set to 777? Quote
241 Posted July 1, 2004 Posted July 1, 2004 In admin easypopulate.php where you define the directory to use which will be default temp/ place a / before the temp to give /temp/ You can change the name of the directory to whatever you want as long as a directory exists of that name which is chmod 777 Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
daddyrabbit Posted July 1, 2004 Author Posted July 1, 2004 $tempdir = "/temp/"; $tempdir2 = "/temp/"; The changes in easypopluate.php I made to no avail. Quote Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.
daddyrabbit Posted July 1, 2004 Author Posted July 1, 2004 move_uploaded_file($filename['tmp_name'], $target); This is line 32 in easypopulate_functions.php Quote Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.
Guest Posted July 1, 2004 Posted July 1, 2004 also, this thread should be continued in the easypopulate thread, not an individual one, as there are many more people who subscrite to it who will answer questions. also read through the pages in that thread, the answers are there for your error. Quote
daddyrabbit Posted July 1, 2004 Author Posted July 1, 2004 Sorry... How do I get to the EasyPopulate thread? My ignorance is embarrassing! :blink: Quote Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.
241 Posted July 1, 2004 Posted July 1, 2004 does the directory temp exist on your system at the location and is it chmod 777 do you have a directory called temp in your root directory your root directory is public_html is there a directory named temp at this location Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
daddyrabbit Posted July 2, 2004 Author Posted July 2, 2004 The answer to all is yes Quote Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.
Guest Posted July 2, 2004 Posted July 2, 2004 (edited) here is the link to the easy populate thread. http://www.oscommerce.com/forums/index.php?showtopic=64945 either cut and paste the info you need answers to there or post a complete updated reply at the end of the thread which should add a whole group of others who use ep all the time. also when you post your reply there, post your configure.php files without the database info, password, username. i believe you may have an incorrect setting there, causing document root to appear differently to easypopulate, and this can throw things way off. Edited July 2, 2004 by Mibble 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.