A basic reason behind why you are unable to share files on WhatsApp is that you have not allowed the app to access external storage, especially in the case of a memory card. For that, you are only supposed to enable access to external storage for the WhatsApp application.