thank you so much for this, arjunsuresh. It helps me alot. There is one bugging me, the layout of the theme cannot be edited. (the show logo/image, custom html at the sidebar, side pannel, at the head, custom content, meta cannot be edited when save). It only shows white screen with text.
Access to this resource on the server is denied!