This error should only happen if you do not have the connection file properly included at the top of your page. Take a look at your other confirm page and see how the connection file is listed, you should have the same include at the top of this pp_confirm page.