Add this on the top::
<?php
global $QuoteConnectionNew_i;
?>
This is a variable scoping issue. The require_once isn't adding it again since the main page already has the connection, but it isn't available either.
Using a global declaration makes the connection available for use on this page.