After upgrading to 1.6 (build 20070622), the {homepage} variable is not working correctly. It outputs the url of the homepage, followed by /S=dc764f5b1aa19ac8d83da5065396fdedfa7e31af/, which breaks all the links.
I have tried deleting and re-adding the hompepage url in General Configuration, and repairing and optimizing the database tables. I had Mark Hout’s Pages module loaded on the site before the upgrade, but disabled the module, extension, and plugin and removed the files before I upgraded. Any ideas on how to fix this?