set the chmod on your files to 777 while installing then reset them back to what they were. feof() just means it's looking the "end of file". It's probably not allowed to open a file so you get an error.
Ive reset every folder and files, double checking that they were all on 777.
Then went over and changed these files according to the install guidelines
site chmod 777 /www/xcart/ site chmod 666 /www/xcart/config.php site chmod 755 /www/xcart/admin/spam.sh site chmod 755 /www/xcart/payment/ccash.pl site chmod 755 /www/xcart/payment/netssleay.pl site chmod 755 /www/xcart/payment/verisign.pl site chmod 755 /www/xcart/payment/wtsbank.pl
but I still get the same error message, I think my webhost is on holiday, so I guess im stuck