I was having these problems with my last phone and "SD rescan" really helped!
You might give it a try!
https://play.google.com/store/apps/details?id=com.bero.sdrescan&hl=en
EDIT: I missed the part where you mentioned that your computer is also not reading the files. It may be a bad card, you should try reformatting it and see if that helps.