i am currently building subscription form with symfony 3 and all works like it should in development environment. Once i deploy it to production, all works fine at the beginning - data is pushed to database just like it should for the first subscriber. However when i close the website, open it again, complete the form and try to submit it - data is not pushed to DB. I do not get any particular error at that time, it looks like it is trying to push it to database but then something crashes on the background and i get completed for at the end.
That seem to be deployment issue to me but i cannot seem to figure out which one. I was deploying my app with deployer.org
When deploying i was getting this error "Unable to setup correct permissions for writable dirs. You need to configure sudo's sudoers files to not prompt for password, or setup correct permissions manually." I did not give it any special attention as my website did deploy and 1 user of the website did push to DB just fine.
I am using MySql as database
Any assistance is much appriciated.