veni Posted January 20, 2008 Share Posted January 20, 2008 I have all of my files hosted locally on my PC. The Temp directory used to be at D:\www\e-commerce\temp but I recently changed my DocumnetRoot directory and now the temp file resides at Z:\www\e-commerce\temp Everything works well except easypopulate I can no longer Import files the following error is displayed Warning: move_uploaded_file(D:/Wamp/www/e-commerce/temp/=NEW=.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in Z:\www\e-commerce\admin\easypopulate_functions.php on line 43 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'd:/Wamp/tmp\php75.tmp' to 'D:/Wamp/www/e-commerce/temp/=NEW=.txt' in Z:\www\e-commerce\admin\easypopulate_functions.php on line 43 File uploaded. Temporary filename: d:/Wamp/tmp\php75.tmp User filename: =NEW=.txt Size: 1405 Warning: file(D:/Wamp/www/e-commerce/temp/=NEW=.txt) [function.file]: failed to open stream: No such file or directory in Z:\www\e-commerce\admin\easypopulate.php on line 805 Warning: Invalid argument supplied for foreach() in Z:\www\e-commerce\admin\easypopulate.php on line 844 What lines or line must I change and in what file must I specify that the new temp dir in now at Z:\www\e-commerce\temp Quote Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2008 Share Posted January 20, 2008 Have a look in your admin. Quote Link to comment Share on other sites More sharing options...
veni Posted January 20, 2008 Author Share Posted January 20, 2008 Have a look in your admin. I tried changing the easypopulate.php $tempdir = DIR_FS_DOCUMENT_ROOT . "temp/"; TO $tempdir = DIR_FS_DOCUMENT_ROOT . "Z:/www/e-commerce/temp"; But it still does not work. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2008 Share Posted January 20, 2008 I tried changing the easypopulate.php $tempdir = DIR_FS_DOCUMENT_ROOT . "temp/"; TO $tempdir = DIR_FS_DOCUMENT_ROOT . "Z:/www/e-commerce/temp"; But it still does not work. What does that have to do with your admin? Look in admin ---> cache Quote Link to comment Share on other sites More sharing options...
veni Posted January 20, 2008 Author Share Posted January 20, 2008 What does that have to do with your admin? Look in admin ---> cache My problem is now fixed this was solution Admin---> Includes ---> configure.php CHANGED define('DIR_FS_DOCUMENT_ROOT', 'D:/Wamp/www/e-commerce/'); define('DIR_FS_ADMIN', 'D:/Wamp/www/e-commerce/admin/'); define('DIR_FS_CATALOG', 'D:/Wamp/www/e-commerce/'); TO define('DIR_FS_DOCUMENT_ROOT', 'Z:/www/e-commerce/'); define('DIR_FS_ADMIN', 'Z:/www/e-commerce/admin/'); define('DIR_FS_CATALOG', 'Z:/www/e-commerce/'); 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.