I've got a rather odd bug on my hands that I've never seen before, and have no idea how even to begin troubleshooting.
I'm working on a web game (see my homepage) in which users create characters that fight in an imaginary realm against computer opponents and other characters. Right now I'm having some trouble with the fighting the computer part. Selecting a character and a battlefield, and clicking a button is supposed to initiate a battle. This works just fine right up until the character gains a level. After this, hitting the button causes the browser to just sit there. The bar moves across the browser window indicating something should be loading, yet nothing happens. Normally, I'd just check the code to find out where my infinite loop is -- and I have. Nothing. Level data is only used in experience calculations, nothing that would bring php to a grinding halt. What's wierder is that after such an occurence, nothing on the site will load! Not until I close the browser window and reopen, after which everything works just fine.
I don't want to post the relevant code here, since the battle section alone is a few hundred lines. I'm just hoping someone here has seen this before??