Remove the debug code I added and get back to the original version of the page before you changed anything. It appears the problem on the server has been corrected, so any other changes you might have made in the meantime will only cause problems now.
Just start over with the original version of the page. There was never anything wrong with the pages themselves or the code on them.