I have tried the commands:
cd / public_html / scripts /
php import.php electronics.xml
but it doesn't work. The verson of php is 4.4
This is the output I get.
Status: 404
X-Powered-By: PHP/4.4.4
Content-type: text/html
No input file specified.
That's strange. Perhaps PHP isn't aware what directory it is running in. Try this:
php ./import.php electronics.xml
Does imput.php need to be in the scripts directory? import.php ia in my admin directiory.
Hi,
That would explain it...
Your installation should have:
admin/feeds_import.php
scripts/import.php
This is how the files are contained in the .zip. Have they been uploaded into the wrong directory somehow?
Your scripts directory should contain:
copyextras.php
copyfilters.php
import.php
register.php
Cheers,
David.
I moved import.php into scripts but I get the same output.
Hi,
Would it be possible for me to log in to your server and have a look? If you can create a temporary password for me i'll see what the problem is, but without doing this i'm afraid I don't know what else to suggest.
If you reply to your forum registration email or reg code email that is the easiest way to contact me; and if you could include all the details I would need to login and CD to the appropriate directory...
Thanks,
David.
Hi,
I've got your email - I will be taking a look today and i'll get back to you by email...
Cheers,
David.
Hi,
Yes - I did reply sorry if you didn't receive it. I have just resent my mail. I was able to login to your server and run the command as follows:
cd public_html
cd script
php import.php electronics.xml
There is a PHP/Zend warning message displayed (something to do with your local PHP configuration) but this doesn't affect operation.
Cheers,
David.
Hi,
What output is displayed when you do try to run the command? Are you able to copy and paste the output - this should help work out what's going on...
Cheers,
David.