your order and order history page needed code added to force the page top see the session. I added the code at line 1:
<?php @session_start(); ?>
this would not have been necessary if you you had used security assist access rules to protect access to the page.