Finally fixed my problem. It was a permission problems in templates.