Some pages on my site do around 100 queries. Most of this queries are equal and return the same result. Many of them are simple things like getting the username or groups permissions.
I have made a test hack in mysqldatabase.php to cache all sql results and only make queries that are unique.
This have reduced queries from 100 to 65.
I know that this can have negative impacts as results can become incacurate, for example
querie users online -> 10 update user online -> now become 11 querie users online -> 10(because it returns the result of the first querie)
This example is not important. I was wondering if you can find me a example where this hack could become inconvenient. If you cannot find one, then we should think in adding this as an core option.
Your theme was pointing to a no exisiting image: http://www.planesnsuch.com/themes/default/images/logo.gif But this could be one of the themes you have removed and be stored in your database.
I think system should have regenerated templates_c folder with no need to change the check templates for modifications. It always does so that really is bugging me and lead me to mistake. Sorry.
Have you clean templates_c folder? Have you check folders write permissions?
if the above does not solve it then: If you have removed the theme from the directory then you may have to add it again or go to database and get it pointed to the default theme.