error and script doesn't seem to be connected though..
[SQL]: DB error - Duplicate entry '1428' for key 'PRIMARY'
Basically what that SQL error means, there is already an entry in the table atcommandlog with atcommand_id = 1428
Perhapss, a good start would be to run this SQL query on your database, to get more information about that record:
SELECT * FROM atcommandlog WHERE atcommand_id=1428;
Other than that, I don't know, maybe review the script.
I don't have time right now, need to do my school homework...
There really is no connection of this error with the script. I'm sorry, I got confused. In fact there are no errors presented in the map-server. I'll update the main post.