The error began and there was no immediate backup.
The site is on a vps and went down because of the hosting company said an unrelated server issue.
the site came back up and was working.
about three hours later i noticed all the categories had disappererd. It appeared the site had been updated to 3.1.
since i dont have immediate backup, thats where the problems began. Have been trying to get the site permalinks, etc working.
the site categories came back for a while, then have since disappeared.
with that i did a automatic reinstall of 3.1, which didnt fix problem, then a counple times trying manual install.
As mentioned, the categories appeare to be in the database, as well as when i look the indivudual posts. that said, in the dashboard it doesnt show any categores.
if i create a category, it doesnt show in the dashboard
ive tried making a few permalinks changes so people cud at leat see articles on the site if the came to it.
[Code moderated as per the Forum Rules. Please use the pastebin]
in category .php
<h1>/"><?php echo single_cat_title("", false);?></h1>
both of those brought the site back up
as it appears to be a categories problem ive tried to do a htacess rewrite to remove catogories,
RedirectMatch 301 ^/category/(.+)$ http://www.askapache.com/$1
RewriteRule ^category/(.+)$ http://www.askapache.com/$1 [R=301,L]
Neither of those worked