Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Importing with EasyPopulate


shopkeper

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

The documentation that comes with easypopulate doesn't explain all the fields. Is there a list of required fields somewhere?

 

TIA

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...