You are here:  » PHP Import problem on new Dedi Server

Support Forum



PHP Import problem on new Dedi Server

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

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 support 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.

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

Hi David,

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

Thanks

Adrian