cruiser Posted December 17, 2005 Posted December 17, 2005 Hi there I installed this great contribution but I am having some difficulty in uploading my items through the easy populate contribution. Here is the error I receive. Easy Populate 2.76-MS2 - Default Language : English(1) Warning: move_uploaded_file(..//temp/test.txt): failed to open stream: No such file or directory in D:\hshome\ctaint\citaras.com\admin\easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move 'C:\WINNT\TEMP\php224.tmp' to '..//temp/test.txt' in D:\hshome\ctaint\citaras.com\admin\easypopulate_functions.php on line 32 File uploaded. Temporary filename: C:\WINNT\TEMP\php224.tmp User filename: test.txt Size: 2612 Warning: file(..//temp/test.txt): failed to open stream: No such file or directory in D:\hshome\ctaint\citaras.com\admin\easypopulate.php on line 673 Warning: Invalid argument supplied for foreach() in D:\hshome\ctaint\citaras.com\admin\easypopulate.php on line 696 Has anyone encountered a similar problem. How can we solve this issue. Currently I can't upload any files using easy populate. Quote
Guest Posted December 17, 2005 Posted December 17, 2005 Hi there I installed this great contribution but I am having some difficulty in uploading my items through the easy populate contribution. Here is the error I receive. Easy Populate 2.76-MS2 - Default Language : English(1) Warning: move_uploaded_file(..//temp/test.txt): failed to open stream: No such file or directory in D:\hshome\ctaint\citaras.com\admin\easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move 'C:\WINNT\TEMP\php224.tmp' to '..//temp/test.txt' in D:\hshome\ctaint\citaras.com\admin\easypopulate_functions.php on line 32 File uploaded. Temporary filename: C:\WINNT\TEMP\php224.tmp User filename: test.txt Size: 2612 Warning: file(..//temp/test.txt): failed to open stream: No such file or directory in D:\hshome\ctaint\citaras.com\admin\easypopulate.php on line 673 Warning: Invalid argument supplied for foreach() in D:\hshome\ctaint\citaras.com\admin\easypopulate.php on line 696 Has anyone encountered a similar problem. How can we solve this issue. Currently I can't upload any files using easy populate. Hi, You have to frontslashes in the field. Check your easypoulate.php and temp definition. It is propably a / before temp remove that one. Should only look like this $tempdir = "temp/"; $tempdir2 = "temp/"; Magnus Quote
cruiser Posted December 17, 2005 Author Posted December 17, 2005 Hi, You have to frontslashes in the field. Check your easypoulate.php and temp definition. It is propably a / before temp remove that one. Should only look like this $tempdir = "temp/"; $tempdir2 = "temp/"; Magnus Thank you so much for the help. I did have the / problem and I fixed it as you advised. Unfortunately I still get a similar error. Here is what I get. Easy Populate 2.76-MS2 - Default Language : English(1) Warning: move_uploaded_file(../temp/test.txt): failed to open stream: No such file or directory in D:\hshome\ctaint\citaras.com\admin\easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move 'C:\WINNT\TEMP\php26D.tmp' to '../temp/test.txt' in D:\hshome\ctaint\citaras.com\admin\easypopulate_functions.php on line 32 File uploaded. Temporary filename: C:\WINNT\TEMP\php26D.tmp User filename: test.txt Size: 2612 Warning: file(../temp/test.txt): failed to open stream: No such file or directory in D:\hshome\ctaint\citaras.com\admin\easypopulate.php on line 673 Warning: Invalid argument supplied for foreach() in D:\hshome\ctaint\citaras.com\admin\easypopulate.php on line 696 How can I fix this? Thanks. Quote
cruiser Posted December 17, 2005 Author Posted December 17, 2005 Thank you so much for the help. I did have the / problem and I fixed it as you advised. Unfortunately I got a similar error. Then I concentrated on the temp file itself. On the previous versions we were creating the temp file under catalog folder. With some trial and error I found out that if I created the temp folder under the root directory then the upload completes with no problems. Again thank you very much for your help. Cihan 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.