View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Connection(s) to Existing Database

Thread began 8/19/2009 3:45 pm by robert222776 | Last modified 8/24/2009 3:09 pm by robert222776 | 1346 views | 3 replies

Eric Mittman

There is going to be a problem with trying to have a single connection file for all of the pages in your setup. The problem is that the pages that were created with the existing connection will reference that connections name in the code for the recordsets and other db manipulation. The connection for PowerCMS is called localhost, so if your existing connection does not have the same name it will not work to have a single connection for the pages without updating your existing pages to work with the new connection file.

So you can either leave your connection file in place and have the PowerCMS connection file in its folder or you can update the require once line for your connection file and the connection name on your existing pages to use the new PowerCMS connection.

To update your existing pages you would update the require once to go into the CMS100 folder and then into Connections/localhost.php. You would also need to update the code on the page, you will need to look for the connection variable and update it to be the new $localhost value.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...