Hello,
Thank you for your question regarding issues modifying a PrestaShop template. If you are unable to edit from the Dashboard, I recommend enabling error reporting as it should provide more specific information.
If you are having trouble editing a file directly, check the permissions to ensure you have privileges to edit the file.
Thank you,
John-Paul