Thanks, I actually had debug on, which is how I copied the errors posted in the original post. The problems are fixed, if you want to mark this resolved. It was 100% my own error.
I do have a couple of general questions.
1) I noticed from checking install.php against upgrade.php that in the 4.01 upgrade we added this:
Content visible to verified customers only.
but in install.php for version 4.21 it is absent. I deleted it from our installation in order to have our tables match the tables of a fresh install. Should I have left it in the tables or deleted it?
Also, I noticed in the phrases table there are 2 phrases for varname 'addbuddy', phraseid 324 and 989. Is this a problem?
I may have another question I may post separately later, and will be sure to post the support template if it is not a general question.