VladDrakul Posted November 12, 2005 Share Posted November 12, 2005 When installing Oscommerce I used a directory called shop and then created the temp file on the same zone as the admin, pub, includes, docs and so on directories. I changed the path on the temp dir on the easypopulate.php file to: $tempdir = "/shop/temp/"; $tempdir2 = "/shop/temp/"; and then after saving the database file using: Download Complete tab-delimited .txt file to edit in Easy Populate I tried to import the very same file without any change and it gave me the following errors (by using the 2 different options to import the file): I tried to insert into db and it gave me the following error: Warning: move_uploaded_file(/home/ancient/public_html/shop//shop/temp/EP2005Nov12-0202.txt): failed to open stream: No such file or directory in /home/ancient/public_html/shop/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpINrdgo' to '/home/ancient/public_html/shop//shop/temp/EP2005Nov12-0202.txt' in /home/ancient/public_html/shop/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpINrdgo User filename: EP2005Nov12-0202.txt Size: 792 Warning: file(/home/ancient/public_html/shop//shop/temp/EP2005Nov12-0202.txt): failed to open stream: No such file or directory in /home/ancient/public_html/shop/admin/easypopulate.php on line 666 Warning: Invalid argument supplied for foreach() in /home/ancient/public_html/shop/admin/easypopulate.php on line 689 UPLOADING THE FILE BY FTP AND USING THE IMPORT FROM TEMP DIR, IT GAVE ME THE FOLLOWING ERROR: Filename: EP2005Nov12-0202.txt Warning: file(/home/ancient/public_html/shop//shop/temp/EP2005Nov12-0202.txt): failed to open stream: No such file or directory in /home/ancient/public_html/shop/admin/easypopulate.php on line 684 Warning: Invalid argument supplied for foreach() in /home/ancient/public_html/shop/admin/easypopulate.php on line 689 Link to comment Share on other sites More sharing options...
VladDrakul Posted November 12, 2005 Author Share Posted November 12, 2005 SOLVED THE PROBLEM !! :D changed the path on the temp dir on the easypopulate.php file to: $tempdir = "temp/"; $tempdir2 = "temp/"; Link to comment Share on other sites More sharing options...
Icarion Posted November 22, 2005 Share Posted November 22, 2005 SOLVED THE PROBLEM !! :D changed the path on the temp dir on the easypopulate.php file to: $tempdir = "temp/"; $tempdir2 = "temp/"; (w00t) Man, you rule...I have been spending last two hours trying everything, reading everything, redoing everything...then I found your post and it was like I found water in a desert man! thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.