Support forum login

©2006-2008 IAAI Software

Contact Us

PHP Import problem on new Dedi Server

Submitted by paddyman on Thu, 2008-05-08 15:50.

Hi David,

Just after transferring some sites to a new dedicated server and trying to import some large feeds using ssh.

Trying the command php import.php merchant.csv

Get

Could not open input file: import.php

Any ideas on how to fix this?

Thanks

Adrian

Submitted by dmorison on Thu, 2008-05-08 18:32.

Hi Adrian,

Did you confirm that you were in the /scripts/ directory before running the command?

The normal SSH procedure would be (where $ is your command prompt):

$cd path/to/pricetapestry/scripts
$php import.php merchant.csv

If it seems correct; try the "ls" command (equivalent to dir on Windows) to confirm that the files have been uploaded correctly...

Cheers,
David.

--
Developer, Price Tapestry
For unrelated PHP, MySQL or Affiliate Marketing tech help please post your questions on my personal forum

Submitted by paddyman on Thu, 2008-05-08 19:04.

Hi David,

Wasn't in the scripts directory, sorry for the post.

Thanks

Adrian