Two men have pleaded guilty to lighting an illegal campfire that left Fraser Island ablaze for months last year.