corrected refferers_id-field from int(5) to varchar(32), see TABLE orders. See also http://www.modified-shop.org/forum/topic.php?id=1453#post-23547