No order of continuance takes effect until the plaintiff or, if the continuance has been granted upon the motion of the defendant, the defendant has made or secured the payment of all costs of the action, due for the term in which the continuance is granted.