...at least the mix was from a recipe....and that the recipe probably called for a different style pan..
You need the right pan.
All the other advice here is good...
...but the pan is critical...pyrex doesn't transfer heat as well as the (in general) aluminum baking pans.