I’m trying to disable cache in Google Chrome yesterday when i encounter my css is not refresh after edit and hitting few times of F5 in Google Chrome. It look like Chrome is Caching the file and i need a solution to disable cache in chrome!
How to disable Cache in Google Chrome

Symfony Filter: Change ForeignKey drop down to Text field

I tried to change the foreignkey drop down to text field in the symfony filter form. But after i change the drop down field to text field, my field name changed to xxx_filter[‘foreign_id’][‘text’] instead of xxx_filter[‘foreign_id’]. And everytime i submit the form it show “SQLSTATE[HY093]: Invalid parameter number: parameter was not defined”.
After few hours of googling, i manage to find the solution for this filter form problem. To solve the problem follow the steps below:-
Continue reading Symfony Filter: Change ForeignKey drop down to Text field »
MySQL replication stop at Last Errno 1062

I just setup a MySQL replication at 2 virtual machine. However today i found the replication stop at the slave machine with last_errno 1062. With the error message:-
“Error ‘Duplicate entry ‘2562846’ for key 1′ on query. Default database: …”
My system admin told me that they restarted my machine last nite and i think that cause the mysql replication stop.
How to solve MySQL replication stop at last errno 1062:-
Continue reading MySQL replication stop at Last Errno 1062 »