When by this chapter or any other ordinance or order of the public works department any parking time limit is imposed or parking is prohibited on designated streets, it shall be the duty of the public works department to erect appropriate signs giving notice thereof, and no regulations shall be effective unless these signs are erected and in place at the time of any alleged offense. At least one sign shall be erected in each block on each side of the street where parking is either prohibited or restricted.