I am moving a blog from a single WP install to a multisite and the theme I was using on the single site is causing an Internal Server Error on WP Multisite.
Here is the error from the log
PHP Parse error: syntax error, unexpected T_ENDWHILE in /wp-content/themes/TM_2010theme/index.php on line 139
Here is the index.php code
Any suggestions on why this is happening?