OK so I just tested my theory and heres the deal.
If you set the auto refresh and get the error page let it ride. When the page reloads with the correct amount or more energy it will credit your character with the training level build. I set the training amount to 2 under max training at 40 minute refresh just so it wouldn't run the risk of getting the SQL error and throwing something off.
OK goodnight folks
__________________
"I'll keep my money, guns and freedom. You can keep the "Change."