by Neil .
I deleted the localhost cookies, in fact every single cookie on the computer, then I wasn't able to even visit the purgecaches.php file - browser hung for a minute, then usual error message.
this is a brand new xampp and Moodle installation, the DB installs perfectly, I am able to view 1/2 pages, edit the admin profile as required, then I'm locked out by this problem.