That means that the page you are viewing doesn't have a require_once() for the connection. That is why the variable is not defined. Add the connection include on top of the page where the menu is located and it should correct the problem.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.