SD card not working

Thanks, but no. There is already a chipSelect=10 in the program, so I added the pinMode command to the setup section before the card initialization. Still gives the error.