Guest Posted January 17, 2006 Posted January 17, 2006 I've reviewed several post that are simular to my problem but I still can't get it to work. I download the files with no problems. When attempting to upload back to the catalog I get the following: Easy Populate 2.76-MS2 - Default Language : English(1) Warning: move_uploaded_file(/home/icompres/public_html/ecommerce/os/catalog//catalog/temp/EP2006Jan17-1111.txt): failed to open stream: No such file or directory in /home/icompres/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/var/tmp/phpDhXpev' to '/home/icompres/public_html/ecommerce/os/catalog//catalog/temp/EP2006Jan17-1111.txt' in /home/icompres/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /var/tmp/phpDhXpev User filename: EP2006Jan17-1111.txt Size: 280 Warning: file(/home/icompres/public_html/ecommerce/os/catalog//catalog/temp/EP2006Jan17-1111.txt): failed to open stream: No such file or directory in /home/icompres/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 666 Warning: Invalid argument supplied for foreach() in /home/icompres/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 689 I have tried adding a "temp" directory in several other locations as this was recommended on other post that has not worked either. I currently have a "Temp" directory set to 777 under os/catalog/temp and have also added additional directories at the following location just to make sure I had it in the correct place-os/catalog/catalog/temp I'm very new at this and would appreciate any assistance, Thanks Quote
rhfield Posted January 18, 2006 Posted January 18, 2006 Warning: file(/home/icompres/public_html/ecommerce/os/catalog//catalog/temp/EP2006Jan17-1111.txt): failed to open stream: No such file or directory in /home/icompres/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 666 In the path there are 2 catalog directories and the dreaded //. Make sure that you have a directory called catalog/temp, and that it's permissions are set to allow writes to that directory (while you're in the catalog directory, execute "chmod 777 temp"). If you have changed the directory structure of your OSC install (i.e. you don't have /catalog/temp/ in your document root anymore), then you'll need to go into easypopulate.php and change the setting of "$tempdir". $tempdir might need to be changed to match the install...maybe just /temp. Hope this helps, Rob Quote
Guest Posted January 18, 2006 Posted January 18, 2006 In the path there are 2 catalog directories and the dreaded //. Make sure that you have a directory called catalog/temp, and that it's permissions are set to allow writes to that directory (while you're in the catalog directory, execute "chmod 777 temp"). If you have changed the directory structure of your OSC install (i.e. you don't have /catalog/temp/ in your document root anymore), then you'll need to go into easypopulate.php and change the setting of "$tempdir". $tempdir might need to be changed to match the install...maybe just /temp. Hope this helps, Rob Rob: Thanks for the help. Either you're a genius or I'm an idiot. Probably both. I wanted to comment on your suggestions to maybe help someone else who has these issues. Is the "os" considered the root? Again, thanks for your assistance. Gene I went in and deleted the extra catalog and temp directories and tried again. Still no luck. I went to the easypopulate.php and changed the $tempdir to your suggestion of just "/temp" and then added a temp directory under the "os" directory and set the permissions to 777. For whatever reason this did resolve the problem. As far as I know the original install has not been changed and there was a /catalog/temp directory but it still did not work as it should. Anyway, it works fine now. One additional question, as I stated I am VERY new to this and I have seen several references to the root directory. What is considered the root directory? 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.