Sounds like an overzealous parking attendant needed to write some tickets. Go back to the spot, take pictures to show there are no signs or curbs with markings. Then set the case for trial and see if the wannabe cop shows up. If not, you win. By the way, you might to check the Vehicle Code to make sure there are no laws that would prohibit parking there, such as no parking in a loading zone or yellow zone. Not saying that was your case, but check to see if there are any things in the area that might trigger some obscure vehicle code section.
The information and legal suggestions made herein do not in any way create an attorney-client relationship. The responses provided herein discuss general principles of law and should not be relied upon by the asker in making legal decisions. Only an attorney who has met with the asker and fully reviewed the facts and circumstances of the asker's individual case should be relied upon for legal advice. If you find my suggestions helpful, please mark the appropriate box as helpful.