Well turns out that query was used to setup session variables and my net admin installed a version of php that is buggy with sessions (4.2.1) and that caused it to bomb.
Nice huh?
On the development site we had version 4.2.3 .... I don't know why he decided to go backwards.
oh well its works now! I don't really think ^m has anything to do with it.
thanks though!