Hello, I am working on a site using database, on the Preview works great and on the publish site doesn't work, I change the permission

Thank you, it works. !!!.
I was trying to use the dropdown input to select a date, and doesn’t work, in my database in the Field Type I was using as a “Date and Time”, and didn’t work until I change it to text and work. I tried using the Datepicker and connected to the database I changed the Field type to “Date and Time”, and it doesn’t work, what could be missing? tks