Existence of infinitely many weak solutions for some singular elliptic problems