shopkeper Posted January 12, 2005 Posted January 12, 2005 I have downloaded the data file from Download Complete tab-delimited .txt file to edit and have tried to load it back up to make sure everything is working properly and it is not. Below it the errors I am recieving. It looks like it is trying to upload the file into a location that does not exsist. it is the first line, catalog//catalog that the problem starts in but I am unsure which php file to correct to fix this. Warning: move_uploaded_file(/home/pepsicol/public_html/ecommerce/os/catalog//catalog/temp/EP2005Jan12-1212.txt.xls): failed to open stream: No such file or directory in /home/pepsicol/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/var/tmp/phpjOhjzb' to '/home/pepsicol/public_html/ecommerce/os/catalog//catalog/temp/EP2005Jan12-1212.txt.xls' in /home/pepsicol/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /var/tmp/phpjOhjzb User filename: EP2005Jan12-1212.txt.xls Size: 80034 Warning: file(/home/pepsicol/public_html/ecommerce/os/catalog//catalog/temp/EP2005Jan12-1212.txt.xls): failed to open stream: No such file or directory in /home/pepsicol/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 657 Warning: Invalid argument supplied for foreach() in /home/pepsicol/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 680 Thakns for your help and look forward to using the applicatoin, Matt
Guest Posted January 13, 2005 Posted January 13, 2005 Warning: file(/home/pepsicol/public_html/ecommerce/os/catalog//catalog/temp/EP2005Jan12-1212.txt.xls): failed to open stream: No such file or directory in /home/pepsicol/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 657 hi - I think you need to go to admin/easypopulate.php and look for the following at the beginning of the file: // **** Temp directory **** // if you changed your directory structure from stock and do not have /catalog/temp/, then you'll need to change this accordingly. // $tempdir = "/catalog/temp/"; $tempdir2 = "/catalog/temp/"; change the $tempdir to match your database - at the moment the application is looking for ..catalog//catalog/temp.... which does not exist and so you need to alter this. Hope this helps.
Guest Posted January 13, 2005 Posted January 13, 2005 this is the official support thread for help with easypopulate: http://www.oscommerce.com/forums/index.php?showtopic=64945 your problem is dealing with your doccument root setting in your admin/includes/configure.php file fix that and you should be ok. if you have any other questions post in the support thread
jpool Posted January 13, 2005 Posted January 13, 2005 there is two problems here 1) aparently you dont have the target address specified correctly (such as temp, as default oscommerce only creates tmp. 2) the file should be save (in excel) as Tab delimited , meaning that the extension of the file is txt not xls as i can see in yr file hope it helps j.
marcoren Posted January 14, 2005 Posted January 14, 2005 The documentation that comes with easypopulate doesn't explain all the fields. Is there a list of required fields somewhere? TIA
Guest Posted January 14, 2005 Posted January 14, 2005 http://www.oscommerce.com/forums/index.php?showtopic=64945
Recommended Posts
Archived
This topic is now archived and is closed to further replies.