My guess is that one of the fields from the starting_points table that the server's trying to query is NULL. If atoi() is called on a NULL string then you'll get a crash.
Check your starting_points table and see if any fields are NULL. If they are, make em be something and try again.
|