Well, I got around the divide by zero by completely redoing the config and setup.
However, I ran into errors with various functions that I had to rem out before the script would sort of work. canviewcomments functions on all scripts didn't work, so had to rem them out. one of the converttonewuid or however it was worded had to be remmed out as well to even attempt upgrading my albums. The two albums it refused to upgrade I ended up simply deleting, as the reason for not upgrading them was due to the image calls pointing to nonexistant images.
I can now view some of the original albums, but not most of them, and only one subalbum in each main album has the required album title and drop down list for editing by the owner or administrator.
On top of that, the administrative password area of the setup screens doesn't ask for an administrative username, just a password, but if I try to re-enter setup, it asks for the username and password for the administrator and won't accept anything I type into it.
This is a major botched upgrade. My next experiment is to see if I can wipe out the old albums, reinstall the gallery, then try to import them. Worst case scenario is that I'll have to recreate every single individual album. That's alot of work, as one main album has 10 sub albums, two main albums have three sub albums, and at least 2 sub albums have 4 or more deeper subs yet. I don't want to redo all that if I don't have to.