This didn't seem to fix the problem. That code you identified as the problem was generated by We assist. I will investigate it further. As the problem is not fixed where can I find log files to help me identify the issue. IIS logs don't tell me anything. PHP or MySQL logs? I m having similar problems with Insert but I am assuming it is the same issue.