I am not sure if that is cause of your issue, but you do not load WordPress in correct way.
Please see Integrating WordPress with Your Website in Codex for details.
I am not sure if that is cause of your issue, but you do not load WordPress in correct way.
Please see Integrating WordPress with Your Website in Codex for details.