I have been trying to make a SQLite - MySQL database sync code to work. The code is adapted from a tutorial I got here - How to sync SQLite on Android to MySQL DB. Well, so far so good but when it came to the data synchronisation, I get an error 500 response; both on my server and the android toast response. I have tried posting data from the web and the result is a success (the data is saved on the MySQL database). Why would it give an error 500. Below is the error displayed by logcat and attached is a screenshot of my web server console.
08-25 23:21:57.036 1348-8771/? V/ActivityManager﹕ com.skibzy.skibzydesigns/.MessageActivity: task=TaskRecord{42ef8a28 #43 A com.skibzy.skibzydesigns U 0}
08-25 23:21:57.182 1348-1389/? W/InputDispatcher﹕ channel '431744a8 com.skibzy.skibzydesigns/com.skibzy.skibzydesigns.MessageActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
08-25 23:21:57.183 1348-1389/? E/InputDispatcher﹕ channel '431744a8 com.skibzy.skibzydesigns/com.skibzy.skibzydesigns.MessageActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
08-25 23:21:57.183 1348-1389/? W/InputDispatcher﹕ channel '4343b398 com.skibzy.skibzydesigns/com.skibzy.skibzydesigns.MessageActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
08-25 23:21:57.184 1348-1389/? E/InputDispatcher﹕ channel '4343b398 com.skibzy.skibzydesigns/com.skibzy.skibzydesigns.MessageActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
08-25 23:21:57.195 1348-1363/? I/WindowState﹕ WIN DEATH: Window{4343b398 u0 com.skibzy.skibzydesigns/com.skibzy.skibzydesigns.MessageActivity}